summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2009-02-16 19:04:07 +0000
committeralvinpenner <alvinpenner@users.sourceforge.net>2009-02-16 19:04:07 +0000
commitded15b0dd562d062b93d32a1d76e8e4c134890a8 (patch)
tree5bcfa2889228cbf27a2c2894ed64d4c7f966e1f1 /share
parentAdds a Basics submenu on top of the list for access to the very basic effects... (diff)
downloadinkscape-ded15b0dd562d062b93d32a1d76e8e4c134890a8.tar.gz
inkscape-ded15b0dd562d062b93d32a1d76e8e4c134890a8.zip
modify calculation of control arm length
(bzr r7304)
Diffstat (limited to 'share')
-rwxr-xr-xshare/extensions/cubicsuperpath.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/extensions/cubicsuperpath.py b/share/extensions/cubicsuperpath.py
index 8be2ad42c..ae9c308e1 100755
--- a/share/extensions/cubicsuperpath.py
+++ b/share/extensions/cubicsuperpath.py
@@ -76,7 +76,8 @@ def ArcToPath(p1,params):
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=[]