This is an old revision of the document!
SCREWS_TILT_CALCULATE
SCREWS_TILT_CALCULATE [DIRECTION=CW|CCW] [MAX_DEVIATION=<value>] [HORIZONTAL_MOVE_Z=<value>] [<probe_parameter>=<value>]
Invokes the Klipper native bed screws adjustment tool. It will command the nozzle to different locations (as defined by the [SCREWS_TILT_ADJUST] stanza in printer.cfg) probing the z height and calculate the number of knob turns to adjust the bed level.
When SCREWS_TILT_CALCULATE is used with the MAX_DEVIATION parameter it can be used to test ahead of printing that the bed is level to within the specified maximum deviation. The command will raise a gcode error if any difference in the screw height relative to the base screw height is greater than the value provided.
IMPORTANT: You MUST always do a G28 before using this command.
For instructions on running SCREWS_TILT_CALCULATE read these klipper docs] and you can watch [[ystc|this video for an overview of the process.