基于ProE二次开发的标准件库.doc
文本预览下载声明
基于Pro/E二次开发的标准件库
摘要:本文研究以Pro/E二次开发工具Pro/TOOLKIT和Visual Studio 2005设计开发一套包括弹簧、齿轮、轴承三大类零件的通用零件库系统,实现了Pro/E环境下这三大类零件的快速参数化的自动建模。系统将通用零件库分为三类,使用 Pro/E建模和关系式,建立各种通用件的参数化模型数据库,编程调用数据库文件和利用Pro/TOOLKIT提供的UI对话框存储各种通用件的参数初始值,或用户手动输入参数来实现各通用件特征的自动建模。
关键词:零件库,Pro/TOOLKIT,二次开发,参数化设计
General Parts Library’s Secondary Development Based on Pro/E
Abstract:Based on Pro/E, this paper designs and develops a general parts library system including three categories of parts : springs, gears, bearings using the secondary development tool Pro/TOOLKIT and Visual Studio 2005 to achieving the three kinds of parts’ fast automatic modeling of parameterized in Pro/E environment . The system divides general parts library into three categories, establish all kinds of interchangeable parts parameterized model database and programming calls to the database file with using Pro/E model and relational expression. Besides, this system takes advantage of the UI dialog box provided by Pro/TOOLKIT to store all kinds of interchangeable parts parameter initial value. or a user inputs parameters manually to realize each part characteristics’automatic modeling .
Keywords: Parts library, Pro/TOOLKIT, Secondary development, Parametric design
目 录
TOC \o 1-3 \h \u 1前 言 1
1.1常用标准件库基本原理 1
1.2三维CAD技术 2
1.2.1 CAD技术的发展主要阶段 2
1.2.2 CAD 技术的发展趋势 3
1.3零件库的发展及其研究现状 4
1.4二次开发的提出及主要研究内容 6
1.4.1二次开发背景及意义 6
1.4.2主要研究内容 7
2开发环境及相关技术 9
2.1 CAD平台的选取 9
2.1.1 Pro/Engineer软件简介 9
2.1.2开发平台的选取 9
2.2 Pro/TOOLKIT二次开发基础 9
2.2.1 Pro/TOOLKIT简介 9
2.2.2 Pro/TOOLKIT的安装 10
3自定义菜单与用户对话框设计 12
3.1 Pro/TOOLKIT开发过程 12
3.1.1安装VS插件Pro/TK Tools 12
3.1.2新建工程 13
3.1.3设置包含文件和库文件 14
3.1.4 编写注册文件 15
3.1.5程序的运行与卸载 16
3.2自定义菜单常用函数 19
3.2.1菜单栏菜单的添加 20
3.2.2菜单按钮的添加 21
3.2.3下级菜单的添加 23
3.3自定义菜单设计 24
3.4 UI对话框基本知识 25
3.4.1资源文件及格式 25
3.4.2主要函数介绍 27
3.4.3 UI对话框元件 29
3.4.4 UI对话框属性及相关函数 30
3.5直齿轮UI对话框实例 31
4零件参数化建模 39
4.1渐开线的几何分析 39
4.2直齿圆柱齿轮的建模过程 40
显示全部