I am able to manipulate the true location of a wire by doing this:
Code: Select all
m = FreeCAD.Matrix()
m.move(obj.Shape.BoundBox.Center * -1)
new_shape = obj.Shape.transformGeometry(m)
If I convert the wire to a sketch prior to doing this, everything gets parsed correctly.
Is there a way to do the exact same thing without this side effect?