File: pause-restore-rel-e.gcode

package info (click to toggle)
printrun 2.0.0~rc8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,060 kB
  • sloc: python: 13,447; xml: 62; ansic: 20; makefile: 16; sh: 12
file content (10 lines) | stat: -rw-r--r-- 406 bytes parent folder | download
1
2
3
4
5
6
7
8
9
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()