Shafts are turned from bar with diameter steps, chamfers and threads. The keyway is milled after turning. Bearing seats are machined to the tolerances on the drawing.
The same program is reused for repeat orders, so parts from different batches match.