Changed all references to DraftGeomUtils.sortEdges to Part.__sortEdges__

This commit is contained in:
Yorik van Havre
2015-09-04 11:54:57 -03:00
parent 9cb63295e9
commit 91b2506ccc
17 changed files with 59 additions and 90 deletions

View File

@@ -248,10 +248,10 @@ def SortPath(wire,Side,radius,clockwise,firstedge=None,SegLen =0.5):
else:
preoffset.append(e)
sortedpreoff = DraftGeomUtils.sortEdgesOld(preoffset)
sortedpreoff = Part.__sortEdges__(preoffset)
wire = Part.Wire(sortedpreoff)
else:
sortedpreoff = DraftGeomUtils.sortEdgesOld(edgelist)
sortedpreoff = Part.__sortEdges__(edgelist)
wire = Part.Wire(sortedpreoff)
edgelist = []