From cf5cee5fd8334d9064027cd5285b0db54c10f28a Mon Sep 17 00:00:00 2001 From: alvinpenner Date: Sun, 8 Feb 2009 01:24:29 +0000 Subject: [PATCH] convert elliptical arc angle from degrees to radians --- share/extensions/cubicsuperpath.py | 1 + 1 file changed, 1 insertion(+) diff --git a/share/extensions/cubicsuperpath.py b/share/extensions/cubicsuperpath.py index 21c6174e1..8be2ad42c 100755 --- a/share/extensions/cubicsuperpath.py +++ b/share/extensions/cubicsuperpath.py @@ -44,6 +44,7 @@ def norm(pt): def ArcToPath(p1,params): A=p1[:] rx,ry,teta,longflag,sweepflag,x2,y2=params[:] + teta = teta*pi/180.0 B=[x2,y2] if rx==0 or ry==0: return([[A,A,A],[B,B,B]]) -- 2.30.2