From 801f08a8afa254dbf081f97acd9278dfcb6fb830 Mon Sep 17 00:00:00 2001 From: Sebastian Hoogen Date: Mon, 26 Aug 2013 09:15:54 +0200 Subject: [PATCH] remove transformGeometry in OpenSCADFeatures.GetWire --- src/Mod/OpenSCAD/OpenSCADFeatures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/OpenSCAD/OpenSCADFeatures.py b/src/Mod/OpenSCAD/OpenSCADFeatures.py index 464c05890..3d1f04d16 100644 --- a/src/Mod/OpenSCAD/OpenSCADFeatures.py +++ b/src/Mod/OpenSCAD/OpenSCADFeatures.py @@ -291,8 +291,8 @@ class GetWire: def execute(self, fp): if fp.Base: #fp.Shape=fp.Base.Shape.Wires[0] - fp.Shape=fp.Base.Shape.Wires[0].transformGeometry(\ - fp.Base.Shape.Placement.toMatrix()) + fp.Shape=Part.Wire(fp.Shape=fp.Base.Shape.Wires[0]) # works with 0.13 stable + #sh = fp.Base.Shape.Wires[0].copy; sh.transformSahpe(fp.Base.Shape.Placement.toMatrix()); fp.Shape = sh #untested class Frustum: def __init__(self, obj,r1=1,r2=2,n=3,h=4):