summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9a92835)
raw | patch | inline | side by side (parent: 9a92835)
author | alvinpenner <alvinpenner@users.sourceforge.net> | |
Sun, 8 Feb 2009 01:24:29 +0000 (01:24 +0000) | ||
committer | alvinpenner <alvinpenner@users.sourceforge.net> | |
Sun, 8 Feb 2009 01:24:29 +0000 (01:24 +0000) |
share/extensions/cubicsuperpath.py | patch | blob | history |
index 21c6174e15dad0e2469c1bfdb840cf52d5f5e20e..8be2ad42c99208b81dbfa4db24d1379b236d53f7 100755 (executable)
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]])