Machining a Profiled Ring