From b117c54e19c7226faa6d26a2d8e6c52c705f3184 Mon Sep 17 00:00:00 2001 From: "vilda.novak@gmail.com" Date: Wed, 12 Feb 2014 19:22:34 +0000 Subject: [PATCH] fix a bug introduced with last commints free feed rate is now switched on allread during lift-up, should speed up milling a tiny bit. --- scripts/addons/cam/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/addons/cam/utils.py b/scripts/addons/cam/utils.py index 5d426e04..3cc09872 100644 --- a/scripts/addons/cam/utils.py +++ b/scripts/addons/cam/utils.py @@ -986,7 +986,7 @@ def exportGcodePath(filename,vertslist,operations): #print(ra,rb) c.feed( x=vx, y=vy, z=vz ,a = ra, b = rb) - elif v.z==last.z==o.free_movement_height or vi==0: + elif v.z>=o.free_movement_height or vi==0:#v.z==last.z==o.free_movement_height or vi==0 f=freefeedrate c.feedrate(freefeedrate) if o.axes=='3': @@ -2268,7 +2268,7 @@ def getPath3axis(context,operation): if o.first_down:#each shape gets either cut all the way to bottom, or every shape gets cut 1 layer, then all again. for chunk in chunksFromCurve: for layer in layers: - extendorder.append(chunk,layer) + extendorder.append([chunk,layer]) else: for layer in layers: for chunk in chunksFromCurve: