diff --git a/printer.cfg b/printer.cfg index 5073072..32dea4d 100644 --- a/printer.cfg +++ b/printer.cfg @@ -577,27 +577,27 @@ gcode: # Faster quad gantry level # cf. https://klipper.discourse.group/t/faster-quad-gantry-level-macro/19044 -[gcode_macro QUAD_GANTRY_LEVEL] -rename_existing: _QUAD_GANTRY_LEVEL -gcode: - # If QGL is not applied, first run a coarse calibration - {% if printer.quad_gantry_level.applied == False %} - _QUAD_GANTRY_LEVEL RETRY_TOLERANCE=1.0 - {% endif %} - # then perform fine QGL down to desired spec - # this has to be a separate macro call so the results of the above call will be visible! - _FINE_QUAD_GANTRY_LEVEL - -[gcode_macro _FINE_QUAD_GANTRY_LEVEL] -gcode: - {% if printer.quad_gantry_level.applied == True %} - # go for full quality at reduced probing height - _QUAD_GANTRY_LEVEL HORIZONTAL_MOVE_Z=1.0 # <- set your preferred probing height here! - {% else %} - # This should never happen, just perform the full calibration using the defaults - {action_respond_info("Fine QGL called without calling course QGL first!")} - _QUAD_GANTRY_LEVEL # default behavior, no speedup - {% endif %} +# [gcode_macro QUAD_GANTRY_LEVEL] +# rename_existing: _QUAD_GANTRY_LEVEL +# gcode: +# # If QGL is not applied, first run a coarse calibration +# {% if printer.quad_gantry_level.applied == False %} +# _QUAD_GANTRY_LEVEL RETRY_TOLERANCE=1.0 +# {% endif %} +# # then perform fine QGL down to desired spec +# # this has to be a separate macro call so the results of the above call will be visible! +# _FINE_QUAD_GANTRY_LEVEL +# +# [gcode_macro _FINE_QUAD_GANTRY_LEVEL] +# gcode: +# {% if printer.quad_gantry_level.applied == True %} +# # go for full quality at reduced probing height +# _QUAD_GANTRY_LEVEL HORIZONTAL_MOVE_Z=1.0 # <- set your preferred probing height here! +# {% else %} +# # This should never happen, just perform the full calibration using the defaults +# {action_respond_info("Fine QGL called without calling course QGL first!")} +# _QUAD_GANTRY_LEVEL # default behavior, no speedup +# {% endif %} [gcode_macro PRINT_START] # Use PRINT_START for the slicer starting script - please customise for your slicer of choice