Directly Generating the NC Machining Program from AutoCAD Graph
【摘要】:正 One kind of auto-programming method directly generating the NC machining program by AutoCAD graph is discussed in this article. Firstly, the article discusses the open type graphic interface of AutoCAD. Then the graphic export among the AutoCAD, the adding of process information and the data storage, as well as technology of generating NC program has been introduced. Finally, a NC auto-programming system GAPS based on AutoCAD graph is developed.The tendency of auto-programming is graphic auto-programming, because it possesses these merits that the programming in the system is simple and the graph is perceived easily and the graphic data can be shared in many auto-programming systems. It is well known that AutoCAD is widely used graphic software in machinery at present. The AutoCAD plotting function is more powerful than other special drawing-software in auto-programming system, and has provided the convenient open data interface for development of software. The AutoCAD has several kinds of open data graphic interfaces, and these interfaces are general among different versions. Chiefly, there are ASCII's graphic exchange file (. dxf ) and the binary system graphic exchange file (. dxb ) in AutoCAD. We discuss the second file format right off here.The technology generating the NC machining program from AutoCAD graph is accomplished by four relatively independent modules. In the auto-programming, NC program designer firstly carries on technology analysis to the part-drawing to establish the drawing scheme for auto-programming, later draws out the detail diagram based on the analyzed in AutoCAD system. The graphic data is converted to the recognizable data structure in the system by the graphic data conversion module in the auto-programming system. Then the new data is joined process information at the process control module of system, and forms the cutter-orbit data. The cutter-orbit can generate the NC program as a result of the handle of the post-processing module of system.