Added multi base model support to ProfileEdges op.
This commit is contained in:
@@ -96,8 +96,9 @@ class ObjectProfile(PathProfileBase.ObjectProfile):
|
||||
zShift = b[0].Shape.BoundBox.ZMin - f.BoundBox.ZMin
|
||||
newPlace = FreeCAD.Placement(FreeCAD.Vector(0, 0, zShift), f.Placement.Rotation)
|
||||
f.Placement = newPlace
|
||||
env = PathUtils.getEnvelope(self.baseobject.Shape, subshape=f, depthparams=self.depthparams)
|
||||
shapes.append((env, False))
|
||||
for model in self.model:
|
||||
env = PathUtils.getEnvelope(model.Shape, subshape=f, depthparams=self.depthparams)
|
||||
shapes.append((env, False))
|
||||
return shapes
|
||||
|
||||
def SetupProperties():
|
||||
|
||||
Reference in New Issue
Block a user