DXF export with a single nurbs curve failed
This commit is contained in:
@@ -307,6 +307,7 @@ class PolyLine(_Entity):
|
|||||||
self.points=points
|
self.points=points
|
||||||
self.org_point=org_point
|
self.org_point=org_point
|
||||||
self.flag=flag
|
self.flag=flag
|
||||||
|
self.width= 0.0 # dummy value
|
||||||
if self.flag & POLYFACE_MESH:
|
if self.flag & POLYFACE_MESH:
|
||||||
self.polyface=True
|
self.polyface=True
|
||||||
self.points=points[0]
|
self.points=points[0]
|
||||||
@@ -315,6 +316,8 @@ class PolyLine(_Entity):
|
|||||||
self.f_count=len(self.faces)
|
self.f_count=len(self.faces)
|
||||||
elif not self.flag & POLYLINE_3D:
|
elif not self.flag & POLYLINE_3D:
|
||||||
self.polyline2d = True
|
self.polyline2d = True
|
||||||
|
self.polyface = False
|
||||||
|
self.faces = [] # dummy value
|
||||||
if width:
|
if width:
|
||||||
if type(width)!='list':
|
if type(width)!='list':
|
||||||
width=[width,width]
|
width=[width,width]
|
||||||
|
|||||||
Reference in New Issue
Block a user