Commit 0d5809ea authored by kliment's avatar kliment

Slow approach on homing. Loaded filename in monitor output

parent 48f15695
...@@ -816,14 +816,18 @@ class pronsole(cmd.Cmd): ...@@ -816,14 +816,18 @@ class pronsole(cmd.Cmd):
if "x" in l.lower(): if "x" in l.lower():
self.do_move("X -250") self.do_move("X -250")
self.p.send_now("G92 X0") self.p.send_now("G92 X0")
self.do_move("X 1") self.do_move("X 1 200")
self.do_move("X -1") self.do_move("X -1 200")
self.do_move("X 0.1")
self.do_move("X -0.1")
self.p.send_now("G92 X0") self.p.send_now("G92 X0")
if "y" in l.lower(): if "y" in l.lower():
self.do_move("Y -250") self.do_move("Y -250")
self.p.send_now("G92 Y0") self.p.send_now("G92 Y0")
self.do_move("Y 1") self.do_move("Y 1 200")
self.do_move("Y -1") self.do_move("Y -1 200")
self.do_move("Y 0.1")
self.do_move("Y -0.1")
self.p.send_now("G92 Y0") self.p.send_now("G92 Y0")
if "z" in l.lower(): if "z" in l.lower():
self.do_move("Z -250") self.do_move("Z -250")
......
...@@ -330,6 +330,10 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -330,6 +330,10 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
string="" string=""
if(self.p.online): if(self.p.online):
string+="Printer is online. " string+="Printer is online. "
try:
string+="Loaded "+os.path.split(self.name)[1]+" "
except:
pass
string+=(self.tempreport.replace("\r","").replace("T","Hotend").replace("B","Bed").replace("\n","").replace("ok ",""))+" " string+=(self.tempreport.replace("\r","").replace("T","Hotend").replace("B","Bed").replace("\n","").replace("ok ",""))+" "
if self.sdprinting: if self.sdprinting:
string+= " SD printing:%04.2f %%"%(self.percentdone,) string+= " SD printing:%04.2f %%"%(self.percentdone,)
......
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