Skip to content
Permalink
Browse files

Arch: Fixed placement of precest structures

  • Loading branch information...
yorikvanhavre committed Dec 11, 2016
1 parent 223dd70 commit 207432c0bd76d968ae0e6b472d0dfe4099875adc
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Mod/Arch/ArchStructure.py
@@ -201,6 +201,8 @@ def getPoint(self,point=None,obj=None):
args["Width"] = self.Width
args["Height"] = self.Height
argstring = ""
# fix for precast placement, since their (0,0) point is the lower left corner
point = FreeCAD.Vector(point.x-self.Length/2,point.y-self.Width/2,point.z)
for pair in args.items():
argstring += pair[0].lower() + "="
if isinstance(pair[1],str):

0 comments on commit 207432c

Please sign in to comment.
You can’t perform that action at this time.