Skip to content

Commit

Permalink
fix bug with path gouging at start of movement
Browse files Browse the repository at this point in the history
  • Loading branch information
sliptonic committed Jan 1, 2021
1 parent 01072f3 commit 0db316a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Path/PathScripts/PathAdaptive.py
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0db316a

Please sign in to comment.