This commit is contained in:
Jeff Perando 2026-03-03 13:50:28 -06:00 committed by GitHub
commit 06a48481c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,7 +133,6 @@ realtime: True
gcode:
SET_GCODE_OFFSET Z={'%.3f' % menu.input} MOVE=1
### menu octoprint ###
[menu __main __octoprint]
type: list
@ -702,6 +701,69 @@ gcode: PID_CALIBRATE HEATER=heater_bed TARGET=60 WRITE_FILE=1
type: list
name: Calibration
[menu __main __setup __calib __offsetz]
type: list
enable: {((not printer.idle_timeout.state == "Printing") and ('stepper_z' in printer.configfile.config))}
name: Z-Offset
[menu __main __setup __calib __offsetz __begin_probe]
type: command
name: Begin probe calibration
enable: {('probe' in printer) or ('bltouch' in printer)}
gcode:
ABORT
{% if 'z' not in printer.toolhead.homed_axes %}
G28
{% endif %}
PROBE_CALIBRATE
[menu __main __setup __calib __offsetz __begin_endstop]
type: command
name: Begin Z-endstop calibration
enable: {('position_endstop' in printer.configfile.config.stepper_z)}
gcode:
ABORT
{% if 'z' not in printer.toolhead.homed_axes %}
G28
{% endif %}
Z_ENDSTOP_CALIBRATE
[menu __main __setup __calib __offsetz __test]
type: input
name: Delta: {'%05.3f' % menu.input}
input: 0
input_min: -5
input_max: 5
input_step: 0.005
gcode:
{%- if menu.input > 0 -%}
TESTZ Z=+{'%.3f' % menu.input}
{%- elif menu.input < 0 -%}
TESTZ Z={'%.3f' % menu.input}
{%- endif -%}
[menu __main __setup __calib __offsetz __prev]
type: command
name: Undo
gcode: TESTZ Z=--
[menu __main __setup __calib __offsetz __next]
type: command
name: Redo
gcode: TESTZ Z=++
[menu __main __setup __calib __offsetz __abort]
type: command
name: Cancel
gcode: ABORT
[menu __main __setup __calib __offsetz __end]
type: command
name: Finish
gcode:
ACCEPT
SAVE_CONFIG
[menu __main __setup __calib __delta_calib_auto]
type: command
enable: {(not printer.idle_timeout.state == "Printing") and ('delta_calibrate' in printer)}