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.
pull/4/head
vilda.novak@gmail.com 2014-02-12 19:22:34 +00:00
rodzic a3c4e86ea7
commit b117c54e19
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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: