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]
|
||||
type: disabled
|
||||
|
||||
# Bed Probe
|
||||
[menu __main __setup __calib __bedprobe]
|
||||
type: disabled
|
||||
|
||||
## Delta Calibration
|
||||
[menu __main __setup __calib __delta_calib_auto]
|
||||
type: disabled
|
||||
|
@ -65,6 +69,27 @@ name: Purge Filament (10mm)
|
|||
gcode:
|
||||
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
|
||||
[menu __main __setup __calib __Z_offset]
|
||||
type: list
|
||||
|
@ -86,10 +111,11 @@ gcode:
|
|||
{%- if menu.input|int == 1 -%}
|
||||
{action_respond_info("Start Homing")}
|
||||
G28
|
||||
CENTER
|
||||
{%- elif menu.input|int == 2 -%}
|
||||
{% if "xyz" in printer.toolhead.homed_axes %}
|
||||
{action_respond_info("Start Probe calibration")}
|
||||
G0 X150 Y150 F10000
|
||||
CENTER
|
||||
PROBE_CALIBRATE
|
||||
{%- else -%}
|
||||
{action_respond_info("Printer not homed")}
|
||||
|
@ -97,7 +123,7 @@ gcode:
|
|||
{%- elif menu.input|int == 3 -%}
|
||||
{% if "xyz" in printer.toolhead.homed_axes %}
|
||||
{action_respond_info(" Start Z-Endstop calibration")}
|
||||
G0 X150 Y150 F10000
|
||||
CENTER
|
||||
Z_ENDSTOP_CALIBRATE
|
||||
{%- else -%}
|
||||
{action_respond_info("Printer not homed")}
|
||||
|
|
Loading…
Reference in a new issue