большой рефакторинг

This commit is contained in:
2025-04-01 00:53:24 +03:00
parent 23ee12a19e
commit 228d45b7bf
13 changed files with 636 additions and 534 deletions

View File

@@ -0,0 +1,13 @@
[gcode_shell_command clear_tg_timelapse]
command: sh ../Macros/clear_timelapse.sh
timeout: 30.
verbose: True
[gcode_macro CLEAR_TG_TIMELAPSE]
gcode:
{% if printer.idle_timeout.state == "Idle" or printer.idle_timeout.state == "Ready" %}
RUN_SHELL_COMMAND CMD=clear_tg_timelapse
RESPOND MSG="Done :)"
{% else %}
RESPOND MSG="Не-не-не, принтер печатает"
{% endif %}