I love Grayhill rotary switches, made near Chicago, but they are expensive. Here is their complete catalog:
https://grayhill.com/products/rotational-controls/rotary-switches/That mechanical drawing is not confusing to those who are familiar with mechanical dimensioning, but it is in inches / (mm).
Understanding drawings in that format is an excellent learning exercise for your PCB layout and box construction.
The center drawing shows the shaft diameter clearly (0.125 +/- 0.002 inch = 3,18 +/- 0,06 mm), while the left drawing shows the flat section that keeps the knob from rotating on the shaft.
This switch is designed for nominal 1/8 inch diameter knobs: in my experience with Grayhill, it is good to use a knob with two set-screws, one of which contacts the flat section, and the other is at 90
o.
Knobs with a single set-screw sometimes get hung up on the transition from round to flat with their shafts.
In my retirement, I use Grayhill switches for projects, but I buy them from eBay, since the new prices are very high, even in US.
Note that they have electrical variations: for a given set of pins and "throw" angles, they have different part numbers with different numbers of positions.
Some have variable stops that limit the number of positions to less than the maximum.