From 0c5d5566ab82989858121ffa5ca99bd82bce30f2 Mon Sep 17 00:00:00 2001 From: ml Date: Tue, 15 Nov 2016 22:19:57 -0800 Subject: [PATCH] Fix for 2773 and two other minor fixes. --- src/Mod/Path/PathScripts/PathArray.py | 2 +- src/Mod/Path/PathScripts/PathJob.py | 1 + src/Mod/Path/PathScripts/PathMillFace.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathArray.py b/src/Mod/Path/PathScripts/PathArray.py index 05913d8dd..fba11db43 100644 --- a/src/Mod/Path/PathScripts/PathArray.py +++ b/src/Mod/Path/PathScripts/PathArray.py @@ -65,7 +65,7 @@ class ObjectArray: # build copies basepath = obj.Base.Path - output = basepath.toGCode() + output = "" pl = FreeCAD.Placement() if obj.Offset != FreeCAD.Vector(): for i in range(obj.Copies): diff --git a/src/Mod/Path/PathScripts/PathJob.py b/src/Mod/Path/PathScripts/PathJob.py index f45f41784..5f788e82a 100644 --- a/src/Mod/Path/PathScripts/PathJob.py +++ b/src/Mod/Path/PathScripts/PathJob.py @@ -321,6 +321,7 @@ class TaskPanel: self.obj.Proxy.onChanged(self.obj, "PostProcessor") self.updateTooltips() + self.form.PathsList.clear() for child in self.obj.Group: self.form.PathsList.addItem(child.Name) diff --git a/src/Mod/Path/PathScripts/PathMillFace.py b/src/Mod/Path/PathScripts/PathMillFace.py index b799cf5f4..4ec82e289 100644 --- a/src/Mod/Path/PathScripts/PathMillFace.py +++ b/src/Mod/Path/PathScripts/PathMillFace.py @@ -178,7 +178,7 @@ class ObjectFace: obj.FinishDepth.Value, obj.FinalDepth.Value) - extraoffset = 1 - obj.PassExtension.Value + extraoffset = - obj.PassExtension.Value stepover = (self.radius * 2) * (float(obj.StepOver)/100) use_zig_zag = obj.UseZigZag zig_angle = obj.ZigZagAngle