From 3e06e1212fdd44f237c095b4c3c2c18aa7c420a8 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Mon, 16 Jul 2018 13:05:19 +0800 Subject: [PATCH] assembly: explicit copy shape in AsmElement --- assembly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assembly.py b/assembly.py index 27638bf..53bad5d 100644 --- a/assembly.py +++ b/assembly.py @@ -307,7 +307,7 @@ class AsmElement(AsmBase): info = getElementInfo(self.getAssembly().getPartGroup(), self.getElementSubname()) shape = info.Shape - shape.transformShape(info.Placement.toMatrix()) + shape.transformShape(info.Placement.toMatrix(),True) # make a compound to keep the shape's transformation shape = Part.makeCompound(shape) shape.ElementMap = info.Shape.ElementMap