From c0ca2705b7a347d0e60c8b4539b6a78b12e3ff0b Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Mon, 31 Oct 2016 23:53:30 -0200 Subject: [PATCH] Arch: minor fix in strucutral nodes calculaiton --- src/Mod/Arch/ArchStructure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchStructure.py b/src/Mod/Arch/ArchStructure.py index 41fd8e230..310c0512a 100644 --- a/src/Mod/Arch/ArchStructure.py +++ b/src/Mod/Arch/ArchStructure.py @@ -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()