Abstract:Aiming at the geometric contour machining of the noncircular curve, an optimal approximation point search algorithm based on error control was proposed, by which whole information of noncircular curve could be contained. An automatic NC programming system was developed, which integrated the noncircular curve approximation machining strategy, could automatically identify the noncircular curve,arc and line.The NC code can be used in multi system CNC machine tools, and can improve the efficiency and accuracy of complex products processing.