v2.4: update display_menu, minor fixes
This commit is contained in:
parent
1d9aab9cdf
commit
2671986e61
1 changed files with 28 additions and 2 deletions
|
@ -26,6 +26,10 @@ type: disabled
|
||||||
[menu __main __filament __unloads]
|
[menu __main __filament __unloads]
|
||||||
type: disabled
|
type: disabled
|
||||||
|
|
||||||
|
# Bed Probe
|
||||||
|
[menu __main __setup __calib __bedprobe]
|
||||||
|
type: disabled
|
||||||
|
|
||||||
## Delta Calibration
|
## Delta Calibration
|
||||||
[menu __main __setup __calib __delta_calib_auto]
|
[menu __main __setup __calib __delta_calib_auto]
|
||||||
type: disabled
|
type: disabled
|
||||||
|
@ -65,6 +69,27 @@ name: Purge Filament (10mm)
|
||||||
gcode:
|
gcode:
|
||||||
FILAMENT_PURGE
|
FILAMENT_PURGE
|
||||||
|
|
||||||
|
[menu __main __setup __calib __home]
|
||||||
|
type: command
|
||||||
|
enable: {not printer.idle_timeout.state == "Printing"}
|
||||||
|
name: Home
|
||||||
|
gcode:
|
||||||
|
G28
|
||||||
|
|
||||||
|
[menu __main __setup __calib __center]
|
||||||
|
type: command
|
||||||
|
enable: {not printer.idle_timeout.state == "Printing"}
|
||||||
|
name: Center
|
||||||
|
gcode:
|
||||||
|
CENTER
|
||||||
|
|
||||||
|
[menu __main __setup __calib __bedprobe]
|
||||||
|
type: command
|
||||||
|
enable: {not printer.idle_timeout.state == "Printing"}
|
||||||
|
name: Bed probe
|
||||||
|
gcode:
|
||||||
|
PROBE
|
||||||
|
|
||||||
## Probe & Endstop Z-Offset calibration
|
## Probe & Endstop Z-Offset calibration
|
||||||
[menu __main __setup __calib __Z_offset]
|
[menu __main __setup __calib __Z_offset]
|
||||||
type: list
|
type: list
|
||||||
|
@ -86,10 +111,11 @@ gcode:
|
||||||
{%- if menu.input|int == 1 -%}
|
{%- if menu.input|int == 1 -%}
|
||||||
{action_respond_info("Start Homing")}
|
{action_respond_info("Start Homing")}
|
||||||
G28
|
G28
|
||||||
|
CENTER
|
||||||
{%- elif menu.input|int == 2 -%}
|
{%- elif menu.input|int == 2 -%}
|
||||||
{% if "xyz" in printer.toolhead.homed_axes %}
|
{% if "xyz" in printer.toolhead.homed_axes %}
|
||||||
{action_respond_info("Start Probe calibration")}
|
{action_respond_info("Start Probe calibration")}
|
||||||
G0 X150 Y150 F10000
|
CENTER
|
||||||
PROBE_CALIBRATE
|
PROBE_CALIBRATE
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{action_respond_info("Printer not homed")}
|
{action_respond_info("Printer not homed")}
|
||||||
|
@ -97,7 +123,7 @@ gcode:
|
||||||
{%- elif menu.input|int == 3 -%}
|
{%- elif menu.input|int == 3 -%}
|
||||||
{% if "xyz" in printer.toolhead.homed_axes %}
|
{% if "xyz" in printer.toolhead.homed_axes %}
|
||||||
{action_respond_info(" Start Z-Endstop calibration")}
|
{action_respond_info(" Start Z-Endstop calibration")}
|
||||||
G0 X150 Y150 F10000
|
CENTER
|
||||||
Z_ENDSTOP_CALIBRATE
|
Z_ENDSTOP_CALIBRATE
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{action_respond_info("Printer not homed")}
|
{action_respond_info("Printer not homed")}
|
||||||
|
|
Loading…
Reference in a new issue