remove transformGeometry in OpenSCADFeatures.GetWire

This commit is contained in:
Sebastian Hoogen 2013-08-26 09:15:54 +02:00
parent ccf893f0bb
commit 801f08a8af

View File

@ -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):