Here is a picture of fixturing for machining a rifle bolt, turning off the metallic knob and cutting threads for an aftermarket knob.