Added approximation for hyperbola curves.

This commit is contained in:
Markus Lampert
2018-08-18 15:34:48 -07:00
parent 6a48072357
commit f58431d1ff
2 changed files with 6 additions and 0 deletions

View File

@@ -465,6 +465,8 @@ def removeDuplicateEdges(wire):
unique.append(e)
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.
@@ -507,6 +509,8 @@ def flipEdge(edge):
return Part.Edge(flipped)
global OddsAndEnds
OddsAndEnds.append(edge)
PathLog.warning(translate('PathGeom', "%s not support for flipping") % type(edge.Curve))
def flipWire(wire):