From 9c698201e2df3dd9d919cb8b069e68db2e05e716 Mon Sep 17 00:00:00 2001 From: Sebastian Hoogen Date: Sun, 18 Jan 2015 21:11:17 +0100 Subject: [PATCH] handle Draft Ellipse arcs --- src/Mod/Sandbox/exportDRAWEXE.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Sandbox/exportDRAWEXE.py b/src/Mod/Sandbox/exportDRAWEXE.py index 56f0c3e01..8f863ed59 100644 --- a/src/Mod/Sandbox/exportDRAWEXE.py +++ b/src/Mod/Sandbox/exportDRAWEXE.py @@ -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' % \