From 788d7c4692797c397d79ff35b393c3b2a4f08985 Mon Sep 17 00:00:00 2001 From: vilemnovak Date: Thu, 24 Dec 2015 13:04:52 +0100 Subject: [PATCH] enable shapely speedups module - should be faster in some cases. --- scripts/addons/cam/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/addons/cam/utils.py b/scripts/addons/cam/utils.py index 06e188d0..cba4a32f 100644 --- a/scripts/addons/cam/utils.py +++ b/scripts/addons/cam/utils.py @@ -3397,6 +3397,8 @@ def rotTo2axes(e,axescombination): def getPath(context,operation):#should do all path calculations. t=time.clock() #print('ahoj0') + if shapely.speedups.available: + shapely.speedups.enable() #these tags are for caching of some of the results. Not working well still - although it can save a lot of time during calculation... chd=getChangeData(operation)