From 2671986e614d3f8d6bbb386a9966eb85b9772f6f Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Tue, 5 Oct 2021 19:14:22 +0200 Subject: [PATCH] v2.4: update display_menu, minor fixes --- display_menu.cfg | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/display_menu.cfg b/display_menu.cfg index 82a3eef..cb16ad5 100644 --- a/display_menu.cfg +++ b/display_menu.cfg @@ -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")}