From: alvinpenner Date: Mon, 16 Feb 2009 19:04:07 +0000 (+0000) Subject: modify calculation of control arm length X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f57c59b5dd19c0dcc2830b7858377b2508b6da1c;p=inkscape.git modify calculation of control arm length --- 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=[]