Fix cancel snippet for shared nozzle setups

See https://discourse.octoprint.org/t/prusa-mmu2-how-to-properly-configure/4937/
This commit is contained in:
Gina Häußge committed 2018-11-02 12:20:05 +01:00
1 parent 39b2da3230
commit 2e38f237de
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -157,9 +157,13 @@ The ``disable_hotends`` snippet is defined as follows:
.. code-block:: jinja
:caption: Default ``disable_hotends`` snippet
{% if printer_profile.extruder.sharedNozzle %}
M104 T0 S0
{% else %}
{% for tool in range(printer_profile.extruder.count) %}
M104 T{{ tool }} S0
{% endfor %}
{% endif %}
The ``disable_bed`` snippet is defined as follows: