Draft: Fix patharray edge sort issue
If the user selects edges for the path of a patharray the edges need to be sorted before creating a Part.Wire from them.
This commit is contained in:
@@ -328,7 +328,7 @@ class PathArray(DraftLink):
|
||||
for n in edgeNames:
|
||||
e = sub[0].Shape.getElement(n)
|
||||
sl.append(e)
|
||||
return Part.Wire(sl)
|
||||
return Part.Wire(Part.__sortEdges__(sl))
|
||||
|
||||
def onChanged(self, obj, prop):
|
||||
"""Execute when a property is changed."""
|
||||
|
||||
Reference in New Issue
Block a user