aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/delta_calibrate.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/delta_calibrate.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/delta_calibrate.py')
-rw-r--r--klippy/extras/delta_calibrate.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/extras/delta_calibrate.py b/klippy/extras/delta_calibrate.py
index 429779aa..cc74c0b8 100644
--- a/klippy/extras/delta_calibrate.py
+++ b/klippy/extras/delta_calibrate.py
@@ -143,6 +143,7 @@ class DeltaCalibrate:
points.append((math.cos(r) * dist, math.sin(r) * dist))
self.probe_helper = probe.ProbePointsHelper(
config, self.probe_finalize, default_points=points)
+ self.probe_helper.minimum_points(3)
# Restore probe stable positions
self.last_probe_positions = []
for i in range(999):