A slider-crank mechanism is a typical design which converts rotary motion into linear motion. It is achieved by connecting a slider and a crank with a rod.