14 lines
415 B
INI
14 lines
415 B
INI
[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 %}
|