diff --git a/src/Mod/CAM/Path/Post/scripts/fanuc_post.py b/src/Mod/CAM/Path/Post/scripts/fanuc_post.py index ad10f3bf86..c32950c417 100644 --- a/src/Mod/CAM/Path/Post/scripts/fanuc_post.py +++ b/src/Mod/CAM/Path/Post/scripts/fanuc_post.py @@ -616,7 +616,7 @@ def parse(pathobj): # Check for Tool Change: if command == "M6": # stop the spindle - out += linenumber() + "M5\n" + out += linenumber() + "M05\n" for line in TOOL_CHANGE.splitlines(True): out += linenumber() + line