基于VB.NET的SolidWorks二次开发在液压设计中的应用
发布时间:2019-02-09 17:14
【摘要】:SolidWorks是一款功能强大的三维实体造型专用软件。功能强大、易学易用和技术创新是SolidWorks的三大特点,使得SolidWorks成为领先的、主流的三维CAD解决方案。同时SolidWorks具有良好的开放性和兼容性,可以与其它专业软件进行无缝兼容,为SolidWorks进行二次开发提供了技术支持。本文简要介绍了基于VB.NET的SolidWorks二次开发原理和方法,重点介绍泵支架、零件库及三维集成块校核等的二次开发工作。这些二次开发已经在微机上成功运行,很好地减轻了设计人员的劳动量,减少出错率,提高了生产和设计的效率。 利用SolidWorks提供的API编程接口,,实现了VB.NET与SolidWorks的无缝连接。根据泵支架、电机过渡板和卡套式管接头等零件的特点,分别用编程法和尺寸驱动法实现了它们的自动生成。在SolidWorks中生成插件,相当于SolidWorks上的菜单项,用户通过友好的人机界面输入必要的参数完成所需零件的生成。利用Access数据库管理电机、泵、联轴器及卡套式管接头的尺寸参数,通过VB.NET对数据库的引用,实现各参数的自动引用。利用数据库管理系统,不仅使用户减少了数据输入的工作量,减少错误率,而且使得程序的编写更加简单。 三维集成块的校核中,能够自动地校核集成块的最小间隙和最小壁厚,提示相干涉的孔道并对其标记特定的颜色。在校核过程中,将自动生成一个Excel表,并把通油孔的数据信息、相交的孔号写入Excel表中,并把相干涉的孔道在表中加以提示。因此,集成块最小间隙的校核能够使用户及时发现集成块出现的错误并作相应的修改,提高生产和设计的效率。零件库的建立不仅能够很好地管理常用的液压零部件,而且实现零件库的增加、删除和插入等的三大功能。特别是零件厍的插入功能,提高了装配的效率。 不管是泵支架、电机过渡板、卡套式管接头,还是集成块校核都已经在工程实际的液压系统设计中得到了很好的应用,大大提高了设计和生产的效率。
[Abstract]:SolidWorks is a powerful 3D solid modeling software. The three characteristics of SolidWorks are powerful, easy to learn and easy to use and technological innovation, which makes SolidWorks a leading and mainstream 3D CAD solution. At the same time, SolidWorks has good openness and compatibility, and can be seamlessly compatible with other professional software, which provides technical support for the secondary development of SolidWorks. This paper briefly introduces the principle and method of SolidWorks secondary development based on VB.NET, with emphasis on the secondary development of pump support, parts library and 3D integrated block checking. These secondary developments have been successfully run on a microcomputer, which can reduce the labor load of the designers, reduce the error rate, and improve the efficiency of production and design. Using the API programming interface provided by SolidWorks, the seamless connection between VB.NET and SolidWorks is realized. According to the characteristics of pump support, motor transfer plate and clamping pipe connector, the automatic generation of them is realized by programming method and dimension driving method, respectively. The plug-in is generated in SolidWorks, which is equivalent to the menu item on SolidWorks. The user inputs the necessary parameters to complete the generation of the required parts through a friendly man-machine interface. The Access database is used to manage the dimension parameters of the motor, pump, coupling and jacket pipe connector, and the automatic reference of each parameter is realized through the reference of VB.NET to the database. The use of database management system not only reduces the workload of data input, reduces the error rate, but also makes the program easier to write. In the verification of 3D integrated blocks, the minimum gap and the minimum wall thickness of the integrated blocks can be automatically checked, indicating the interference channels and marking their specific colors. During the nuclear process, an Excel table will be generated automatically, and the data information of the oil hole will be written into the Excel table, and the interference channels will be indicated in the table. Therefore, the verification of the minimum gap of the integrated block can enable the user to find out the errors in the integration block and make the corresponding modification in time, and improve the efficiency of production and design. The establishment of part library can not only manage the commonly used hydraulic parts, but also realize the three functions of adding, deleting and inserting parts library. Especially, the insert function of part base improves the efficiency of assembly. Whether it is pump support, motor transfer plate, jacket pipe connector, or integrated block check, it has been applied in the hydraulic system design of engineering practice, and greatly improved the efficiency of design and production.
【学位授予单位】:东北大学
【学位级别】:硕士
【学位授予年份】:2011
【分类号】:TH137;TP391.72
[Abstract]:SolidWorks is a powerful 3D solid modeling software. The three characteristics of SolidWorks are powerful, easy to learn and easy to use and technological innovation, which makes SolidWorks a leading and mainstream 3D CAD solution. At the same time, SolidWorks has good openness and compatibility, and can be seamlessly compatible with other professional software, which provides technical support for the secondary development of SolidWorks. This paper briefly introduces the principle and method of SolidWorks secondary development based on VB.NET, with emphasis on the secondary development of pump support, parts library and 3D integrated block checking. These secondary developments have been successfully run on a microcomputer, which can reduce the labor load of the designers, reduce the error rate, and improve the efficiency of production and design. Using the API programming interface provided by SolidWorks, the seamless connection between VB.NET and SolidWorks is realized. According to the characteristics of pump support, motor transfer plate and clamping pipe connector, the automatic generation of them is realized by programming method and dimension driving method, respectively. The plug-in is generated in SolidWorks, which is equivalent to the menu item on SolidWorks. The user inputs the necessary parameters to complete the generation of the required parts through a friendly man-machine interface. The Access database is used to manage the dimension parameters of the motor, pump, coupling and jacket pipe connector, and the automatic reference of each parameter is realized through the reference of VB.NET to the database. The use of database management system not only reduces the workload of data input, reduces the error rate, but also makes the program easier to write. In the verification of 3D integrated blocks, the minimum gap and the minimum wall thickness of the integrated blocks can be automatically checked, indicating the interference channels and marking their specific colors. During the nuclear process, an Excel table will be generated automatically, and the data information of the oil hole will be written into the Excel table, and the interference channels will be indicated in the table. Therefore, the verification of the minimum gap of the integrated block can enable the user to find out the errors in the integration block and make the corresponding modification in time, and improve the efficiency of production and design. The establishment of part library can not only manage the commonly used hydraulic parts, but also realize the three functions of adding, deleting and inserting parts library. Especially, the insert function of part base improves the efficiency of assembly. Whether it is pump support, motor transfer plate, jacket pipe connector, or integrated block check, it has been applied in the hydraulic system design of engineering practice, and greatly improved the efficiency of design and production.
【学位授予单位】:东北大学
【学位级别】:硕士
【学位授予年份】:2011
【分类号】:TH137;TP391.72
【参考文献】
相关期刊论文 前10条
1 李卫民;谢里阳;;基于Solid Works的液压集成块虚拟设计[J];东北大学学报;2006年06期
2 常玉连;边城;赵明泉;;基于VB的Solid Works标准件库的二次开发[J];大庆石油学院学报;2006年04期
3 罗敬东;;VB在SolidWorks二次开发中的参数化方法[J];广东水利电力职业技术学院学报;2008年02期
4 张华;陈定方;杨艳芳;;Visual Basic为基的SolidWorks二次开发与应用[J];湖北工业大学学报;2010年04期
5 高卫国;徐燕申;牛文铁;;基于三维设计的液压集成块校核方法研究[J];机床与液压;2007年08期
6 王占奎;焦红伟;王得胜;逄明华;;基于遗传粒子群算法的集成块布局优化[J];机床与液压;2007年11期
7 熊壮,喻道远,段正澄;液压集成块内部孔系的自动校验[J];机床与液压;1998年05期
8 沈海荣,杨勇生,张军;基于VB技术的SolidWorks二次开发方法[J];计算机辅助工程;2004年04期
9 田文涛;贺小华;;基于VB技术的SolidWorks二次开发与应用[J];计算机工程与科学;2009年07期
10 沈o
本文编号:2419201
本文链接:https://www.wllwen.com/kejilunwen/jixiegongcheng/2419201.html