节点文献

基于XML的CAD装配模型数据交换

XML-based CAD Assembly Model Data Exchange

【作者】 董超

【导师】 张应中;

【作者基本信息】 大连理工大学 , 机械设计及理论, 2009, 硕士

【摘要】 随着经济全球化进程的加速,许多复杂产品的设计需要由分布在不同地点的产品设计人员协同完成,各企业都在积极使用CAD软件来缩短产品的开发周期。然而往往由于不同企业甚至同一企业内部会采用不同的设计软件,数据交换和共享日益重要,但是现有的数据交换方法存在一定的局限性,数据交换是在较低的层次上进行的,丢失了高层语义设计信息。针对这些问题,本文对于异构CAD系统之间的装配体数据交换提出了一种基于XML的数据交换方法,该方法在一定程度上实现了特征形式的数据交换,有利于设计数据的重复利用。本文首先分析了课题背景并提出本课题,分别介绍了CAD技术和数据交换的研究概况,阐述了课题的主要任务。接着针对与课题有关的理论作了简要的介绍,并提出了相关的方案设计。接着根据SolidWorks和JhSolid装配体建模的特点设计了中间交换模型的XML描述,此描述是装配体数据交换的中介。然后介绍了JhSolid的内核和SolidWorks的二次开发,根据JhSolid的源码、SolidWorks的API接口和MSXML的DOM接口给出了装配体数据交换的具体实现流程,并对流程中的重要问题做了说明。最后,本文在Windows平台上以Visual C++6.0为开发工具,利用XML技术和基于COM的CAD二次开发技术,在JhSolid 2005上添加了代码,并在SolidWorks 2006上制作了数据转换插件。从进行的双向装配体数据交换的运行结果看,重构模型保留了零件特征的构造历史,从JhSolid到SolidWorks的数据交换保留了装配约束的构造历史,并且转换后的模型是可编辑的,从而验证了方法的正确性和实用性。

【Abstract】 Along with the accelerated process of economic globalization, the design of many complex products needs for the product design personnel to complete, and all enterprises are actively using the CAD software to shorten the product development cycle. However, often because different companies and even within the same company may use different design software, data exchange and sharing is increasingly important, but the existing data exchange methods have some limitations, the data exchange is carried out at a lower level and high-level semantic design information is lost. To solve these problems, this paper proposes a XML-based data exchange method for the assembly data exchange among heterogeneous CAD systems, the method achieves data exchange in the form of feature to some extent and is conductive to the reuse of design data.This paper first analyzes the topic background and puts forward the subject, introduces research overview of the CAD technology and the data exchange respectively, and sets out main tasks of the subject. Then the thesis makes a concise introduction to the theory about the topic and brings forward the relevant program design. And then the dissertation designs XML descriptions of the intermediate exchange model according to the assembly modeling traits of SolidWorks and JhSolid, and the descriptions are intermediaries for the assembly data exchange. After that the paper introduces the JhSolid core and the secondary development of SolidWorks, gives the concrete realization processes of the assembly data exchange based on JhSolid source, the API interface of SolidWorks and the DOM interface of MSXML, and gives introductions to the important issues in processes.Finally, the thesis adds codes in JhSolid 2005 and makes data conversion plug-ins in SolidWorks 2006 on the Windows platform with Visual C++ 6.0 as development tools, using XML technology and the COM-based secondary development technology of CAD. From the two-way assembly data exchange operation outcome, reconstruction models retain the construction history of part features, the data exchange from JhSolid to SolidWorks retains the construction history of assembly constraints and the converted models are editable, and thus the method is verified correct and practical.

【关键词】 数据交换装配体特征CADXML
【Key words】 Data ExchangeAssemblyFeatureCADXML
节点文献中: 

本文链接的文献网络图示:

本文的引文网络