Arch: Fixed placement of precest structures
This commit is contained in:
parent
223dd70b99
commit
207432c0bd
|
@ -201,6 +201,8 @@ class _CommandStructure:
|
|||
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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user