Font Size: a A A

Study On NC Code Generated Automatically Of Engraving Machine

Posted on:2008-08-30Degree:MasterType:Thesis
Country:ChinaCandidate:X Y JiangFull Text:PDF
GTID:2121360212973675Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
NC code generated automatically is helpful for improving efficiency, reducing the difficulties for NC programming and solving the automation problems during the course of design and production process. The paper studies NC code generated automatically of engraving machine of 2D graphics and vector Chinese characters. First, DXF files from AutoCAD are studied and drawing entity data of DXF files are extracted by programming. Then, G code is generated automatically. In the process of dealing with drawing entity data, circle (or arc) and ellipse are fitted by lines. And the data-link is built to store to the data. Insertion-sorting algorithm of link is adopted while data are stored, which would be convenient for output of G code and reduce the number of up-and-down of cutter as well. And then, based on the NC processing programs of RT-4500 engraving machine, data in link are exported in the form of G code. In order to validate the correctness of G code, the NC processing programs are run to simulate trace in Visual C++6.0, which shows the trace of engraved clearly. Next, the paper studied the structure of shape files and coding of vector Chinese characters in detail. Strokes' data of vector Chinese characters are extracted by programming, and then pack up and export the data in the form of G code. Finally, examples are taken. The G code generated by graphics and vector Chinese characters are imported to RT-4500 engraving machine to engrave. The results are proved well as expected.
Keywords/Search Tags:DXF files, G code, Shape files, automatic NC programming, computer engrave
PDF Full Text Request
Related items