summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
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=[]