diff --git a/src/Mod/Arch/ArchFrame.py b/src/Mod/Arch/ArchFrame.py index 177d8ef4fc82..3c7a54724913 100644 --- a/src/Mod/Arch/ArchFrame.py +++ b/src/Mod/Arch/ArchFrame.py @@ -136,14 +136,12 @@ def execute(self,obj): if hasattr(obj,"BasePoint"): if obj.BasePoint == 0 : basepoint = profile.CenterOfMass - profile.translate(bpoint.sub(basepoint)) else : # TODO add mid point of edges and make an ordered list point, mid point , ... basepoint = profile.Vertexes[obj.BasePoint - 1].Point - profile.translate(bpoint.sub(basepoint)) else : basepoint = profile.CenterOfMass - profile.translate(bpoint.sub(basepoint)) + profile.translate(bpoint.sub(basepoint)) if obj.Align: axis = profile.Placement.Rotation.multVec(FreeCAD.Vector(0,0,1)) angle = bvec.getAngle(axis)