Skip to content

Commit

Permalink
Draft: Reverting provisorily to the old version of DraftGeomUtils.sor…
Browse files Browse the repository at this point in the history
…tEdges
  • Loading branch information
yorikvanhavre committed Sep 24, 2014
1 parent f0c59e4 commit 16e8b0e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Mod/Draft/DraftGeomUtils.py
Expand Up @@ -579,7 +579,7 @@ def isLine(bsp):
return False
return True

def sortEdges(edges):
def sortEdgesNew(edges):
"""Sort edges in path order, i.e., such that the end point of edge N
equals the start point of edge N+1.
"""
Expand Down Expand Up @@ -767,6 +767,11 @@ def flattenWire(wire):
verts.append(o)
w = Part.makePolygon(verts)
return w

def sortEdges(edges):
"define here which version to use"
#return sortEdgesNew(edges)
return sortEdgesOld(edges)


def findWires(edgeslist):
Expand Down

0 comments on commit 16e8b0e

Please sign in to comment.