3D printer G-code · Klipper

SET_INPUT_SHAPER: Set input shaper (Klipper)

Set input shaper — Sets the input shaper by hand. MZV is a good default; EI and 2HUMP_EI remove more ringing but smooth corners more and limit the usable acceleration.

By cnccode · Updated
On this page
  1. What does SET_INPUT_SHAPER do?
  2. Parameters
  3. Example
  4. Related commands
  5. More calibration commands
  6. Frequently asked questions
PropertyValue
CommandSET_INPUT_SHAPER
FunctionSet input shaper
FirmwareKlipper
GroupCalibration
SyntaxSET_INPUT_SHAPER SHAPER_FREQ_X=<Hz> SHAPER_FREQ_Y=<Hz> SHAPER_TYPE=<mzv|ei|zv|...>

What does SET_INPUT_SHAPER do?

Sets the input shaper by hand. MZV is a good default; EI and 2HUMP_EI remove more ringing but smooth corners more and limit the usable acceleration.

Parameters

ParameterMeaning
SHAPER_FREQ_X / _YResonance frequency of each axis
SHAPER_TYPEzv, mzv, ei, 2hump_ei, 3hump_ei

Example

Klipper
SET_INPUT_SHAPER SHAPER_FREQ_X=52 SHAPER_FREQ_Y=41 SHAPER_TYPE=mzv

Klipper. Extended commands need their section in printer.cfg. Results of calibration commands are kept only after SAVE_CONFIG.

More calibration commands

CommandFunctionFirmware
M92Set steps per unit (E-steps)Marlin
M593Input shaping (Marlin)Marlin
SHAPER_CALIBRATEMeasure resonances (input shaper)Klipper
TUNING_TOWERChange a value with heightKlipper

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

Frequently asked questions

What does SET_INPUT_SHAPER do on a 3D printer?
SET_INPUT_SHAPER is set input shaper. Sets the input shaper by hand. MZV is a good default; EI and 2HUMP_EI remove more ringing but smooth corners more and limit the usable acceleration.
Does SET_INPUT_SHAPER work in Klipper and Marlin?
SET_INPUT_SHAPER is a Klipper command. Marlin printers use other G-codes for this task.
Was this page helpful?