Machining, change parameters as function of machining type