Merge pull request #337 from mlampert/tracker-2773

Path: tracker #2773
This commit is contained in:
wwmayer 2016-11-16 10:34:16 +01:00 committed by GitHub
commit cb16eda216
3 changed files with 3 additions and 2 deletions

View File

@ -65,7 +65,7 @@ class ObjectArray:
# build copies # build copies
basepath = obj.Base.Path basepath = obj.Base.Path
output = basepath.toGCode() output = ""
pl = FreeCAD.Placement() pl = FreeCAD.Placement()
if obj.Offset != FreeCAD.Vector(): if obj.Offset != FreeCAD.Vector():
for i in range(obj.Copies): for i in range(obj.Copies):

View File

@ -321,6 +321,7 @@ class TaskPanel:
self.obj.Proxy.onChanged(self.obj, "PostProcessor") self.obj.Proxy.onChanged(self.obj, "PostProcessor")
self.updateTooltips() self.updateTooltips()
self.form.PathsList.clear()
for child in self.obj.Group: for child in self.obj.Group:
self.form.PathsList.addItem(child.Name) self.form.PathsList.addItem(child.Name)

View File

@ -178,7 +178,7 @@ class ObjectFace:
obj.FinishDepth.Value, obj.FinishDepth.Value,
obj.FinalDepth.Value) obj.FinalDepth.Value)
extraoffset = 1 - obj.PassExtension.Value extraoffset = - obj.PassExtension.Value
stepover = (self.radius * 2) * (float(obj.StepOver)/100) stepover = (self.radius * 2) * (float(obj.StepOver)/100)
use_zig_zag = obj.UseZigZag use_zig_zag = obj.UseZigZag
zig_angle = obj.ZigZagAngle zig_angle = obj.ZigZagAngle