1、外 文 文 献 翻 译 文献、资料中文题目:利用C#识别DXF文件的数控雕刻机系统文献、资料英文题目:DXF File Identification with C# for CNC Engraving Machine System文献、资料来源:文献、资料发表(出版)日期:院 (部): 专 业:班 级:姓 名:学 号:指导教师:翻译日期: 2017.02.14附录1 外文翻译-原文部分DXF File Identification with C# for CNC Engraving Machine SystemHuibin Yang, Juan YanAbstractThis paper re
2、searches the main technology of open CNC engraving machine,the DXF identification technology. Agraphic information extraction method is proposed. By this method,the graphic information in DXF file can be identified and transformed into bottom motion controllers code. So the engraving machine can ach
3、ieve trajectory tracking. Then the open CNC engraving machine system is developed with C#. At last, the method is validated on a three axes motion experiment platform. The result shows that this method can efficiently identify the graphic information including line, circle, arc etc. in DXF file and
4、the CNC engraving machine can be controlled well. Keywords DXF, CNC Engraving Machine , GALIL,C#1. IntroductionWith the development of pattern recognition techniques, modern CNC engraving machine neednt be programmed manually. By importing graphics file, the corresponding shape will be engraved by t
5、he machine immediately. The operating process of the machine is simplified enormously, and the rich programming knowledge is no longer need for operators. Among them, DXF identification is a key technology of CNC engraving machine. By reading and recognition of the DXF file, the machining track can
6、be directly generated, so the motion control of the CNC engraving machine can be achieved. 2. Research StatusResearchers have done a lot of researches on how to contact CAD software to NC code. Omirou and Barouniproposed a series of machine codes, with which the advanced programming ability is integ
7、rated into the control of modern CNC milling machine system 1. Kovacic and Brezocnik proposed the concept of which using the genetic algorithm to program the CNC machine based on the CAD model under manufacturing environment 2.But some problems are still existed in this kind of CNC programming (such
8、 as the artificial participation degree is higher and the 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 p
9、rogram 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 informa
10、tion 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 Extrac
11、tion3.1. DXF FileDXF (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 applica
12、tions 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) 3.2. Graphic Information Extraction MethodIn order to extract useful information of the graphic, many pa
13、rts 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 ch
14、aracteristics of each individual graphic element in DXF file is described by the parameter (group) consisted by paired group code and group value. Therefore, according to the target of open CNC engraving machine, it is enough to describe the target geometry contour by reading the ENTITIES section in
15、 DXF files only. The particular identification process is: First search the DXF file until the “ENTITLES” is found, then build a graphic element object. Then search the graphic element type (LINE, CIRCLE, ARC),and search the corresponding value followed by the group code. For example, if the program
16、 has found the ENTITLES section and confirm the first graphic element is LINE (The program found “LINE” after “ENTITLES”). Then it will search the group code which represents the parameters of the line. The number at the next line after the group code is the value of the parameter.(e.g. The number at the next line after “10” represent the X value of star
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1