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 5cfbde93da
commit f8571fb2a4
17 changed files with 59 additions and 90 deletions

View File

@@ -321,7 +321,7 @@ def closeHole(shape):
for e in shape.Edges:
if lut[e.hashCode()] == 1:
bound.append(e)
bound = DraftGeomUtils.sortEdges(bound)
bound = Part.__sortEdges__(bound)
try:
nface = Part.Face(Part.Wire(bound))
shell = Part.makeShell(shape.Faces+[nface])