klippain icon indicating copy to clipboard operation
klippain copied to clipboard

Support for dockable probes with fixed z-height

Open jannwieland opened this issue 1 year ago • 4 comments

Describe the feature or hardware support you'd like

I am using a dockable probe at a fixed z-height. Currently there is no option to for the _ATTACH_PROBE and _DOCK_PROBE macros to use a specific z-height.

PXL_20240622_110337885

In the current state, the macros fail if printer.toolhead.position.z > probe_min_z_travel since the toolhead misses the dock.

Additional context or information

Possible Solution:

Add a user variable like probe_z_fixed and change the probe_min_z_travel check in both _ATTACH_PROBE and _DOCK_PROBE to something like this:

# Move to safe Z
{% if (printer.toolhead.position.z < probe_min_z_travel or probe_z_fixed) %}
    {% set safe_z = probe_min_z_travel - printer['gcode_move'].homing_origin.z %}
    {% if verbose %}
        { action_respond_info("Moving to a safe Z distance") }
    {% endif %}
    G0 Z{safe_z} F{z_drop_speed}
{% endif %}

jannwieland avatar Jun 22 '24 12:06 jannwieland

question: how does the z probe work in this case when you have unhomed Z? do you use another z endstop? do i see it on the right?

i do wonder if this is a good idea to add possible another variable that might conflict with other settings. But I think that might be something for @Frix-x

Surion79 avatar Jun 26 '24 21:06 Surion79

Sorry for the late reply. Yes it's on the right. I use the standard z-endstop from the Voron 2.4 kit for homing and the klipper_z_calibration.

I've recently added a blobifier to my setup and had to relocate the klicky probe.

jannwieland avatar Jun 28 '24 20:06 jannwieland

📌 This issue has been marked as stale because it has not had activity in the past 30 days. To keep it open, please respond to this message or add new information. Otherwise, this will be closed in 14 days. Thank you for your contributions!

github-actions[bot] avatar Jul 29 '24 07:07 github-actions[bot]

This issue was closed due to inactivity for 14 days. Feel free to reopen it if you think it was an error or if you have new information or progress to share

github-actions[bot] avatar Aug 12 '24 07:08 github-actions[bot]

📌 This issue has been marked as stale because it has not had activity in the past 30 days. To keep it open, please respond to this message or add new information. Otherwise, this will be closed in 14 days. Thank you for your contributions!

github-actions[bot] avatar Sep 13 '24 07:09 github-actions[bot]

This issue was closed due to inactivity for 14 days. Feel free to reopen it if you think it was an error or if you have new information or progress to share

github-actions[bot] avatar Sep 27 '24 07:09 github-actions[bot]