/steps — Steps per mm
Calculate the steps/mm for a belt or leadscrew axis on a 3D printer or CNC — plus the Klipper
rotation_distance. Set it in Marlin with M92 or in your config.Result
steps/mm = (steps/rev × microstepping) ÷ travel per revolution. For a belt, travel per rev = pitch × teeth; for a leadscrew it is the lead (pitch × number of starts). Klipper uses rotation_distance = travel per revolution instead.