From f9d93749bce65bda1ff37a2d6de9d9a24012152c Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Wed, 17 Feb 2021 21:48:55 +0100 Subject: [PATCH] [Arch] ArchStructure.py wrongly used Part.Line (endless line) to close a wire. --- 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 20c4cf5d60..67f4d52427 100644 --- a/src/Mod/Arch/ArchStructure.py +++ b/src/Mod/Arch/ArchStructure.py @@ -774,7 +774,7 @@ class _Structure(ArchComponent.Component): p0 = w.OrderedVertexes[0].Point p1 = w.OrderedVertexes[-1].Point if p0 != p1: - e = Part.Line(p0,p1).toShape() + e = Part.LineSegment(p0,p1).toShape() w.add(e) w.fix(0.1,0,1) # fixes self-intersecting wires f = Part.Face(w)