Guide · 3D printing
Input Shaping and Pressure Advance Explained: The Physics Behind Fast, Clean Prints
Why fast prints ring and why corners bulge, and how input shaping and pressure advance solve two different problems. With the order to calibrate them.
On this page
Two of the most important settings of modern 3D printers are often mixed up. Both fight effects of acceleration, but they work on different parts of the machine.
Ringing: the frame is a spring
Every frame, belt and toolhead is a spring with a mass. When the head changes direction sharply, the system swings at its natural frequency for a short time, and the nozzle draws that swing on the wall as ripples after every corner. The frequency is typically between 30 and 80 Hz on hobby printers. Higher acceleration means a stronger push and stronger ripples.
Input shaping: move so it does not swing
Input shaping splits every acceleration into two or more steps, timed so that the swing caused by the first step is cancelled by the next. It works only for the frequency it is tuned to, so you have to measure it:
- With an accelerometer (Klipper SHAPER_CALIBRATE): the printer shakes the head through all frequencies and the software chooses a shaper type and frequency.
- With a ringing tower (Marlin M593 or Klipper SET_INPUT_SHAPER): print with high acceleration, count the ripples after a corner and divide by the time they take: frequency = ripples × speed ÷ distance.
Shaper types trade sharpness for tolerance: ZV and MZV smooth corners least but need an exact frequency; EI and 2HUMP_EI cancel a wider range but round corners more and lower the usable acceleration.
Bulging corners: the melt is a spring too
Between the extruder gear and the nozzle tip there is a column of soft plastic that compresses like a spring. When the head speeds up, the extruder must first build up pressure before the flow follows; when it slows down, the stored pressure keeps pushing. Result: thin lines after corners, blobs at corners and line ends. A long Bowden tube makes the spring softer and the effect larger.
Pressure advance: push ahead of time
Pressure advance (Klipper) and Linear Advance (Marlin) make the extruder run a little ahead when the head accelerates and pull back when it decelerates, in proportion to the change of speed. The value K is roughly the time constant of the melt spring: small for direct drive (often 0.02–0.08), larger for Bowden (0.3–1.0).
The order that works
- Mechanics first: belt tension equal, frame screws tight, printer on a stable table.
- Extrusion: E-steps / rotation_distance, then flow.
- Pressure advance with a tower: the tower generator writes one for Marlin or Klipper.
- Input shaping: accelerometer or ringing tower.
- Only now raise acceleration until the parts stop looking good, then go one step back.
Pressure advance depends on filament and temperature; input shaping depends on the machine. Re-measure the shaper after you change the toolhead, the belts or the place where the printer stands.
More guides
- The Complete 3D Printer Calibration Guide: Every Step in the Right Order
- 3D Printer Start G-code Explained Line by Line (Marlin and Klipper)
- How Fast Can a 3D Printer Really Print? The Four Real Limits
- Engineering Filaments: PETG, ABS, ASA, Nylon, PC and Carbon Fibre Compared
- 3D Printed Fixtures and Soft Jaws for CNC Machining
- Fanuc Macro B Advanced: System Variables, Safe Macros and Real Shop Examples