Fix speed reading in extrude command

master
kliment 2011-06-02 19:59:20 +02:00
parent 4ab811754c
commit 718eaf5ca5
1 changed files with 5 additions and 0 deletions

View File

@ -598,6 +598,11 @@ class pronsole(cmd.Cmd):
length=float(ls[0])
except:
print "Invalid length given."
if len(ls)>1:
try:
feed=int(ls[1])
except:
print "Invalid speed given."
if override is not None:
length=override
feed=overridefeed