Tool change time as function of cutter trajectory, spindle and slide times