assembly: explicit copy shape in AsmElement
This commit is contained in:
parent
4eb9910b02
commit
3e06e1212f
|
@ -307,7 +307,7 @@ class AsmElement(AsmBase):
|
||||||
info = getElementInfo(self.getAssembly().getPartGroup(),
|
info = getElementInfo(self.getAssembly().getPartGroup(),
|
||||||
self.getElementSubname())
|
self.getElementSubname())
|
||||||
shape = info.Shape
|
shape = info.Shape
|
||||||
shape.transformShape(info.Placement.toMatrix())
|
shape.transformShape(info.Placement.toMatrix(),True)
|
||||||
# make a compound to keep the shape's transformation
|
# make a compound to keep the shape's transformation
|
||||||
shape = Part.makeCompound(shape)
|
shape = Part.makeCompound(shape)
|
||||||
shape.ElementMap = info.Shape.ElementMap
|
shape.ElementMap = info.Shape.ElementMap
|
||||||
|
|
Loading…
Reference in New Issue
Block a user