Path: Adaptive - fix for returning to clearence height

This commit is contained in:
kreso-t
2018-08-30 19:09:22 +02:00
committed by wmayer
parent 32983d4862
commit a2e725821d

View File

@@ -210,7 +210,8 @@ def GenerateGCode(op,obj,adaptiveResults, helixDiameter):
op.commandlist.append(Path.Command("G0", { "X": x, "Y":y, "Z":passStartDepth+stepUp}))
lx=x
ly=y
#return to safe height in this Z pass
op.commandlist.append(Path.Command("G0", { "X": lx, "Y":ly, "Z":obj.ClearanceHeight.Value}))
passStartDepth=passEndDepth
#return to safe height in this Z pass
op.commandlist.append(Path.Command("G0", { "X": lx, "Y":ly, "Z":obj.ClearanceHeight.Value}))