Guides

Extruder rotation distance

Klipper turns the extruder motor by rotation_distance for every millimetre of filament it asks for. If that number is off, every print is over or under-extruded by the same percentage. Mark the filament, extrude 100 mm, measure what actually went in, and this page gives the corrected value.

Do this after you change the extruder, the drive gears, or the stepper, before you tune flow in the slicer.

After 20 mmBefore 120 mm

  1. 1Mark

    Heat the hotend to printing temperature. Mark the filament about 120 mm above where it enters the extruder.

  2. 2Measure

    Measure from the top of the extruder body to the mark with calipers. Enter it as the mark before.

  3. 3Extrude

    Run the G-code below. It pushes 100 mm at 1 mm/s, slow enough that the nozzle does not hold it back.

  4. 4Measure again

    Measure from the same edge of the extruder to the same mark. Enter it as the mark after.

Your measurements

From your printer

Test G-code
M83
G1 E100 F60

New rotation_distance

Enter the rotation_distance from the [extruder] section of printer.cfg. The new value is worked out from it.

Klipper extruder

mark
120.0 mm
after
20.4 mm
moved
99.6 mm
rotation_distance
22.587

Feeding filament

Click or press Esc to skip