How to divide the CNC machining process?