summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c9e3893)
raw | patch | inline | side by side (parent: c9e3893)
author | alvinpenner <alvinpenner@users.sourceforge.net> | |
Mon, 16 Feb 2009 19:04:07 +0000 (19:04 +0000) | ||
committer | alvinpenner <alvinpenner@users.sourceforge.net> | |
Mon, 16 Feb 2009 19:04:07 +0000 (19:04 +0000) |
share/extensions/cubicsuperpath.py | patch | blob | history |
index 8be2ad42c99208b81dbfa4db24d1379b236d53f7..ae9c308e129666ec1139ccfd9b50fbb4eb8a4bb0 100755 (executable)
NbSectors=int(abs(start-end)*2/pi)+1
dTeta=(end-start)/NbSectors
#v=dTeta*2/pi*0.552
- v=dTeta*2/pi*4*(sqrt(2)-1)/3
+ #v=dTeta*2/pi*4*(sqrt(2)-1)/3
+ v = 4*tan(dTeta/4)/3
#if not sweepflag:
# v*=-1
p=[]