Commit 7abc2d59 authored by kliment's avatar kliment

Fix homing for people in the stone age (using FiveD)

parent 76fafca3
...@@ -999,11 +999,11 @@ class pronsole(cmd.Cmd): ...@@ -999,11 +999,11 @@ class pronsole(cmd.Cmd):
print "Printer is currently printing. Please pause the print before you issue manual commands." print "Printer is currently printing. Please pause the print before you issue manual commands."
return return
if "x" in l.lower(): if "x" in l.lower():
self.p.send_now("G28 X") self.p.send_now("G28 X0")
if "y" in l.lower(): if "y" in l.lower():
self.p.send_now("G28 Y") self.p.send_now("G28 Y0")
if "z" in l.lower(): if "z" in l.lower():
self.p.send_now("G28 Z") self.p.send_now("G28 Z0")
if "e" in l.lower(): if "e" in l.lower():
self.p.send_now("G92 E0") self.p.send_now("G92 E0")
if not len(l): if not len(l):
......
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