Fixed Path creation with new Line/LineSegment semantics.

This commit is contained in:
Markus Lampert
2016-12-03 02:00:11 -08:00
parent a9bda71acb
commit fdddec23d3
2 changed files with 2 additions and 2 deletions

View File

@@ -247,7 +247,7 @@ def reverseEdge(e):
arcendpt = e.valueAt(e.LastParameter)
arcofCirc = Part.ArcOfCircle(arcendpt, arcmid, arcstpt)
newedge = arcofCirc.toShape()
elif geomType(e) == "LineSegment":
elif geomType(e) == "LineSegment" or geomType(e) == "Line":
stpt = e.valueAt(e.FirstParameter)
endpt = e.valueAt(e.LastParameter)
newedge = Part.makeLine(endpt, stpt)