diff --git a/src/Mod/Path/PathScripts/post/linuxcnc_post.py b/src/Mod/Path/PathScripts/post/linuxcnc_post.py index 8673c50d1d..372bd40974 100644 --- a/src/Mod/Path/PathScripts/post/linuxcnc_post.py +++ b/src/Mod/Path/PathScripts/post/linuxcnc_post.py @@ -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