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

Tue, 19 Jan 2021 20:45:09 +0100

author
mdd
date
Tue, 19 Jan 2021 20:45:09 +0100
changeset 45
c82943fb205f
permissions
-rw-r--r--

updated main files to new github master version

45
c82943fb205f updated main files to new github master version
mdd
parents:
diff changeset
1 ; test restoring of relative extrusion mode
c82943fb205f updated main files to new github master version
mdd
parents:
diff changeset
2 ; after pause https://github.com/kliment/Printrun/issues/1083
c82943fb205f updated main files to new github master version
mdd
parents:
diff changeset
3 G28
c82943fb205f updated main files to new github master version
mdd
parents:
diff changeset
4 G90 ; abs all, including E
c82943fb205f updated main files to new github master version
mdd
parents:
diff changeset
5 M83 ; relative E
c82943fb205f updated main files to new github master version
mdd
parents:
diff changeset
6 ;@!print('Please press Resume and check for M 83')
c82943fb205f updated main files to new github master version
mdd
parents:
diff changeset
7 ;@!self.p.loud = True
c82943fb205f updated main files to new github master version
mdd
parents:
diff changeset
8 ;@pause
c82943fb205f updated main files to new github master version
mdd
parents:
diff changeset
9 ;@!self.p.loud = False
c82943fb205f updated main files to new github master version
mdd
parents:
diff changeset
10 ;@!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