three point strategy options

Three probe points define the bed plane: Smoothie keeps Z parallel to the measured plane during the job.
Three probe points define the bed plane #

The three-point leveling strategy in Smoothieware probes three points on your bed to define a plane, then keeps the Z axis parallel to that plane during printing.

This is useful if your Z plate/bed is not perfectly aligned with your XY gantry.

The following table lists the configuration options for this leveling strategy:

Option Value Description
`true` Set to true to enable the leveling strategy that probes three points to define a plane and then keeps the Z parallel to that plane. This is useful if your Z plate/bed is not perfectly aligned with your XY gantry.
`100.0,0.0` The first probe point (X, Y).
`200.0,200.0` The second probe point (X, Y).
`0.0,200.0` The third probe point (X, Y).
`true` Home the X and Y axes before probing.
`0.03` The probe tolerance in millimeters, anything less than this will be ignored, default is 0.03mm.
`0,0,0` The probe offset from nozzle, must be X,Y,Z (Z should always be 0), default is no offset. This is used if your nozzle is not exactly at the same position as where your tool would be.
`false` Set to true to allow the bed plane to be saved with M500, default is false.

Three-point levelling

If your plate is perfectly flat, but not perfectly level, this is all you need. It is for Cartesians, do not use it on deltas, it just won’t work.

The firmware probes three user specified points on the bed, and determines the plane of the bed relative to the probe. As the head moves in X and Y it will adjust Z to keep the head tram with the bed.

The probe does not set the bed height. It finds the relative level of the bed based on the first probe point, so after you have defined the bed plane with G32, you then set the bed height at the first probe point and use M206 or M306 to set the homing offset. Once saved you do not need to do the Z probe or bed height again. In this case it is best to have a Z endstop as well as the Z probe, the Z endstop is used to set the bed height after the probe. This is different to other firmware, and is deliberate : it allows people to use temporary Z probes, and not have a permanent Z probe or know the exact Z offset of the probe in relation to the nozzle. In addition the Z component of probe_offsets should always be zero. The three probe points MUST be the three corners of a triangle, they MUST NOT be on a straight line, or the math and coordinate system will get corrupt and you will need to reset.

The strategy must be enabled in the config, as well as the Z probe. The three probe points are best if they are the three points of an equilateral triangle, as far apart as possible. They can be defined in the config file, or defined ( and saved with M500 ) using M557 P0 X30 Y40.5 where P is 0, 1 or 2. The probe offsets may also be set with M565 X0 Y0 Z0.

You can save the bed plane so it can be used again without probing again, presuming the bed stays flat. For this to be effective you must do your Z home to the first probe point defined when creating the plane. Set the Z height to zero at the first probe point, then the bed plane should be relative from that point on. You save it with M500, although it will not display with M503 as it is not a user settable value.

Usage

After configuring three-point leveling, you need to:

  1. Home your machine: Use G28 to home all axes
  2. Run the leveling: Use G32 to execute the three-point probe sequence
  3. Save (optional): If save_plane is true, use M500 to save the results

The leveling will be applied to all subsequent moves automatically.

This is a wiki! If you'd like to improve this page, you can edit it on GitHub.