1、利用C#识别DXF文件的数控雕刻机系统大学毕业论文英文文献翻译及原文 毕 业 设 计(论文)外 文 文 献 翻 译 文献、资料中文题目:利用C#识别DXF文件的数控雕刻机系统文献、资料英文题目:DXF File Identification with C# for CNC Engraving Machine System文献、资料来源:文献、资料发表(出版)日期:院 (部): 专 业: 班 级: 姓 名: 学 号: 指导教师: 翻译日期: 2017.02.14附录1 外文翻译-原文部分DXF File Identification with C# for CNC Engraving Machi
2、ne SystemHuibin Yang, Juan YanAbstractThis paper researches 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
3、 controllers code. So the engraving machine can achieve 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 informatio
4、n including line, circle, arc etc. in DXF file and 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
5、file, the corresponding shape will be engraved by the 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 re
6、cognition of the DXF file, the machining track can 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, w
7、ith which the advanced programming ability is integrated 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
8、still existed in this kind of CNC programming (such 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
9、 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 interfa
10、ce 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 c
11、ontour 4.3. DXF File and Graphic Information Extraction3.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
12、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) 3.2. Graphic Information Extraction MethodIn order to
13、 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 dat
14、a exchange, and also called its readability. The characteristics 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
15、geometry contour by reading the ENTITIES section in 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 foll
16、owed by the group code. For example, if the program 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