diff options
author | GitHub Nightly Merge Action <actions@github.com> | 2021-09-10 03:06:05 +0300 |
---|---|---|
committer | GitHub Nightly Merge Action <actions@github.com> | 2021-09-10 03:06:05 +0300 |
commit | 30c9b892999d2c8711b9a027fd1a48b2708deafc (patch) | |
tree | 2dbd81d543a235e79a572e70689df2d899225224 /docs | |
parent | 01855da9158495c1240ba28d5a81f9f26472c81e (diff) | |
parent | 0e1ada7a0e8445a86da329ebd222fa03020c6e90 (diff) |
Merge branch 'master' into maintenance
Diffstat (limited to 'docs')
-rw-r--r-- | docs/features/gcode_scripts.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/features/gcode_scripts.rst b/docs/features/gcode_scripts.rst index a15cc7f79..aa8fb1329 100644 --- a/docs/features/gcode_scripts.rst +++ b/docs/features/gcode_scripts.rst @@ -38,6 +38,8 @@ The following GCODE scripts are sent by OctoPrint automatically: * ``afterPrintDone``: Sent just after a print job finished. Defaults to an empty script. * ``afterPrintPaused``: Sent just after a print job was paused. Defaults to an empty script. * ``beforePrintResumed``: Sent just before a print job is resumed. Defaults to an empty script. + * ``beforeToolChange``: Sent just before a tool change command (``Tn``) is issued. + * ``afterToolChange``: Sent just after a tool change command (``Tn``) is issued .. note:: @@ -108,6 +110,11 @@ There are a few additional template variables available for the following specif * ``cancel_temperature``: Last known temperature values when the print was cancelled. See ``last_temperature`` above for the structure to expect here. + * ``beforeToolChange`` and ``afterToolChange`` + + * ``tool.old``: The number of the previous tool + * ``tool.new``: The number of the new tool + .. warning:: |