法兰盖SOLIDWORKS参数化标准件库系统设计开发
摘 要
机械常用零件的设计与制图是一项繁琐且重复性大的工作,人工设计费时费力容易出错,花在创造性设计的时间大大减少,导致产品开发周期长,产品质量差,市场竞争力弱。本文以法兰盖为例,旨在讨论、研究如何利用三维设计软件Solidworks实现在机械设计中快捷地设计、使用标准件,使设计人员把更多的时间投身到创造性的工作中去,以达到缩短产品开发周期的目的。
SolidWorks是一套三维机械CAD软件,它的应用编程接口,提供了程序员直接访问SolidWorks的能力,可以很方便地对Solidworks进行二次开发,本文中利用VC++作为开发工具,研究在SolidWorks环境下标准件库的开发。
法兰连接是管道施工的重要连接方式。在工业管道中,法兰连接的使用十分广泛。故对法兰盖的系列化设计,对于管道设计来说具有十分重要的意义。本文对其应用进行了举例说明。
本课题开发过程有:
1.采用SolidWorks对各个系列的法兰盖进行建模。并建立EXCEL数据表格,对各系列法兰盖进行参数系列化。
2.采用ACCESS建立参数数据库。利用VC++进行数据库链接,实现了数据共享,保证各模块之间数据一致性、可靠性。
3.利用VC++对SolidWorks进行了界面设置,方便了标准件库的调用。
通过本课题的研究,得到如下的成果与结论:
1.完成了法兰盖标准件库的建立。为其他标准件的推广和普及打下了基础,提高了SolidWorks的适用程度。
2.实现了二次开发可行性论证。利用SolidWorks API提供的二次开发工具可以实现由程序动态的、自动的加载用户程序,为CAD/ CAM 系统的集成打下了良好的基础。
3.验证了基于参数化的三维造型软件的二次开发方法--尺寸参数驱动的技术可行性。
关键词:法兰盖;SolidWorks;标准件库;Visual C++
Design and development of blind flange standard component library by SolidWorks
Abstract
The design and mapping of common parts of the mechanical is a tedious and repetitive work, it is time-consuming to manual design and easily prone to error, and the time spent on creative design significantly reduced, resulting in long product development cycles, the products of poor quality, weak competition in the market. This paper give blind flange as a example, aims to discuss on how to use 3-D design software Solidworks in mechanical design to achieve quickly design, the use of standard parts, allowing designers to devote more time to participate in creative work, and to achieve shorten the product development cycle purposes.
SolidWorks is a set of 3-D mechanical CAD software, its application programming interface, providing direct access to the SolidWorks; it is easy for the second development to Solidworks. This paper use VC + + as a development tool,research how to develop the standard component library.
The flange connecting is an important connection in pipeline construction. In the industrial pipeline, the use of the flange connected is in a very wide range. Therefore, the series designs of the blind flange have a great significance of the pipeline construction. In this paper, has an example of its application.
The methods used in the process of developing of this subject are:
1. Model all series of blind flange by SolidWorks. Establish EXCEL data tables and assign the series parameters to the blind flange.
2. Establish the ACCESS parameters database. Use VC + + to link the database with SolidWorks, and implement data sharing, ensure that the data between