printrun-src/testfiles/pause-restore-rel-e.gcode

changeset 45
c82943fb205f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/printrun-src/testfiles/pause-restore-rel-e.gcode	Tue Jan 19 20:45:09 2021 +0100
@@ -0,0 +1,10 @@
+; test restoring of relative extrusion mode
+; after pause https://github.com/kliment/Printrun/issues/1083
+G28
+G90 ; abs all, including E
+M83 ; relative E
+;@!print('Please press Resume and check for M 83')
+;@!self.p.loud = True
+;@pause
+;@!self.p.loud = False
+;@!threading.Timer(2, lambda logbox: print('PASSED. Seen M 83' if 'M' + '83' in logbox.Value else 'FAILED: M 83 not seen'), (self.logbox,)).start()

mercurial