From 4ac53c64567d75a93f0341b1f4bcf5c5d3104159 Mon Sep 17 00:00:00 2001 From: Mikkel Schmidt Date: Sun, 10 Nov 2024 01:19:27 +0100 Subject: [PATCH] Macros: check for true zero when zeroing z before bed mesh --- macros.cfg | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/macros.cfg b/macros.cfg index 688e4b54..0d0e8066 100644 --- a/macros.cfg +++ b/macros.cfg @@ -611,9 +611,13 @@ gcode: # Calibrate a new beacon model on print if enabled - {% if printer.configfile.settings.beacon is defined and beacon_contact_calibrate_model_on_print %} + {% if printer.configfile.settings.beacon is defined and beacon_contact_start_print_true_zero %} _MOVE_TO_SAFE_Z_HOME - BEACON_AUTO_CALIBRATE + {% if beacon_contact_calibrate_model_on_print %} + BEACON_AUTO_CALIBRATE + {% else %} + BEACON_AUTO_CALIBRATE SKIP_MODEL_CREATION=1 + {% endif %} {% endif %} # Run the user created "AFTER_HEATING_BED" macro