中国机械工程 ›› 2014, Vol. 25 ›› Issue (12): 1639-1644.

• 智能制造 • 上一篇    下一篇

基于XML的CAD与XNA的信息转换

邢英杰;李江南;黄学文   

  1. 大连理工大学,大连,116024
  • 出版日期:2014-06-26 发布日期:2014-06-27

Information Transformation between CAD and XNA Based on XML

Xing Yingjie;Li Jiangnan;Huang Xuewen   

  1. Dalian University of Technology,Dalian,Liaoning,116024
  • Online:2014-06-26 Published:2014-06-27

摘要:

针对CAD与虚拟装配环境XNA之间的信息转换问题,提出了一种模型信息转换技术。构建了一种面向虚拟装配的层次化装配信息模型,该信息模型由产品层、子装配体层、零件层、特征层、几何层、三角面片层六层拓扑结构组成;根据模型信息分解方法,将模型信息分解为几何信息、装配信息以及面片信息等,使用Pro/ToolKit二次开发工具实现了对模型装配信息的提取,并通过对模型面片信息的转换,解决了CAD系统与XNA虚拟装配环境间的信息转换问题。利用构建的XNA虚拟装配平台对该技术进行了验证。

关键词: 虚拟装配, 计算机辅助设计, 信息转换, 可扩展标记语言

Abstract:

To realize the information transformation between CAD and XNA virtual environment, an information transformation method of the model was proposed. Firstly, a hierarchical assembly information model for virtual assembly was constructed, which consisted of six hierarchy layers, including product layer, assembly layer, part layer, feature layer, geometry layer, triangle facet layer. Secondly, based on the information separation method, the model information was divided into geometry information, assembly information, facet information and other information, and the assembly information was extracted by Pro/ToolKit secondary development tool, then with the transformation of model facet information, the information transformation between the CAD and XNA was solved. Finally, a virtual assembly platform in the XNA was developed by programming, and a real assembly example was held to verify this method.

Key words: virtual assembly, computer aided design(CAD), information transformation, extensible markup language(XML)

中图分类号: