add fix in one more spot

This commit is contained in:
sliptonic
2021-01-01 15:59:16 -06:00
parent a611eb0bd2
commit b87f3f4a55

View File

@@ -240,6 +240,7 @@ def GenerateGCode(op,obj,adaptiveResults, helixDiameter):
else: # no helix entry
# rapid move to clearance height
op.commandlist.append(Path.Command("G0", {"Z": obj.ClearanceHeight.Value}))
op.commandlist.append(Path.Command("G0", {"X": region["StartPoint"][0], "Y": region["StartPoint"][1], "Z": obj.ClearanceHeight.Value}))
# straight plunge to target depth
op.commandlist.append(Path.Command("G1", {"X":region["StartPoint"][0], "Y": region["StartPoint"][1], "Z": passEndDepth,"F": op.vertFeed}))