KTC icon indicating copy to clipboard operation
KTC copied to clipboard

Avoid trigger error on M106

Open ekozan opened this issue 1 year ago • 1 comments
trafficstars

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

That is absolutely possible and smart.I can’t do it now because I’m abroad on vacation for a few weeks. /Andrei3 juli 2024 kl. 15:45 skrev Maxime Franck @.***>: 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

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

TypQxQ avatar Jul 03 '24 13:07 TypQxQ