[tool change] Respect tool ordering when generating drill job with 'all' tools

Issue #151 closed
Yiannis Mandravellos created an issue

The issue described here is valid when using tool change, where different drill sizes are present in the same file with embedded tool changes.

I usually order my drills by size (ascending). After ordering, if I select some drills sizes (but not all) and press "Generate", everything works as expected: a "combined" drill file is generated with embedded tool changes and drill sizes are ordered as viewed in the drills list. If I select all drills though, the sorting is not respected so the generated file may ask for tool A, then B, then A again, etc.

Since I am the tool changer (no automatic tool changer), it's frustrating having to change drill bits that were already used before in the same job...

Comments (2)

  1. Juan Pablo Caram repo owner

    I'm confused trying to understand the problem. I don't see a difference in the code for when you select some or when you select all tools. There also isn't a difference that would affect ordering when tool change is selected.

    I wasn't able to replicate the problem either. Could you please post the offending Excellon file, and the G-code files for when you select some and when you select all tools. Also indicate which tools you chose.

    Also please indicate in which lines in the a tool repeats (tool A in your description.)

  2. Log in to comment