handle Draft Ellipse arcs
This commit is contained in:
parent
2509e59b51
commit
9c698201e2
|
@ -610,8 +610,8 @@ class Drawexporter(object):
|
||||||
import math
|
import math
|
||||||
majr=f2s(float(ob.MajorRadius))
|
majr=f2s(float(ob.MajorRadius))
|
||||||
minr=f2s(float(ob.MinorRadius))
|
minr=f2s(float(ob.MinorRadius))
|
||||||
pfirst=0
|
pfirst=f2s(math.radians(ob.FirstAngle))
|
||||||
plast=2*math.pi
|
plast =f2s(math.radians(ob.LastAngle))
|
||||||
self.csg.write('ellipse %s 0 0 0 %s %s\n' % \
|
self.csg.write('ellipse %s 0 0 0 %s %s\n' % \
|
||||||
(curvename,majr,minr))
|
(curvename,majr,minr))
|
||||||
self.csg.write('mkedge %s %s %s %s\n' % \
|
self.csg.write('mkedge %s %s %s %s\n' % \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user