SolidWorks+C#海工拖链计算机辅助设计系统
时间:2022-12-17 21:11 来源:毕业论文 作者:毕业论文 点击:次
摘要海工拖链是海工装备中必不可少的一部分,它能给海洋平台上的管线提供保护功能。但是大型海洋平台用钢制拖链目前的研发制造技术还是处于被国外公司垄断的状态,国内企业对该产品的国产化有很大的需求。所以,本文研究了基于C#的SolidWorks二次开发技术,借助了SolidWorks强大的3D建模功能和它提供的优秀的扩展功能,开发出了一个海工拖链计算机辅助设计系统。86627 基于C#的SolidWorks二次开发技术主要使用了SolidWorks提供的大量API函数,通过建立主要零部件模板,以尺寸驱动法为设计思想并且借助Visual Studio方便的图形用户界面设计功能实现了海工拖链主要零部件的参数化设计。最终该系统以动态链接库的形式在SolidWorks环境中运行。86627 通过使用该系统,仅需要输入相关的工况参数和点击按钮就能自动生成海工拖链零部件,整个过程相比于传统的零件设计方式节省了大量时间。充分体现了零件参数化设计的优越性。 毕业论文关键词:海工拖链;SolidWorks;SolidWorks API;C#;二次开发。 Abstract Marine engineering cable carrier is essential to marine engineering equipment。 It can protect the pipelines of marine engineering equipment。 However, foreign companies monopolize the research and development technology of the steel cable carrier for large ocean platform, inland companies demand the localization of this product。 Hence, in this paper, the author did a research for the secondary development of SolidWorks integrating with C# programming language and developed a computer aided design system for marine engineering cable carrier with the help of the SolidWorks's powerful 3D modelling and it's excellent extension functions。 SolidWorks API(Application programming interface) functions were applied for the secondary development of SolidWorks integrating with C# programming language。 By creating the templates of main parts, taking the dimension driving approach as the guiding thought and using the Visual Studio's convenient Windows Form Designer, the parts of marine engineering cable carrier design automatically based on the parametric design can be achieved。 The system was worked in SolidWorks environment with 。DLL format。 With the use of the system, users only need to input several parameters and click some buttons, the part of marine engineering cable carrier can be generated automatically。The process above can save a lot of time comparing to the traditional methods of mechanical manufacutring。 It fully embodies the advantages of the parametric design。 Keywords: Marine engineering cable carrier; SolidWorks; SolidWorks API; C#; Secondary development。 目 录 第一章 绪论 1 1。1 研究背景和意义 1 1。2 海工拖链简介 2 1。4 SolidWorks 3 1。4。1 SolidWorks参数 4 1。4。2 SolidWorks特征 4 1。5 C#基础 5 第二章 SolidWorks二次开发基本方法 7 2。1 SolidWorks API简述 7 2。1。1 应用编程接口 7 2。1。2 应用程序种类 8 2。1。3 相关应用 9 2。2 二次开发基本方法 9 2。2。1 尺寸驱动法 (责任编辑:qin) |