From 75f6c208b13a84221d782cd4d40b5a52e3a25a84 Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Mon, 19 Oct 2015 19:48:22 +0300 Subject: [PATCH] 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 --- CompoundFilter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CompoundFilter.py b/CompoundFilter.py index 5676da6..fe65fe4 100644 --- a/CompoundFilter.py +++ b/CompoundFilter.py @@ -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