摘要
介绍了DXF文件的基本结构,并对不同版本DXF文件的实体段进行对比与分析。在此基础上利用MATLAB软件编写了一个具有版本兼容性的DXF文件与MATLAB的接口程序。利用此程序可以较好地实现CAD与MATLAB的数据交换和共享。最后,通过算例验证了此接口程序的有效性和实用性。
The basic structure of the DXF file is introduced herein, and then the comparison and analysis are made on the enti- ties of various versions of the DXF file. On this basis, a program with version compatibility for the interface between AutoCAD and MATLAB is compiled with MATLAB. With this program, the data exchange and sharing between AutoCAD and MATLAB can be better realized. Finally, the effectiveness and practicability of this interface program is verified through the calculation case concerned.
出处
《水利水电技术》
CSCD
北大核心
2013年第11期117-119,127,共4页
Water Resources and Hydropower Engineering
基金
国家自然科学基金重大课题资助(50839004)
三峡大学2012年研究生科研创新基金项目(2012CX018)
关键词
DXF文件
数据提取
接口技术
几何模型
DXF file
data extraction
interface technique
geometric model