文档介绍:第 28 卷第 4 期计算机应用与软件 Vol. 28 No. 4
2011 年 4 puter Applications and Software Apr. 2011
基于 XML 和 Automation APIs 的 CAD 模型集成与交换研究
陈曼华
金陵科技学院机电工程学院江苏南京 211169
摘要异构数据源例如不同 CAD 系统之间的交换和共享是虚拟产品开发中信息集成的核心。一般是采用基于设计历史参
数化建模方法进行模型交换,但特征和几何信息的交换导致了转换器规模变大另外转换器采用过程模型作为中性文件,需要几何
建模内核生成内部显式模型。为了解决该问题,提出了一种称之为 MidCAD 的共享集成平台,该平台将转换器和中性文件分开,这
样商业 CAD 系统的转换器只和 MidCAD 进行交互。采用 Microsoft 开发的 Automation APIs 实现 MidCAD 的交互通信。转换器利用
MidCAD 的 Automation APIs 将源 CAD 模型转换为 XML 宏文件,或将 XML 宏文件转换为目标 CAD 系统的模型。对 MidCAD 集成平
台进行了验证。
关键词 CAD 模型交换 XML Automation API 参数化设计
ON XML AND Automation APIs-BASED CAD MODEL INTEGRATION AND EXCHANGE
Chen Manhua
, , , ,
College of Mechanism-Electric Jinling Institute of Technology Nanjing 211169 Jiangsu China
Abstract The exchange and sharing among heterogeneous data sources such as among different CAD systems are the core of information
,
integration in virtual product development. Generally the design history-based parametric modelling approach is often adopted to exchange
, , ,
models however the size of each translator tends to be large caused by the exchanges of the feature and geometric information meanwhile
it is necessary to generate an internal explicit model for geometric modelling kernel when the translators use procedural model as neutral file.
,
To e the above-mentioned problems this study presents a so-called