3D printer G-code · Klipper
SET_PRESSURE_ADVANCE: Pressure advance (Klipper) (Klipper)
Pressure advance (Klipper) — Sets pressure advance: the extruder runs ahead when the head accelerates and back when it brakes, so the line width stays even. The same idea as Linear Advance in…
On this page
| Property | Value |
|---|---|
| Command | SET_PRESSURE_ADVANCE |
| Function | Pressure advance (Klipper) |
| Firmware | Klipper |
| Group | Extrusion |
| Syntax | SET_PRESSURE_ADVANCE ADVANCE=<value> [SMOOTH_TIME=<s>] |
What does SET_PRESSURE_ADVANCE do?
Sets pressure advance: the extruder runs ahead when the head accelerates and back when it brakes, so the line width stays even. The same idea as Linear Advance in Marlin, with different numbers. Set it in [extruder] as pressure_advance or per filament in the slicer start code.
Parameters
| Parameter | Meaning |
|---|---|
ADVANCE | Typical direct drive 0.02–0.08, Bowden 0.3–1.0 |
SMOOTH_TIME | Smoothing, default 0.04 s |
Example
SET_PRESSURE_ADVANCE ADVANCE=0.045Tips from practice
- Find the value with TUNING_TOWER or the calibration tower generator.
Klipper. Extended commands need their section in printer.cfg. Results of calibration commands are kept only after SAVE_CONFIG.
Related commands
More extrusion commands
| Command | Function | Firmware |
|---|---|---|
G10 | Firmware retract (G10 / G11) | Marlin and Klipper |
G92 | Set position (G92 E0) | Marlin and Klipper |
M82 | Absolute extrusion (M82 / M83) | Marlin and Klipper |
M221 | Flow percentage | Marlin and Klipper |
M900 | Linear advance factor | Marlin |
SET_RETRACTION | Change firmware retraction | Klipper |
Test it before you print
Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.
Open the simulator