摘要
机械产品设计、制造的质量和成本,直接影响着该产品在市场上的竞争力。目前主流的CAD软件的功能虽均很强大,但往往仍满足不了企业的需求。因此,在已有软件基础上开发出适合本企业产品的应用程序,也是企业提升自身竞争力的有效途径之一。文中论述了在Pro/E软件平台下,联合族表(FamilyTable)与ProToolkit2种开发工具,进行三维通用零件库开发的过程与关键技术。利用动态链接库(DLL)方式实现了使用VC++6.0的MFC类库对应用程序用户界面的开发。并以齿轮特征对象为例,首先在野火版Pro/E软件中建立父零件的实体模型,进行参数设置并完成其族表的制作;然后运用Pro/Toolkit接口程序获取零件族表的参数名与参数值,进行参数值的更改与驱动,在族表中新建子零件等。论文还介绍了接口程序在VC环境下进行调试的相关技术,并给出了部分程序代码。
The quality and cost of mechanical product designing and manufacturing affect directly the competitive power of the product in the market. Although, with their powerful functions, the present mainstream CAD software still can't meet the needs of enterprises. Therefore, to develop an application procedure that suits the product of the enterprise based on the exist software, is one of the effective ways that contribute to the promotion of the enterprise's competitive power. This article discusses the procedure and essential technology of developing 3D general parts library based on Pro/E by uniting the two important developing tools, Family Table and Pro/Toolkit. With the mode of Dynamic Link Library (DLL ) , the user's interface of the application program is realized by using the MFC class of VC++6. 0. In this paper,the feature object of a gear is given as an example. First, the entity model of parent part is created, its parameters are set and the Family Table of the part is made. All these steps are finished in the software of Pro/ENGINEER (Pro/E) Wildfire. Then through the interface program of Pro/Toolkit, parameters' names and their values are obtained, these values can be changed to drive the model of part, a new child part can also be created within the family table. The paper also introduces some related technology in the process of debugging the interface program under the VC environment. And some codes of the program are provided.
出处
《轻工机械》
CAS
2006年第2期83-86,共4页
Light Industry Machinery