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

Wed, 20 Jan 2021 11:37:03 +0100

author
mdd
date
Wed, 20 Jan 2021 11:37:03 +0100
changeset 48
3c27b4ee6fec
parent 45
c82943fb205f
permissions
-rw-r--r--

reimplemented lasercutter changes

; 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