Precision mechanical machining for proton therapy equipment