Arch: Fixed wrong wall base wire orientation
This commit is contained in:
@@ -734,7 +734,11 @@ class _Wall(ArchComponent.Component):
|
||||
self.basewires = [Part.Wire(obj.Base.Shape.Edges)]
|
||||
else:
|
||||
# self.basewires = obj.Base.Shape.Wires
|
||||
self.basewires = [Part.Wire(cluster) for cluster in Part.getSortedClusters(obj.Base.Shape.Edges)]
|
||||
self.basewires = []
|
||||
for cluster in Part.getSortedClusters(obj.Base.Shape.Edges):
|
||||
for c in Part.sortEdges(cluster):
|
||||
self.basewires.append(Part.Wire(c))
|
||||
|
||||
if self.basewires and width:
|
||||
if (len(self.basewires) == 1) and layers:
|
||||
self.basewires = [self.basewires[0] for l in layers]
|
||||
|
||||
Reference in New Issue
Block a user