Another attempt to fix placement-related problems

transformGeometry was converting circles into B-splines. transformShape
seems to do the business: circles preserved, no placement problems so
far
This commit is contained in:
DeepSOIC 2015-10-19 19:48:22 +03:00
parent b078b39779
commit 75f6c208b1

View File

@ -143,7 +143,7 @@ class _CompoundFilter:
obj.Shape = Part.makeCompound(rst)
else: # don't make compound of one shape, output it directly
sh = rst[0]
sh = sh.transformGeometry(sh.Placement.toMatrix())
sh.transformShape(sh.Placement.toMatrix(),True) #True = make copy
sh.Placement = FreeCAD.Placement()
obj.Shape = sh