Removed debugging globals

This commit is contained in:
Markus Lampert
2022-04-04 21:12:45 -07:00
parent acede8c347
commit 2b35d19ce4
4 changed files with 0 additions and 29 deletions

View File

@@ -611,9 +611,6 @@ def removeDuplicateEdges(wire):
return Part.Wire(unique)
OddsAndEnds = []
def flipEdge(edge):
"""flipEdge(edge)
Flips given edge around so the new Vertexes[0] was the old Vertexes[-1] and vice versa, without changing the shape.
@@ -675,19 +672,13 @@ def flipEdge(edge):
elif type(edge.Curve) == Part.OffsetCurve:
return edge.reversed()
global OddsAndEnds
OddsAndEnds.append(edge)
PathLog.warning(
translate("PathGeom", "%s not supported for flipping") % type(edge.Curve)
)
Wire = []
def flipWire(wire):
"""Flip the entire wire and all its edges so it is being processed the other way around."""
Wire.append(wire)
edges = [flipEdge(e) for e in wire.Edges]
edges.reverse()
PathLog.debug(edges)