Calibrate Z‐Offset - Phil1988/FreeDi GitHub Wiki

Calibrating the Z-offset is mandatory. This ensures proper first-layer adhesion and consistent print quality.

Methods to Calibrate the Z-Offset

There are 3 ways to calibrate the Z-offset:

1. Using the Display Menu (recommended)

Follow these steps:

  • Go to "Gear Icon" -> Advanced -> Next Page -> Click on "Z-Offset". image

  • The printer will automatically start PROBE_CALIBRATE and show this screen: image

Use the card provided by Qidi or a piece of paper to raise or lower the nozzle until you feel light resistance when moving the paper.

Once you’ve reached the correct position, confirm the Z-offset.


2. Using the Console in Mainsail

This method is similar to the previous one but requires starting the calibration from the Console.
Enter the following commands in the Console to start the calibration:

G28
G1 X100 Y100
SCREWS_TILT_CALCULATE

3. Using a Macro in Mainsail

You can also initiate the Z-offset calibration by using the "CALIBRATE Z OFFSET" macro in Mainsail. The process is identical to the previous method.

Starting from FreeDi v1.40, a macro for bed leveling is included in the preconfigured images. Users who have been using it for a while can add this section to their macro.cfg to enable the feature:

# Probe Calibration
# For more information, see https://www.klipper3d.org/Probe_Calibrate.html
[gcode_macro CALIBRATE_Z_OFFSET]
description: "Calibrate the Z offset using the probe"
gcode:
    {% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}
    {% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %}

    G28                                                                                                         ; Home all
    G0 Z10                                                                                                      ; Increase z clearance
    G0 X{max_x/2} Y{max_y-40} F6000                                                                             ; Move to bed center 
    PROBE_CALIBRATE                                                                                             ; Perform a probe calibration

image

By following one of these methods, you'll be able to successfully calibrate your Z-offset, ensuring your printer produces consistent and high-quality prints.