mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-09 06:45:26 -06:00
probe: ProbePointsHelper adjustable minimum points
Factor out minimum required points check for ProbePointsHelper in prep for setting different values for quad_gantry_level and z_tilt_adjust Signed-off-by: John "Fess" Fessenden <fess@fess.org>
This commit is contained in:
parent
84bae6ff41
commit
9887e72570
7 changed files with 12 additions and 4 deletions
|
@ -46,6 +46,7 @@ class ScrewsTiltAdjust:
|
|||
self.probe_helper = probe.ProbePointsHelper(self.config,
|
||||
self.probe_finalize,
|
||||
default_points=points)
|
||||
self.probe_helper.minimum_points(3)
|
||||
# Register command
|
||||
self.gcode = self.printer.lookup_object('gcode')
|
||||
self.gcode.register_command("SCREWS_TILT_CALCULATE",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue