Select machining method as function of selected tool