Slow approach on homing. Loaded filename in monitor output
parent
48f156954a
commit
0d5809eada
12
pronsole.py
12
pronsole.py
|
@ -816,14 +816,18 @@ class pronsole(cmd.Cmd):
|
|||
if "x" in l.lower():
|
||||
self.do_move("X -250")
|
||||
self.p.send_now("G92 X0")
|
||||
self.do_move("X 1")
|
||||
self.do_move("X -1")
|
||||
self.do_move("X 1 200")
|
||||
self.do_move("X -1 200")
|
||||
self.do_move("X 0.1")
|
||||
self.do_move("X -0.1")
|
||||
self.p.send_now("G92 X0")
|
||||
if "y" in l.lower():
|
||||
self.do_move("Y -250")
|
||||
self.p.send_now("G92 Y0")
|
||||
self.do_move("Y 1")
|
||||
self.do_move("Y -1")
|
||||
self.do_move("Y 1 200")
|
||||
self.do_move("Y -1 200")
|
||||
self.do_move("Y 0.1")
|
||||
self.do_move("Y -0.1")
|
||||
self.p.send_now("G92 Y0")
|
||||
if "z" in l.lower():
|
||||
self.do_move("Z -250")
|
||||
|
|
|
@ -330,6 +330,10 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
|
|||
string=""
|
||||
if(self.p.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 ",""))+" "
|
||||
if self.sdprinting:
|
||||
string+= " SD printing:%04.2f %%"%(self.percentdone,)
|
||||
|
|
Loading…
Reference in New Issue