Arch: minor fix in strucutral nodes calculaiton

This commit is contained in:
Yorik van Havre 2016-10-31 23:53:30 -02:00
parent e75fe0d6e3
commit c0ca2705b7

View File

@ -539,7 +539,7 @@ class _Structure(ArchComponent.Component):
if obj.Role not in ["Slab"]:
if obj.Tool:
nodes = obj.Tool.Shape
else:
elif extdata[1].Length > 0:
import Part
nodes = Part.Line(nodes.CenterOfMass,nodes.CenterOfMass.add(extdata[1])).toShape()
offset = FreeCAD.Vector()