[Arch] ArchStructure.py wrongly used Part.Line (endless line) to close a wire.

This commit is contained in:
Roy-043
2021-02-17 21:48:55 +01:00
committed by Bernd Hahnebach
parent 52869487a8
commit f9d93749bc

View File

@@ -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)