A knob for a rotary encoder. The rotary encoder I have has a shaft 14.5mm high with a 6mm diameter.
There is a bit of an overhang midway through the print, but I didn't need supports/infill. Your mileage may vary. F360 file included so you can change it to suit your needs