Skip to content

Commit

Permalink
Macros: check for true zero when zeroing z before bed mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
miklschmidt committed Nov 10, 2024
1 parent b6a8377 commit 4ac53c6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions macros.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ac53c6

Please sign in to comment.