摘要: 本文深入研究并实现了运用Pro/E的二次开发工具Pro/TOOLKIT进行程序自动特征建模技术,提出用动态链接库方式实现用微软基本类库(MFC)开发Pro/E对话框界面的通讯机制,并给出了实现方案和程序示例。
关键字: CAD 二次开发 特征建模
The Key Technology About Application Development Of Pro/E
Abstract: Based on the research of the application development in Pro/E, the paper presents a automatic feature modeling method by Pro/Toolkit. It describes the implement of information transformation mechanism in interfaces with DLL and basic class libraries, and shows the example of the system.
Key words: CAD; Application Development; Feature Model
1 引言
自动建模指面对特定的产品,根据用户输入的参数或根据运用CAD系统进行设计产生的数据结果,系统应能动态地、自动地将模型建造出来,本文称这种技术为程序自动建模。Pro/E是一种采用了特征建模技术,基于统一数据库的参数化的通用CAD系统。利用它提供的二次开发工具Pro/TOOLKIT,在Pro/E的基础上进行二次开发,可以比较方便地实现面向特定产品的程序自动建模功能,并且可以把较为丰富的非几何特征如材料特征、精度特征加入所产生的模型中,所有信息存入统一的数据库,是实现CAD/CAE/CAM集成的关键技术之一。本文分别对几何特征和非几何特征的程序自动建模技术进行论述。
2 几何特征的程序自动建模方法分析
对于几何特征的程序自动建模,Pro/TOOLKIT提供了以下三种方法来实现: