jlas1 / Klicky-Probe

Microswitch probe with magnetic attachement, primarily aimed at CoreXY 3d printers
GNU General Public License v3.0
1.26k stars 280 forks source link

Upgrading to new Klipper macros leads to printer no longer auto-attaching/auto-docking #152

Closed kubark42 closed 2 years ago

kubark42 commented 2 years ago

I recently upgraded the Klipper macros. I copied over all the old settings, as instructed. Everything works fine, but now I have to manually click the Attach and Dock macros in MainSail. Clicking the QGL (Quad Gantry Leveling) or the Bed Mesh Calibration no longer automatically attach the probe at the beginning and dock it at the end.

Perhaps of importance: when I click the QGL button, the print head immediately travels to the first probe location. It then halts there with a Probe triggered prior to movement.

kubark42 commented 2 years ago

Aaand, figured it out. This was due to documentation confusion, where https://github.com/jlas1/Klicky-Probe/tree/main/Klipper_macros#updating-from-an-earlier-version mentions changing variables in klicky-probe.cfg, but the variables listed are all in klick-variables.cfg.

It turns out that both files need to be updated, as klicky-probe.cfg contains the includes which need to be set correctly. In my case,

#Simple way to include all the various klicky macros and configurations
# the current home for this configuration is https://github.com/jlas1/Klicky-Probe, please check it

#[include ./klicky-specific.cfg]                #place to put other configurations specific to your printer
[include ./klicky-variables.cfg]                #Required
[include ./klicky-macros.cfg]                   #Required
[include ./klicky-bed-mesh-calibrate.cfg]      #bed mesh, requires klipper configuration
#[include ./klicky-screws-tilt-calculate.cfg]   #help adjust bed screws automatically
[include ./klicky-quad-gantry-level.cfg]       #level 4 Z motors
#[include ./klicky-z-tilt-adjust.cfg]           #level 2 or 3 Z motors