You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[gcode_macro CALIBRATE_Z]
rename_existing: BASE_CALIBRATE_Z
gcode:
{% set bed_position = params.BED_POSITION|default('None') %}
G28 # can also be a conditional homing macro
M117 Z-Calibration..
ATTACH_PROBE # a macro for fetching the probe first
{% if bed_position != 'None' %}
BASE_CALIBRATE_Z BED_POSITION={bed_position}
{% else %}
BASE_CALIBRATE_Z
{% endif %}
DETACH_PROBE # and parking it afterwards (or DOCK_PROBE in klicky macros)
M117
I get the error "Existing command 'CALIBRATE_Z' not found in gcode_macro rename"
Not sure what I am doing wrong.
The text was updated successfully, but these errors were encountered:
I did both, what I also did is adding [z_calibration] in a separate file so the module wasn't loading....
Took me too long to find this: https://www.klipper3d.org/Code_Overview.html#adding-a-host-module
Now that I have [z_calibration] in the printer.cfg file, the command can be found...
Ah, sorry! Yes, you also need to configure it and if you have a separate file, you need to include it into the printer.cfg file. Great, you found it - best learning 👍
After adding
I get the error "Existing command 'CALIBRATE_Z' not found in gcode_macro rename"
Not sure what I am doing wrong.
The text was updated successfully, but these errors were encountered: