| NC programming is one of the link bringing beneficial result into play at present can most obviously in CAD/CAPP/CAM system,precision machining and processing to improve quality, shorten product development cycle, and so plays an important role. Produced by artificial methods of preparation of the NC machine tool technology program, not only the accuracy is not high, and greatly restricted the increase in productivity is not conducive to raising the level of automation. Therefore, the development of the excellent automatic NC programming system, more accurate and efficient procedures for the preparation of machine tool (G code) , has become a large number of professionals in the research.In this paper, based on AutoCAD of NC automatic programming system developed technology, in full knowledge of AutoCAD data structure based on the use of ObjectARX2004 and Visual C + + 2002.net of AutoCAD2004 for secondary development, the development of a cutting line for automatic NC -Way system. The system uses MFC and ObjectARX combination of AutoCAD secondary development of technology, to parts graphic AutoCAD as the raw data, and automatic programming, dynamic simulation and processing technology parameters optimized reasoning functions. Realized from the AutoCAD drawing two-dimensional graphics in the direct extraction of parts of the characteristics of the information and then generate the necessary CNC machine tools code, to a large extent facilitate the designers of mechanical design. At the same time, the introduction of the system BP neural network reasoning to all the technical parameters of the process under the combination of parameters, in processing to meet the requirements of accuracy on the premise of selecting the speed of processing the largest portfolio of process parameters, the system has the characteristics of intelligent processing.In addition, the system developed a friendly user interface. The use of AutoCAD to provide programming format, developed a CNC machining program menu; the use of Visual C + +2002. net combination of MFC secondary development of AutoCAD environment ObjectARX provided AdUi, AcUi class library, developed in-house AutoCAD consistent with the style Dialog box. |