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:
fess
2019-05-17 20:47:27 -07:00
committed by KevinOConnor
parent 84bae6ff41
commit 9887e72570
7 changed files with 12 additions and 4 deletions

View File

@@ -44,6 +44,7 @@ class BedTiltCalibrate:
self.printer = config.get_printer()
self.bedtilt = bedtilt
self.probe_helper = probe.ProbePointsHelper(config, self.probe_finalize)
self.probe_helper.minimum_points(3)
# Register BED_TILT_CALIBRATE command
self.gcode = self.printer.lookup_object('gcode')
self.gcode.register_command(