Skip to content
Calculate price Order tracking

Printer calibration guide

Tune your FDM printer step by step: 14 steps from the frame check to XYZ steps, with test print generators and calculators on one page. G-code files are prepared in your browser; none of your data is sent to the server.

Before you start

Follow the steps in menu order. Each test assumes that the previous setting is correct; for example, a temperature tower gives no meaningful result on a printer whose first layer is not dialed in.

Read carefully

The G-code generated on this page moves and heats your printer directly. There are input limits and a bed overflow check, but they cannot catch every mistake.

  • Check your printer's limits before printing the files.
  • Before printing, open the file in the preview of your slicer or a G-code viewer.
  • Only run the print while you are present and able to stop it immediately if necessary.
  • The responsibility lies with the user.

Your firmware

Type the commands into the console of your web interface. Permanent settings live in the printer.cfg file: if you edited the file by hand, type RESTART. SAVE_CONFIG only saves the values found by calibration commands, restarts Klipper and aborts any running print.

Do not select G29 or M420 in the test files; for Klipper use the BED_MESH options. M80 does not work in Klipper unless it has been defined separately.

How are the test files prepared?

Fill in the form in the relevant step and press the Download G-code button. The file is calculated in your browser from the values you entered. This is not a general-purpose slicer; it only produces calibration parts. The values you enter are stored in your browser, so you do not need to type them again for the next test.

Generator defaults

  • Marlin syntax (most commands also work with Klipper and RepRapFirmware)
  • 1.75 mm filament, absolute extrusion (M82), flow 100%
  • Line width is 1.2 times the nozzle diameter
  • First layer at half the base speed, outer wall 60%, solid infill 80%, travel 167%
  • Z moves at 20 mm/s
  • No nozzle priming line (for delta printers); add one to the additional start code if you wish
  • Part fan at 100% on bridges
  • For 2.85 mm filament, add M221 S38 to the additional start code; for 3.00 mm, add M221 S34

Default start and end code

In every form you can add to these or use entirely your own code.

G90
M82
M106 S0
M140 S[bed]
M190 S[bed]
M104 S[nozzle - 50]
G28
(bed leveling)
M109 S[nozzle]
G0 Z3
G92 E0
G1 E[retract]
G1 Z[print + 5]
G28 X0
M106 S0
M104 S0
M140 S0
M84

Frame check

Purpose
To avoid trying to cover up a mechanical problem with a software setting.
When
When frame or motion parts have been removed and refitted, or replaced.
What you need
Basic wrenches and a set of hex keys.

Checking with the firmware

STEPPER_BUZZ STEPPER=stepper_x
QUERY_ENDSTOPS
QUERY_PROBE

STEPPER_BUZZ moves the selected motor back and forth over a short distance; change the name for Y, Z and the extruder. QUERY_ENDSTOPS shows the endstops and QUERY_PROBE shows the leveling sensor.

If [z_tilt] is defined for dual Z motors, or [quad_gantry_level] for a four-point gantry, run the corresponding command after homing.

G28
Z_TILT_ADJUST
QUAD_GANTRY_LEVEL

M119 shows the state of the endstops and the sensor.

PID autotune

Purpose
Safe and stable nozzle and bed temperatures.
When
When the hotend, silicone sock, fan duct, bed surface or bed insulation changes.
What you need
A terminal program or the console in the printer's web interface.

Since the heaters are the riskiest parts of a printer, this is the first electronic setting. Measure under conditions close to printing: filament loaded, part fan at its normal speed.

1. Turn on the part fan

M106 S255

2. Nozzle tuning

Enter the temperature you print at most often as the S value. U1 stores the result in memory. For the command, see the Marlin M303 documentation.

M303 E0 S200 U1
M500

3. Bed tuning

PIDTEMPBED must be enabled in the firmware. The bed is selected with E-1.

M303 E-1 S60 U1
M500

Printers without EEPROM storage

Add the P, I and D values shown in the terminal to your slicer's start code so that they are loaded before every print.

M301 E0 P[p] I[i] D[d]
M304 P[p] I[i] D[d]

1. Nozzle tuning

Turn on the part fan and enter the temperature you print at most often.

M106 S255
PID_CALIBRATE HEATER=extruder TARGET=200
SAVE_CONFIG

2. Bed tuning

The [heater_bed] section may say control: pid or watermark; the measured result is saved as PID.

PID_CALIBRATE HEATER=heater_bed TARGET=60
SAVE_CONFIG

SAVE_CONFIG writes the values to the end of the printer.cfg file and restarts Klipper. You do not need to add any extra lines to the start code.

Extruder E-steps calibration

Purpose
To make the extruder actually feed the requested length of filament.
When
At first setup and when the extruder or hotend is changed.
What you need
A ruler, a fine permanent marker and a terminal program.

X, Y and Z steps rarely change on most printers; the extruder, however, varies with the hardware and filament. If possible, separate the extruder from the hotend and measure. If you cannot, extrude very slowly at 10 °C above the normal printing temperature.

  1. Read the current value. If you only get an ok reply, look for the M92 line in the M503 output.
    M92
  2. Raise and heat the nozzle, then switch to relative extrusion (Marlin G91, Klipper and RRF M83).
    G91
  3. Mark the filament 120 mm above the extruder inlet.
  4. Extrude 100 mm of filament.
    G1 E100 F50
  5. Measure the distance left between the mark and the extruder inlet and enter it below. With a correct setting, 20 mm remains.
  6. When you are done, return to absolute positioning (Marlin G90, Klipper and RRF M82).
    G90
  1. Note the rotation_distance value in the [extruder] section of printer.cfg. Do not touch the gear_ratio line.
  2. Heat the nozzle and switch to relative extrusion.
    M109 S210
    M83
  3. Mark the filament 120 mm above the extruder inlet.
  4. Extrude 100 mm of filament with two commands. By default Klipper extrudes at most 50 mm in a single command (max_extrude_only_distance).
    G1 E50 F60
    G1 E50 F60
  5. Measure the distance left between the mark and the extruder inlet and enter it below. With a correct setting, 20 mm remains.
  6. When you are done, return to absolute extrusion.
    M82

Enter the new value, save it with M500, then repeat the test to verify. Some printers do not allow saving with M500; in that case add the M92 line to the start code.

Dual or multiple extruders

By default Marlin applies the same E value to all extruders. For separate values, DISTINCT_E_FACTORS must be enabled in the firmware. If you cannot compile, add each extruder's M92 line to the slicer's tool change code.

Write the new value into the rotation_distance line, save the file, issue the RESTART command and repeat the test to verify.

Dual or multiple extruders

Each extruder ([extruder], [extruder1]) has its own rotation_distance line; measure each one separately.

First layer

Purpose
A flat bed at the correct distance from the nozzle; a first layer that is squished enough to adhere.
When
At first setup, during regular maintenance, after changing the nozzle or surface, and when adhesion deteriorates.
What you need
The generator below and a sheet of office paper.

Basic principle

The bed must be parallel to the plane in which the nozzle moves in X-Y, and the distance between them must be correct. If the nozzle is too far, the filament does not stick to the bed; if it is too close, the plastic spreads out and forms an “elephant's foot”; if it is much too close, the filament cannot come out and the extruder skips.

Manual leveling

With the bed at printing temperature, move the nozzle to the corners and turn the corner screws until a sheet of paper (or an oil-free 0.1 mm feeler gauge) passes with light friction. Heating the nozzle to just below the point where it oozes makes the job easier. Then fine-tune while printing the test squares.

If the corner screws are defined with [bed_screws], the first command takes you to the corners one by one. If you have a sensor and [screws_tilt_adjust], the second command tells you how far to turn each screw.

G28
BED_SCREWS_ADJUST
SCREWS_TILT_CALCULATE

Automatic leveling and Z offset

Touch, inductive or strain gauge sensors probe the bed in a grid and produce a height map (mesh). You can probe again at the start of every print with G29, or load the saved map with M420 S1; both are written after G28. The map compensates for warping, while the Z offset determines the nozzle distance. Rough manual leveling first is still necessary.

  • Touch and inductive sensors: the sensor triggers while the nozzle is still in the air, so the Z offset is negative.
  • Manual mesh leveling: the offset is close to zero.
  • Strain gauge systems: the nozzle touches and flexes the bed, so the offset is positive.

If BABYSTEP_ZPROBE_OFFSET is enabled in Marlin, you can adjust the offset while the first layer is printing and save it to EEPROM.

Set the Z offset with PROBE_CALIBRATE if you have a sensor, otherwise with Z_ENDSTOP_CALIBRATE. Fine-tune with TESTZ until the paper drags lightly, then type ACCEPT.

G28
PROBE_CALIBRATE
TESTZ Z=-0.1
ACCEPT
SAVE_CONFIG

Create the bed mesh and save it:

G28
BED_MESH_CALIBRATE
SAVE_CONFIG

The saved mesh is loaded at the start of a print, after G28, with BED_MESH_PROFILE LOAD=default.

You can change the offset live while the first layer is printing; a negative value brings the nozzle closer.

SET_GCODE_OFFSET Z_ADJUST=-0.02 MOVE=1

After the print is finished, save the result. Use the first line on a printer with a sensor and the second on a printer with an endstop.

Z_OFFSET_APPLY_PROBE
Z_OFFSET_APPLY_ENDSTOP
SAVE_CONFIG

Test squares

One 25 mm single-layer square is printed in each of the four corners and in the center.

Reading the result

Too farCorrectToo close
  • If the lines are round and separated, the nozzle is too far; bring it closer.
  • If the lines are merged and the surface is flat and matte to slightly glossy, it is correct.
  • If the surface is rough, with overflow at the edges or translucent areas, the nozzle is too close; move it away.

If one side is too close and the other too far, correct it with the corner screws and repeat the print until the result is consistent.

Reference print

Purpose
A comparison sample for later tests and hardware changes.
When
Before general calibration or a major change.
What you need
The generator below.

A 20 mm calibration cube prints quickly and shows whether there is a basic problem. Keep the cube and note on it which face is X and which is Y.

Reading the result

If the walls are straight, the corners sharp and the top surface closed, move on to the next step. If there is an obvious defect, go back to the frame check first. Minor defects are resolved in the later tests.

Slicer flow rate

Purpose
To get the amount of plastic the slicer asks for.
When
At first setup and after changing the extruder or hotend; it can be checked again after linear advance.
What you need
Your slicer and digital calipers, preferably showing two decimal places.

E-steps adjust the firmware; the flow rate adjusts the slicer. Slicers call this setting “Flow” or “Extrusion Multiplier”. The method: print a hollow, single-wall cube and measure the wall thickness. Be sure to slice this test with your own slicer.

Slicer settings

On a small part that finishes quickly, the slicer's minimum layer time setting may reduce the speed. If the walls overheat, scale the cube up in X and Y; the wall thickness does not change.

Reading the result

Measure several points on each face, staying away from the distorted bottom and top layers, and take the average.

Slicers that use a percentage

Slicers that use a multiplier

Trust your eyes

The calculation is a starting point. If there are holes in the top surface or gaps between wall and infill, increase the flow; if there is bulging or overflow, reduce it. Holding the cube up to a strong light reveals fine gaps.

Can I use this value in the other tests on this page?

Not directly. This test is a correction specific to your slicer; the generator on this page works with its own profile at 100% flow. The aim of the tests is to find the value you will transfer to your own profile. If you see clear over- or under-extrusion in the prints from this page, you can add a line such as M221 S95 to the additional start code.

Stepper driver current

Purpose
To supply the correct current to the motors.
When
Skipped steps, overheating motors, a heavy bed or a direct drive conversion. If you have no problem, you can skip this.
What you need
For smart drivers, a terminal; for older drivers, a multimeter and a small screwdriver.

Rule of thumb

If the motor skips steps or layers shift, increase the current. If the motor is too hot to touch, reduce it.

If the motor is both hot and skipping steps, check the following:

  • On the extruder: partial clog, displaced PTFE tube, low temperature, first layer too close to the bed.
  • On X, Y, Z: a motor that is small for the mass (upsize kit, glass bed, heavy direct drive toolhead).
  • Mechanical binding: overtight V-wheels, misaligned Z screw.
  • Acceleration, jerk or speed that the motor cannot handle.
  • Current at the driver's limit; cooling helps, but stay within the safe range.

If no balance can be found, most 42 mm stepper motors share the same mounting dimensions; if there is room, you can switch to a longer (higher torque) motor. Before adjusting, find the motor's peak current in the datasheet and the driver's sense resistor on the board.

1. Physical adjustment (trimpot, VREF)

  1. Power the mainboard with 12/24 V, not just USB.
  2. Set the multimeter to DC volts, 2 V range.
  3. Connect the black probe to ground (the negative screw terminal or the USB shell).
  4. Touch the red probe to the trimpot on the driver and read VREF.
  5. Turn the trimpot slowly and measure again.
  6. Repeat for each driver. If you clip the red probe to the metal of the screwdriver with a crocodile clip, you can read while turning.
DriverVREF formula
A4988 (sense resistor usually 0.1)8 × peak current × resistance
DRV8825 (resistor 0.1)peak current / 2
TMC2100(RMS current × 2.5) / 1.77
TMC2208, standalone mode (silent boards)(RMS current × 2.5) / 1.77
LV8729, R100peak current / 2
LV8729, R220peak current × 1.1

RMS current = peak current / 1.41. Some silent boards have R150 resistors instead of R100; the formula above does not apply to these boards, so check the code on the resistor.

2. Adjustment by G-code (TMC connected via UART or SPI)

The value entered here is the RMS current, not the peak. On TMC2208, 2209 and 2130 the sense resistor is 0.11 (Marlin default). For TMC5160 it must be set to 0.075 before compiling. You can enter the current in the firmware (X_CURRENT, Y_CURRENT…), from the LCD menu or from a terminal. After flashing firmware the old value may remain in EEPROM; check with M503.

M906 X680
M500

2. Adjustment with Klipper (TMC connected via UART or SPI)

The current is written in RMS amps in the driver section of printer.cfg. Save the file and issue RESTART. Do not change the driver's pin lines.

[tmc2209 stepper_x]
run_current: 0.580

To try values without restarting and to read the driver status:

SET_TMC_CURRENT STEPPER=stepper_x CURRENT=0.68
DUMP_TMC STEPPER=stepper_x

For the other motors, type stepper_y, stepper_z or extruder. If the driver is in standalone mode, the current is set with the VREF method above.

Temperature tower

Purpose
To find the most suitable nozzle temperature for the filament.
When
At first setup, after a hotend change, or with a new brand or type of filament.
What you need
The generator below.

A high temperature generally increases layer adhesion and gloss, but also stringing and sagging. A low temperature preserves detail, but the part becomes weaker and the hotend may clog. Do not exceed the minimum and maximum temperature limits of your firmware. It interacts with the retraction setting.

The tower has five sections: two pillars, a 20 mm bridge on top of each section, a 45° overhang on the left and a 60° overhang on the right. A is at the bottom, E at the top.

Reading the result

In each section compare the bridge sag, the undersides of the overhangs, the strings between the pillars and the surface. Test layer strength by forcing the sections by hand. Choose the temperature that gives the best appearance with sufficient strength.

Retraction

Purpose
To eliminate stringing: distance, speed, extra restart, deretraction speed and Z hop.
When
At first setup, after a hotend or extruder change, or with new filament.
What you need
The generator below.

Molten plastic keeps flowing even after the extruder stops. Pulling the filament back during travel moves relieves the pressure. The most effective parameter is the retraction distance. Since it interacts with the temperature setting, repeat the two tests in turn if necessary.

Where the parameters are in the slicer

Retraction tower

Two thin pillars are printed, with a retraction on every move between them. The six sections are 5 mm high and their boundaries are marked with a small collar. Change only one parameter per attempt and keep the others the same across all sections.

Reading the result

Identify the sections with the least stringing. Then refine the distance first, followed by the speed, and then the extra restart and Z hop in separate prints.

If the result does not carry over to your own slicer

  • Automatic slowdown on short layers is disabled in this test.
  • The Z hop speed here is 20 mm/s.
  • The retraction acceleration is the value stored in the printer (M204 R).
  • Coast and wipe are disabled in this test; they can be tried separately in the slicer.
  • The firmware's extruder speed limit may be capping the speed you entered (M203, M500 to make it permanent).
  • Travel speed and acceleration (M204 T) affect stringing.
  • The extruder speed and acceleration limits are the max_extrude_only_velocity and max_extrude_only_accel lines in the [extruder] section.
  • During travel moves the acceleration is limited by max_accel.
  • Enabling linear advance reduces the need for retraction; repeat the test.
  • Some slicers expect the extra restart as a volume rather than a length.

Firmware retraction (optional)

If your slicer is going to use G10 / G11, add this to the printer.cfg file:

[firmware_retraction]
retract_length: 0.5
retract_speed: 35
unretract_extra_length: 0
unretract_speed: 35

Try values without restarting and read them back:

SET_RETRACTION RETRACT_LENGTH=0.8 RETRACT_SPEED=40
GET_RETRACTION

The tower on this page performs retraction with its own G1 E moves; these settings do not affect the test file.

If the slicer is going to use G10 / G11, FWRETRACT must be enabled in Marlin, and the values are entered with M207 and M208.

Speed and maximum flow

Purpose
To find the top speed for outer walls in terms of surface quality and reliable flow.
When
Optional: hard-to-feed flexible filament, trying faster printing, reducing surface patterns.
What you need
A terminal program and the generator below.

The upper limit is set either by the melting capacity of the hotend or by the grip of the extruder. The “base speed” in the slicer is not the speed of the whole print; walls are slower, inner infill is faster, and cooling and acceleration change the actual speed.

How does this test work?

The tower is printed in single-wall spiral (vase) mode: after the base there are no retractions or travel moves, and each section has only an outer wall. At section changes the speed is changed with M220; because this command also affects retraction speed, it is not used in the retraction test.

Firmware speed and acceleration limits

For the test you usually only need to raise the speed limit.

The limits are managed with M203 (speed, mm/s) and M201/M204 (acceleration); M503 shows the current values. M201 is the per-axis ceiling. Use M500 to make them permanent.

M203 X500 Y500

The limits are the max_velocity and max_accel lines in printer.cfg. They can be changed temporarily from the terminal.

SET_VELOCITY_LIMIT VELOCITY=500
SET_VELOCITY_LIMIT ACCEL=3000

The limits are the M203 (mm/min) and M201 (mm/s²) lines in config.g. For speed, multiply the mm/s value by 60; do not touch the Z and E values.

M203 X30000 Y30000

Speed tower

The five sections are 10 mm high. Choose a speed for section A that will adhere reliably to the base. The flow is calculated from 1.2 × nozzle width and the layer height. There is no slowdown on short layers; your slicer may be printing the same part more slowly.

Reading the result

Stopping the print when the flow starts to thin out or the extruder starts skipping prevents a clog. Take the section below the one where the surface deteriorates or the flow falls short as your limit.

From flow to maximum speed

Acceleration and cornering speed

Purpose
A balance between speed and surface quality (ghosting, ringing).
When
At first setup and after major changes to the motion system.
What you need
A terminal program and the generator below.

The printer does not reach the entered speed instantly; on short moves it may never reach it. How much the speed drops at a corner is determined by jerk, by junction deviation in newer Marlin, and by square corner velocity in Klipper. High values make motion faster but increase ringing and wear; values that are too low cause bulging at the corners.

Optional: finding the maximum feed rate by hand

The tower in the Speed and maximum flow step gives a more accurate result; this is a quick approximation.

  1. Clean the drive gear, bring the nozzle to printing temperature and load the filament.
  2. Switch to relative mode and slowly extrude 50 mm of filament.
    G91
    G1 E50 F120
  3. If the flow is smooth, repeat at a higher speed; stop when the flow breaks down, the motor skips or the gear grinds the filament.
    G1 E50 F180
    G1 E50 F240
    G1 E50 F300
  4. Go back one step, verify a few times and return to absolute mode.
    G90

The result varies with the filament, color and ambient temperature; be conservative.

Firmware

If the M205 line in the M503 output has X, Y, Z, your printer uses jerk; if it has J, it uses junction deviation.

Klipper manages cornering behavior with square_corner_velocity; 5 mm/s means slowing down to this speed at a 90-degree corner.

RepRapFirmware uses the maximum instantaneous speed change instead of jerk (M205, mm/s).

Acceleration tower

A hollow, two-wall square tower with notches is printed; the notches make ringing visible. The six sections are 5 mm each. In each print change either the acceleration or the cornering value.

This file changes the printer's acceleration settings for the test. Turning the printer off and on before the next print is the easiest way to revert.

Reading and saving the result

Compare the waves after the notches and the corner bulging between sections. Fix the best acceleration, then repeat the same test while changing the cornering value.

Use the M205 line that matches your printer. If the M201 axis limit is lower than M204, raise it too.

M204 P400
M205 X8 Y8
M205 J0.05
M500

Save the printer.cfg file and restart Klipper. Current versions have minimum_cruise_ratio instead of max_accel_to_decel.

[printer]
max_accel: 400
square_corner_velocity: 5.0

Write this into config.g and restart. Do not change the Z and E values.

M204 P400 T1000
M205 X8 Y8

Slicers may write acceleration commands into their own start code or profile; if the new value has no effect, update the slicer as well.

Input shaping

Input shaping, available in Klipper and RepRapFirmware, compensates for the machine's resonance frequency and greatly reduces ringing at high acceleration.

If an accelerometer is connected, Klipper does the measurement:

SHAPER_CALIBRATE
SAVE_CONFIG

Without an accelerometer, slice Klipper's ringing test model and issue these commands just before printing:

SET_VELOCITY_LIMIT MINIMUM_CRUISE_RATIO=0
SET_PRESSURE_ADVANCE ADVANCE=0
SET_INPUT_SHAPER SHAPER_FREQ_X=0 SHAPER_FREQ_Y=0
TUNING_TOWER COMMAND=SET_VELOCITY_LIMIT PARAMETER=ACCEL START=1500 STEP_DELTA=500 STEP_HEIGHT=5

Calculate the frequency from the ringing marks, write it into the printer.cfg file, then issue RESTART. The frequencies are specific to your printer; the ones below only show the format. Measurement method: Klipper resonance compensation documentation.

[input_shaper]
shaper_freq_x: 40.0
shaper_freq_y: 35.0
shaper_type: mzv

Linear advance (pressure advance)

Purpose
To reduce corner bulging and lines that alternate between thin and thick.
When
At first setup, after an extruder change, or with new filament.
What you need
For Marlin, the K-factor pattern generator; for Klipper, the square tower model.

Because of the pressure in the nozzle, the plastic comes out slightly later than the extruder moves: the start of a line is weak and the end is thick. Linear advance moves the extruder ahead and back accordingly.

  • It is often disabled in Marlin; the firmware has to be compiled to enable it.
  • It is incompatible with TMC2208 in standalone (legacy) mode; there is no problem in UART mode.
  • To use it together with S-curve acceleration, EXPERIMENTAL_SCURVE must be enabled.
  • It works the extruder motor harder; the E driver may need more current.
  • It is specific to the filament and is measured on a single layer; the first layer must be solid beforehand.

Pattern print

Use the ready-made generator of the Marlin project. Choose a lower and upper limit around K 1.0 for a Bowden system and K 0.2 for direct drive; flexible filament needs a higher value.

Open the K-factor pattern generator

Reading the result

Find the line whose thickness stays most constant from start to end; the number next to it is the K value. If necessary, repeat with a narrower range around that value.

Saving the K value

M900 K0.11
M500

Since K varies with the filament, it is often better to put M900 in the slicer's filament start code. M900 K0 turns the feature off temporarily.

In Klipper the feature is called pressure advance and requires no compiling.

Tower print

Slice Klipper's square tower model at about 100 mm/s with no infill. Just before starting the print, type this into the console:

SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005

In a Bowden system, use FACTOR=.020 in the last line.

Reading and saving the result

Measure in millimeters the height at which the corners are cleanest: pressure_advance = height × FACTOR. For example, for 9 mm with direct drive, 9 × 0.005 = 0.045.

[extruder]
pressure_advance: 0.045

Save the file and issue RESTART; the speed limits changed during the test also return to their previous values. Since it varies with the filament, you can put the following line in the slicer's filament start code:

SET_PRESSURE_ADVANCE ADVANCE=0.045

XYZ steps calibration

Purpose
To make the actual axis movement match the requested distance.
When
Not needed by most users; only if parts come out noticeably too large or too small.
What you need
Preferably a dial indicator, otherwise digital calipers.

Read the current values on the LCD under Configuration > Advanced > Steps per mm, or with M503. These values are calculated from the motor, belt, lead screw and microstepping; they are normally already correct.

The equivalent is the rotation_distance line of each axis in printer.cfg. On a belt axis it is belt pitch × number of pulley teeth (40 for GT2 and 20 teeth); on a lead screw it is the distance travelled in one revolution (8 for most T8 screws). If this calculation is correct, do not change it based on measurements.

Do not calibrate by measuring a printed part

Cubes printed on the same machine with only the flow rate changed come out with noticeably different outer dimensions; shrinkage on cooling also varies with the material. What needs to be measured is not the plastic but the unloaded movement of the axis.

Mounting the dial indicator

  • Mount it on the print head for Z, and outside the machine for X and Y, so that it touches the moving part.
  • The mount must not flex.
  • The indicator tip must be parallel to the axis; an angled mount gives wrong readings.
  • Do not let the indicator run out of stroke during homing; if necessary, home first and then mount it.

Measurement

G28
G91
G1 X10 F600
G1 X-10 F600
G90

Zero the indicator in the middle of its stroke, move the axis 10 mm and read it, then move back and see whether it returns to zero. Check with two consecutive 10 mm moves whether the error is consistent. A deviation of 0.05 mm over 10 mm is 0.5% and is insignificant for most parts.

If the movement is wrong, check these first

  • Belt tension and pulley grub screws
  • V-wheel adjustment and Z screw lubrication
  • Driver current
  • Settings in Marlin such as SQUARE_WAVE_STEPPING

If the deviation is inconsistent and the return to zero drifts, there is backlash or binding; on a lead screw, an anti-backlash nut may solve it.

New steps value

Axis

Write the resulting value into the rotation_distance line of the relevant axis, save and issue RESTART.

If the steps are correct but the dimensions are still off

The flow rate should only be used for small corrections. The slicer's XY size compensation (horizontal expansion) corrects the outer dimensions but may affect hole diameters. Mechanical improvements (e.g. a toothed idler pulley) can be tried. Deliberately drawing the part larger or smaller is the last resort.

· Cheap3DHub technical team

If your file is ready, so is your price.

No file? For design we refer you to the design partners we work with. If you are unsure, you can choose the material and settings together with one of our experts. An STL, STEP or 3MF file is required for printing.

Write to us

You can also email us directly: [email protected]