摘要SolidWorks 软件是目前 CAD 市场上比较流行的三维模型设计软件,这款软 件拥有功能强大、 简单易用和技术创新等众多优点。为了简化建模过程, SolidWorks 还提供了良好的开放性与兼容性,通过上百个 API 函数接口,可以轻 易使用其它编程软件对 SolidWorks 进行二次开发,省去了大量重复性绘图建模 工作。从而减轻了设计人员的任务量,提高了工作效率,并且设计结果精确可靠, 不易出错。83581
本设计通过使用 VB。NET 程序开发平台,以参数化设计思想为主导,调用相 关的 SolidWorks API 接口,对 SolidWorks 进行二次开发,从而实现对柴油机相 关零件的模型简化。文章中以基于尺寸驱动参数化建模方法和基于特征参数化建 模为例,分别对柴油机机架和曲轴进行尺寸修改、参数化建模设计。应用基于尺 寸驱动的参数化建模方法,通过编程调用相关函数访问已建好的柴油机机架模型 的尺寸并作修改;应用基于特征驱动的参数化建模方法,也称作完全编程法,即 将柴油机曲轴特征的每个建模步骤都用程序反映出来,通过相关参数控制完整模 型的生成。
毕业论文关键词:模型简化;SolidWorks 二次开发;VB。NET;参数化建模;API
Abstract SolidWorks software Is a popular software of 3D solid model in the current field of CAD。This software has three characteristics,such as powerful function,easy to use and technological innovation。In order to simplify the process of modeling, SolidWorks also provides good openness and compatibility, through hundreds of API interface, can easily use other programming software of SolidWorks for secondary development, eliminating the need for large repeat drawing modeling work。 Thus, the task of the design personnel is reduced, the work efficiency is improved, and the design result is accurate and reliable, and is not easy to make mistakes。
This design by using VB。 Net application development platform, takes the idea of parameterized design as the leading, related calls SolidWorks API interface and the Software SolidWorks for secondary development, so as to realize the simplified model of diesel engine related parts of the。 The article based on dimension driven parametric modeling method and the parametric feature modeling based on, for example, respectively of diesel machine body and crankshaft modify the dimension of, parameter modeling design。 Application of parametric modeling method based on dimension driven, through the program call related functions to access the built frame of diesel engine model size and modification; application of parametric method based on feature driven, also known as full programming method, reflect each modeling step of diesel engine crankshaft。 Through the relevant parameters control the model generation。
Keywords: model simplification; SolidWorks for secondary development; VB。NET; parametric modeling; API
目录
第一章 绪论 1
1。1 背景和意义 1
1。2。1SolidWorks 软件发展现状 1
1。2。2SolidWorks 二次开发 2
1。2。3 参数化设计的发展现状 3
1。2。4 参数化设计和数据驱动的方法 3
1。3 论文主要的研究内容 5
第二章 SolidWorks 的二次开发及其 API 函数简介 6
2。1 相关术语介绍 6
2。1。1OLE SolidWorks柴油机模型的简化方法研究:http://www.youerw.com/jixie/lunwen_98637.html