Measuring of motor parts