Machining using a trunnion