To avoid collisions of the tools with the workpiece and to minimize the time a workpiece blocks the machine, the export provides some built-in mechanisms. The routings are sorted in the following manner:

  • Vertical drillings.
  • Sizing.
  • Horizontal drillings.

The movement of the machine head is optimized in the following manner:

  • Sort by surface.
  • Sort by tool.
  • Within each surface and tool, use the routing with the smallest x and y coordinates as a starting point.
  • From there, search the routing with the smallest distance.