mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-14 18:28:00 -06:00
safe_z_home: Support note_z_not_homed() in kinematics (#2500)
Signed-off-by: David Smith <davidosmith@gmail.com>
This commit is contained in:
parent
7a3cbc1e23
commit
c0f72a2c38
4 changed files with 11 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue