From a611eb0bd213085ec16000f15cee957a03071e35 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Thu, 31 Dec 2020 13:57:51 -0600 Subject: [PATCH] fix bug with path gouging at start of movement --- src/Mod/Path/PathScripts/PathAdaptive.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Path/PathScripts/PathAdaptive.py b/src/Mod/Path/PathScripts/PathAdaptive.py index ff44082ca9..2d8ca3a4c0 100644 --- a/src/Mod/Path/PathScripts/PathAdaptive.py +++ b/src/Mod/Path/PathScripts/PathAdaptive.py @@ -174,6 +174,7 @@ def GenerateGCode(op,obj,adaptiveResults, helixDiameter): if obj.UseHelixArcs == False: # rapid move to start point + op.commandlist.append(Path.Command("G0", {"Z": obj.ClearanceHeight.Value})) op.commandlist.append(Path.Command("G0", {"X": helixStart[0], "Y": helixStart[1], "Z": obj.ClearanceHeight.Value})) # rapid move to safe height @@ -205,6 +206,7 @@ def GenerateGCode(op,obj,adaptiveResults, helixDiameter): helixStart = [region["HelixCenterPoint"][0] + r, region["HelixCenterPoint"][1]] # rapid move to start point + op.commandlist.append(Path.Command("G0", {"Z": obj.ClearanceHeight.Value})) op.commandlist.append(Path.Command("G0", {"X": helixStart[0], "Y": helixStart[1], "Z": obj.ClearanceHeight.Value})) # rapid move to safe height