Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kliment/Printrun.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2013-07-16 01:12:58 +0400
committerGuillaume Seguin <guillaume@segu.in>2013-07-16 01:12:58 +0400
commitd973abf4a5877e19781fa2fe06ff92d41895948b (patch)
tree1ed03daa9eb3e5ee42b2489a36f78e666975b9e6 /pronsole.py
parent64bd069440059d79a7632dbcfd9c21c0a1d94114 (diff)
Add "off" button
Diffstat (limited to 'pronsole.py')
-rwxr-xr-xpronsole.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pronsole.py b/pronsole.py
index 2848b64..18f146a 100755
--- a/pronsole.py
+++ b/pronsole.py
@@ -1421,6 +1421,9 @@ class pronsole(cmd.Cmd):
self.log(_("home xyze - homes all axes and zeroes the extruder (Using G28 and G92)"))
def do_off(self, l):
+ self.off()
+
+ def off(self):
if self.p.online:
if self.p.printing: self.pause(None)
self.onecmd("M84; motors off")