From c0f72a2c38bc37c623ad8edf300f892dff6940a0 Mon Sep 17 00:00:00 2001 From: David Smith Date: Sun, 1 Mar 2020 23:00:41 -0500 Subject: safe_z_home: Support note_z_not_homed() in kinematics (#2500) Signed-off-by: David Smith --- klippy/kinematics/polar.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'klippy/kinematics/polar.py') diff --git a/klippy/kinematics/polar.py b/klippy/kinematics/polar.py index 565525f2..e3ee3241 100644 --- a/klippy/kinematics/polar.py +++ b/klippy/kinematics/polar.py @@ -52,6 +52,9 @@ class PolarKinematics: self.limit_z = self.rails[1].get_range() if 0 in homing_axes and 1 in homing_axes: self.limit_xy2 = self.rails[0].get_range()[1]**2 + def note_z_not_homed(self): + # Helper for Safe Z Home + self.limit_z = (1.0, -1.0) def _home_axis(self, homing_state, axis, rail): # Determine movement position_min, position_max = rail.get_range() -- cgit v1.2.3-70-g09d2