Commit 718eaf5c authored by kliment's avatar kliment

Fix speed reading in extrude command

parent 4ab81175
...@@ -598,6 +598,11 @@ class pronsole(cmd.Cmd): ...@@ -598,6 +598,11 @@ class pronsole(cmd.Cmd):
length=float(ls[0]) length=float(ls[0])
except: except:
print "Invalid length given." print "Invalid length given."
if len(ls)>1:
try:
feed=int(ls[1])
except:
print "Invalid speed given."
if override is not None: if override is not None:
length=override length=override
feed=overridefeed feed=overridefeed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment