Hi I'm having difficulty applying tolerances to a keyway on a shaft could anyone please advise. The keyway has curved ends. Any help would be greatly appreciated

Hi i'm having trouble applying tolerances to a key way on a shaft. Could anyone please advise. The key way has curved edges please see attachment. Any advise would be greatly appreciated

SolidworksGeneral