Stop the spindle before tool changes.

This commit is contained in:
Daniel Wood
2020-03-02 13:34:08 +00:00
committed by Bernd Hahnebach
parent 1d90dd524b
commit b53df3be57

View File

@@ -366,8 +366,8 @@ def parse(pathobj):
# Check for Tool Change:
if command == 'M6':
# if OUTPUT_COMMENTS:
# out += linenumber() + "(begin toolchange)\n"
# stop the spindle
out += linenumber() + "M5\n"
for line in TOOL_CHANGE.splitlines(True):
out += linenumber() + line