From ded15b0dd562d062b93d32a1d76e8e4c134890a8 Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Mon, 16 Feb 2009 19:04:07 +0000 Subject: modify calculation of control arm length (bzr r7304) --- share/extensions/cubicsuperpath.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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=[] -- cgit v1.2.3