bed_level: hide the panel if bed_screws or screws_tilt_calculate are not defined

there are printers with fixed beds that don't need this panel
This commit is contained in:
alfrix authored and Alfredo Monclus committed 2022-08-01 12:23:40 -03:00
1 parent aa2bfcbaee
commit c047bed518
5 files changed
+111 -115

No files matched your search

+3
View File
@@ -2,6 +2,9 @@
Breaking changes will be listed here.
#### [2022 08](https://github.com/jordanruthe/KlipperScreen/)
* The bed level panel will use `[bed_screws]` if defined else`[screws_tilt_calculate]`
#### [2022 03 21](https://github.com/jordanruthe/KlipperScreen/commit/bc34b3c8d6761c27a0b0c62fc4dfa11442b417f6)
* Default configuration is now merged again.
Fixing [2021 05 20](https://github.com/jordanruthe/KlipperScreen/commit/eb801486928bf02709033dcbc5f0a45ca43b23c1)
+5 -5
View File
@@ -20,12 +20,12 @@ Klipper Sections:
* [bed_screws](https://www.klipper3d.org/Config_Reference.html#bed_screws)
* [screws_tilt_adjust](https://www.klipper3d.org/Config_Reference.html#screws_tilt_adjust)
_Important Note: Due to Klipper using the bltouch/probe offsets in screws_tilt_adjust, if a bltouch/probe is enabled_
_KlipperScreen will add the offset to the defined screw values. This will not occur if bed_screws section is used._
!!! important:
`[bed_screws]` uses Nozzle positions and `[screws_tilt_adjust]` uses Probe positions
This panel will favor screws_tilt_adjust over the bed_screws section. If screws_tilt_adjust is defined, an extra button
for _Screws Calibrate_ will appear. This button runs the SCREWS_TILT_CALCULATE command and shows the results on the
panel.
This panel will favor `[bed_screws]` but if it's not defined,
the probe offset will be applied to the defined screw values in `[screws_tilt_adjust]`,
this way the position buttons behave like if `[bed_screws]` was defined.
### Bed Mesh
```py