After idex_modes: COPY and MIRROR mode implementation by dmbutyugin · Pull Request #6297 · Klipper3d/klipper · GitHub the kinematics status is no longer in sync with the actual limits.
The axis_minimum and axis_maximum is the full axis range, not the limited range set by IDEX mode.
And Klippy will error out if you try to move to the unavailable area.
The minimum/maximum has next to no users so no obvious harm.
Still I’m looking for an API to get the current movement range, with 3 ideas:
- expose realtime limits into toolhead status
- change the kinematics min/max to be realtime limits.
- kinematics.find_limit(position, direction) - that can support non-rectangular kinematic, but not really accesible via macros.