From f57c59b5dd19c0dcc2830b7858377b2508b6da1c Mon Sep 17 00:00:00 2001 From: alvinpenner Date: Mon, 16 Feb 2009 19:04:07 +0000 Subject: [PATCH] modify calculation of control arm length --- 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=[] -- 2.30.2