printer: Include quad_gantry_level
This commit is contained in:
parent
1e9aabec7d
commit
7d1ec41f4b
@ -85,6 +85,13 @@ name: {{ gettext('Temperature') }}
|
|||||||
icon: heat-up
|
icon: heat-up
|
||||||
panel: temperature
|
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]
|
[menu __main actions macros]
|
||||||
name: {{ gettext('Macros') }}
|
name: {{ gettext('Macros') }}
|
||||||
icon: custom-script
|
icon: custom-script
|
||||||
|
@ -178,7 +178,7 @@ class Printer:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sections = ["bed_mesh","bltouch","probe"]
|
sections = ["bed_mesh","bltouch","probe","quad_gantry_level"]
|
||||||
for section in sections:
|
for section in sections:
|
||||||
if self.config_section_exists(section):
|
if self.config_section_exists(section):
|
||||||
data["printer"][section] = self.get_config_section(section).copy()
|
data["printer"][section] = self.get_config_section(section).copy()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user