Skip to content

Commit

Permalink
handle Draft Ellipse arcs
Browse files Browse the repository at this point in the history
  • Loading branch information
5263 committed Jan 20, 2015
1 parent 2509e59 commit 9c69820
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Sandbox/exportDRAWEXE.py
Expand Up @@ -610,8 +610,8 @@ def process_object(self,ob,checksupported=False,toplevel=False):
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' % \
Expand Down

0 comments on commit 9c69820

Please sign in to comment.