Fixed Path creation with new Line/LineSegment semantics.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user