37 lines
No EOL
1.1 KiB
INI
37 lines
No EOL
1.1 KiB
INI
########################################
|
|
# Guppy Screen Update
|
|
########################################
|
|
|
|
[gcode_shell_command guppy_update]
|
|
command: sh /usr/data/helper-script/files/guppy-screen/guppy-update.sh
|
|
timeout: 600.0
|
|
verbose: True
|
|
|
|
|
|
[gcode_macro GUPPY_UPDATE]
|
|
description: Check for Guppy Screen Updates
|
|
gcode:
|
|
{% if printer.idle_timeout.state == "Printing" %}
|
|
RESPOND TYPE=error MSG="It's not possible to update Guppy Screen while printing!"
|
|
{% else %}
|
|
RUN_SHELL_COMMAND CMD=guppy_update
|
|
{% endif %}
|
|
|
|
|
|
[gcode_macro INPUT_SHAPER_CALIBRATION]
|
|
description: Measure X and Y Axis Resonances and Save values
|
|
gcode:
|
|
{% if printer["configfile"].config["temperature_fan mcu_fan"] %}
|
|
SET_TEMPERATURE_FAN_TARGET TEMPERATURE_FAN=mcu_fan TARGET=30
|
|
{% endif %}
|
|
{% if printer.toolhead.homed_axes != "xyz" %}
|
|
RESPOND TYPE=command MSG="Homing..."
|
|
G28
|
|
{% endif %}
|
|
RESPOND TYPE=command MSG="Measuring X and Y Resonances..."
|
|
SHAPER_CALIBRATE
|
|
M400
|
|
{% if printer["configfile"].config["temperature_fan mcu_fan"] %}
|
|
SET_TEMPERATURE_FAN_TARGET TEMPERATURE_FAN=mcu_fan TARGET=50
|
|
{% endif %}
|
|
CXSAVE_CONFIG |