KTC icon indicating copy to clipboard operation
KTC copied to clipboard

Avoid trigger error on M106

Open ekozan opened this issue 7 months ago • 1 comments

https://github.com/TypQxQ/KTC/blame/ed288bf0cebdd1d7cec572ee3e8f37c13e413878/macros/base/M106.cfg#L26 KTC_SET_AND_SAVE_PARTFAN_SPEED{newparameters} Tigger error if no tools is enabled, witch stop the print many sliccer send M107 by default at begenin of the Gcode I modified M106 to {% if myself.selected_tool|default("none")|lower == ktc.TOOL_NONE|lower %} KTC_SET_AND_SAVE_PARTFAN_SPEED{newparameters} {% endif %} Maybe we can send an information and not an error on KTC code

ekozan avatar Jul 03 '24 12:07 ekozan