Turning of grooves for the exit of the grinding wheel

Hello all!
How can I turning of grooves for the exit of the grinding wheel
See please a green trajectory.

I think this problem in feature parameters
The groove has OD and ID in one profile

Are somebody made this operations?