文档介绍:附录1 外文翻译-原文局部
DXF File Identification with C# for CNC Engraving Machine System
Huibin Yang, Juan Yan
Abstract
This p efficiency is lower).
The research direction of Chinese researchers mainly includes two aspects. One is the theoretical study of DXF file and NC machining, the other is the application of DXF file reading. ZhaiRui and Zhang Liang proposed a program structure, which is used to read data information of DXF file and do some preprocess based on the cross platform open source library DXF Lib by the analysis of DXF file structure characteristic [3]. Huang Jieqiong and Yuan Qun wrote the interface program to read the stored parts graphic information in DXF file by use of the object-oriented secondary development tools, Object ARX and C++, in the research of stamping parts machining. The stamping parts geometric model is automatically created by the automatic generation algorithm of closed contour [4].
3. DXF File and Graphic Information Extraction
. DXF File
DXF (Drawing Exchange File) is a representation of all information labeled data contained in the AutoCAD graphics file, and the ASCII or binary file format of AutoCAD file. It can be used as input/output interface and graphics file exchange between AutoCAD and other graphics applications [5].A complete DXF file is composed of six segments called SECTION. These segments were HEADER,CLASSES, TABLES, BLOCKS, ENTITIES and file ending character (group code is 0,group value is EOF)
. Graphic Information Extraction Method
In order to extract useful information of the graphic, many parts in the file can be ignored. The corresponding geometric description can be completed as long as the sections of TABLES,BLOCK, ENTITIES are obtained. Each graphic element in the DXF file are stored with a fixed format, so it is convenient for data exchange, and also called its readability. The characteristics of each individual graphic element in DXF file is described by the parameter (group) consisted by p