Closed Surion79 closed 1 year ago
Hi I set this on my v2.4 with TAP to:
variable_startprint_actions: "bed_soak", "chamber_soak", "tilt_calib", "clean", "z_offset", "bedmesh", "extruder_heating", "purge", "clean", "primeline"
z_offset do G28 Z
[gcode_macro _MODULE_Z_CALIB]
gcode:
# ----- Z CALIBRATION --------------------------------
# If auto z calibration plugin is enabled, we measure the nozzle height using the physical Z endstop probe, followed by
# a measurement of the probe on the physical Z endstop probe, and then a measurement of the center of the bed (or mesh)
# If it's a TAP probe or inductive probe or no Z calibration, then it's only a G28 Z to get a correct Z offset measurement
{% set FL_SIZE = printer["gcode_macro START_PRINT"].fl_size %}
{% set zcalib_plugin_enabled = printer["gcode_macro _USER_VARIABLES"].zcalib_plugin_enabled %}
{% set bed_mesh_enabled = printer["gcode_macro _USER_VARIABLES"].bed_mesh_enabled %}
{% if bed_mesh_enabled and printer.bed_mesh.profile_name == "" %}
COMPUTE_MESH_PARAMETERS SIZE={FL_SIZE}
{% endif %}
{% if zcalib_plugin_enabled %}
CALIBRATE_Z
{% else %}
G28 Z
{% endif %}
Oh, thats nice placement!
Is there any reason against adding a G28 Z after the completion of a QGL? The G32 command always adds a G28 Z at the end and i would love it to have that without editing the repo on my printer. How could it be implemented in Klippain? Either by a setting or as default?