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

Wed, 20 Jan 2021 10:15:13 +0100

author
mdd
date
Wed, 20 Jan 2021 10:15:13 +0100
changeset 46
cce0af6351f0
parent 45
c82943fb205f
permissions
-rw-r--r--

updated and added new files for printrun

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