From 0fe43a9321e1f0be9ece9a72338e1321d3f66b2f Mon Sep 17 00:00:00 2001 From: kreso-t Date: Thu, 30 Aug 2018 19:09:22 +0200 Subject: [PATCH] Path: Adaptive - fix for returning to clearence height --- src/Mod/Path/PathScripts/PathAdaptive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathAdaptive.py b/src/Mod/Path/PathScripts/PathAdaptive.py index 5c148e0d8c..99220dcdb9 100644 --- a/src/Mod/Path/PathScripts/PathAdaptive.py +++ b/src/Mod/Path/PathScripts/PathAdaptive.py @@ -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}))