Under normal circumstances, CNC machine tools need to formulate the process plan according to the drawings, technical and quality requirements of the parts to be processed. If the process plan is unreasonable, it will affect the machining accuracy. This is because under different process schemes, there will be some differences in the machining origin. When editing the NC program, the origin is generally determined according to the shape, size, and process of the part to be machined. If the selection of the machining origin is unreasonable, the machine will inevitably accumulate errors when performing CNC machining, which will affect the machining accuracy. In the process of machining the parts, the CNC machine tool is completely executed according to the pre-programmed program. If there is a problem with the program, it will inevitably lead to errors, which will affect the machining accuracy. The program of the CNC machine tool is programmed by the programmer according to the actual production needs of the parts. Some programs are usually complicated by the editing process because they are complicated. The program is used to process the parts with relatively simple shapes. Can guarantee accuracy. However, if the structure of the part to be processed is complicated, the NC program automatically edited by the computer may have defects, so that the accuracy requirement cannot be achieved, and thus the precision deviation may occur, which may affect the quality of the part.