The Solidworks files are in the GitHub folder.
Center post 3"x3" inside 2.5"
https://www.mcmaster.com/6527K624-6527K623/
Hall Effect Potentiometer Angle Encoder Sensor 360 Degree 6mm Shaft Analog 0-5v Output