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.

By cnccode · Updated
On this page
  1. Ringing: the frame is a spring
  2. Input shaping: move so it does not swing
  3. Bulging corners: the melt is a spring too
  4. Pressure advance: push ahead of time
  5. The order that works
  6. More guides
  7. Frequently asked questions

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

  1. Mechanics first: belt tension equal, frame screws tight, printer on a stable table.
  2. Extrusion: E-steps / rotation_distance, then flow.
  3. Pressure advance with a tower: the tower generator writes one for Marlin or Klipper.
  4. Input shaping: accelerometer or ringing tower.
  5. 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.

Frequently asked questions

Does input shaping make prints slower?
It adds a few milliseconds to each acceleration, but it lets you use much higher acceleration without ringing, so prints are usually faster overall.
Why did my corners get round after input shaping?
Strong shapers such as EI smooth the path. Use MZV if your measured frequency is clear, or lower the acceleration for outer walls.
Was this page helpful?