aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/z_tilt.py
diff options
context:
space:
mode:
authorfess <fess@fess.org>2019-05-17 20:50:13 -0700
committerKevinOConnor <kevin@koconnor.net>2019-05-21 14:17:09 -0400
commit7d2e3de9777e00592fd11c4cd03651ac82c3d4d4 (patch)
treef5e9a04d00f7ec6100d9d4b648b18d28b907f6ca /klippy/extras/z_tilt.py
parent9887e725702aa4867f4fa03fecb243a32e5c8880 (diff)
downloadkutter-7d2e3de9777e00592fd11c4cd03651ac82c3d4d4.tar.gz
kutter-7d2e3de9777e00592fd11c4cd03651ac82c3d4d4.tar.xz
kutter-7d2e3de9777e00592fd11c4cd03651ac82c3d4d4.zip
z_tilt: minimum points 2
"The z_tilt_adjust was coded to require 3 points because the original intent was for railcore-xl and voron. Since then, a number of users have started using z_tilt_adjust for prusa i3 style printers with dual z steppers. That's fine, but we just haven't gotten around to removing the superfluous check in the code." -- Kevin O'Connor remove that check. Signed-off-by: John "Fess" Fessenden <fess@fess.org>
Diffstat (limited to 'klippy/extras/z_tilt.py')
-rw-r--r--klippy/extras/z_tilt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/z_tilt.py b/klippy/extras/z_tilt.py
index db8f76dd..5086c7f0 100644
--- a/klippy/extras/z_tilt.py
+++ b/klippy/extras/z_tilt.py
@@ -23,7 +23,7 @@ class ZTilt:
if len(z_positions) < 2:
raise config.error("z_tilt requires at least two z_positions")
self.probe_helper = probe.ProbePointsHelper(config, self.probe_finalize)
- self.probe_helper.minimum_points(3)
+ self.probe_helper.minimum_points(2)
self.z_steppers = []
# Register Z_TILT_ADJUST command
self.gcode = self.printer.lookup_object('gcode')