aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/bed_tilt.py
diff options
context:
space:
mode:
authorfess <fess@fess.org>2019-05-17 20:47:27 -0700
committerKevinOConnor <kevin@koconnor.net>2019-05-21 14:17:09 -0400
commit9887e725702aa4867f4fa03fecb243a32e5c8880 (patch)
treeed176ac791b984dba33aaf9a900bf7b3b56e05dc /klippy/extras/bed_tilt.py
parent84bae6ff41283a161b16321c72a68813d4ff333a (diff)
downloadkutter-9887e725702aa4867f4fa03fecb243a32e5c8880.tar.gz
kutter-9887e725702aa4867f4fa03fecb243a32e5c8880.tar.xz
kutter-9887e725702aa4867f4fa03fecb243a32e5c8880.zip
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>
Diffstat (limited to 'klippy/extras/bed_tilt.py')
-rw-r--r--klippy/extras/bed_tilt.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/extras/bed_tilt.py b/klippy/extras/bed_tilt.py
index b94bf189..0826f765 100644
--- a/klippy/extras/bed_tilt.py
+++ b/klippy/extras/bed_tilt.py
@@ -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(