handle Draft Ellipse arcs

This commit is contained in:
Sebastian Hoogen 2015-01-18 21:11:17 +01:00
parent 2509e59b51
commit 9c698201e2

View File

@ -610,8 +610,8 @@ class Drawexporter(object):
import math
majr=f2s(float(ob.MajorRadius))
minr=f2s(float(ob.MinorRadius))
pfirst=0
plast=2*math.pi
pfirst=f2s(math.radians(ob.FirstAngle))
plast =f2s(math.radians(ob.LastAngle))
self.csg.write('ellipse %s 0 0 0 %s %s\n' % \
(curvename,majr,minr))
self.csg.write('mkedge %s %s %s %s\n' % \