printer: Add quad_gantry_level/z_tilt_adjust to homing menu. Fixes #46
This commit is contained in:
parent
b78ebea687
commit
f6f2f3f143
@ -2,6 +2,7 @@
|
||||
|
||||
#### 2021 02 22
|
||||
* Add configurable z_babystep intervals
|
||||
* Add QUAD_GANTRY_LEVEL and Z_TILT_ADJUST to Homing menu
|
||||
* Fixed cursor issue on startup
|
||||
* Fixed font ratio for large, but short screens
|
||||
* Configurable cursor display
|
||||
|
@ -65,6 +65,21 @@ icon: home
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28 X Y"}
|
||||
|
||||
[menu __main homing quad_gantry_level]
|
||||
name: {{ gettext('Quad Gantry Level') }}
|
||||
icon: home-z
|
||||
method: printer.gcode.script
|
||||
params: {"script":"QUAD_GANTRY_LEVEL"}
|
||||
enable: {{ printer.quad_gantry_level is defined }}
|
||||
|
||||
[menu __main homing z_tilt_adjust]
|
||||
name: {{ gettext('Z Tilt Adjust') }}
|
||||
icon: home-z
|
||||
method: printer.gcode.script
|
||||
params: {"script":"QUAD_GANTRY_LEVEL"}
|
||||
enable: {{ printer.z_tilt_adjust is defined }}
|
||||
|
||||
|
||||
[menu __main actions move]
|
||||
name: {{ gettext('Move') }}
|
||||
icon: move
|
||||
@ -85,13 +100,6 @@ name: {{ gettext('Temperature') }}
|
||||
icon: heat-up
|
||||
panel: temperature
|
||||
|
||||
[menu __main actions quad_gantry_level]
|
||||
name: {{ gettext('Quad Gantry Level') }}
|
||||
icon: home-z
|
||||
method: printer.gcode.script
|
||||
params: {"script":"QUAD_GANTRY_LEVEL"}
|
||||
enable: {{ printer.quad_gantry_level is defined }}
|
||||
|
||||
[menu __main actions macros]
|
||||
name: {{ gettext('Macros') }}
|
||||
icon: custom-script
|
||||
|
@ -176,7 +176,7 @@ class Printer:
|
||||
}
|
||||
}
|
||||
|
||||
sections = ["bed_mesh","bltouch","probe","quad_gantry_level"]
|
||||
sections = ["bed_mesh","bltouch","probe","quad_gantry_level","z_tilt_adjust"]
|
||||
for section in sections:
|
||||
if self.config_section_exists(section):
|
||||
data["printer"][section] = self.get_config_section(section).copy()
|
||||
|
Loading…
x
Reference in New Issue
Block a user