Skip to content

Commit

Permalink
handle infinite lines and segments in OpenSCAD2Dgeom.superWireReverse
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Dec 21, 2016
1 parent a862279 commit 7fd367a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/OpenSCAD/OpenSCAD2Dgeom.py
Expand Up @@ -461,7 +461,7 @@ def median(v1,v2):
nexte[0].Vertexes[-1*(not nexte[1])].Point)
else:
p2 = curr[0].Vertexes[-1*(curr[1])].Point
if isinstance(curr[0].Curve,Part.LineSegment):
if isinstance(curr[0].Curve,(Part.LineSegment, Part.Line)):
print "line",p1,p2
newedges.append(Part.LineSegment(p1,p2).toShape())
elif isinstance(curr[0].Curve,Part.Circle):
Expand Down

0 comments on commit 7fd367a

Please sign in to comment.