摘要
随着数字化交付时代的到来,很多重要的油气田地面工程项目都要求进行数字化交付,完成全站场的三维模型建立。其中油气田非标设备种类多,零部件多,装配关系复杂,建模难度大。为了提高非标设备的建模效率,利用C#语言对SolidWorks进行二次开发,首先通过建立参数化零部件、后端数据库、前段界面及后台程序设计,实现设备零部件参数化;进而根据设计实际装配情况并应用基于C#的SolidWorks自动装配语句,实现参数化的零部件在设备上的自动装配,完成非标设备参数化建模。结果表明:应用非标设备参数化软件开发的成果,设备建模效率提高3~5倍。此外,在设备参数化完成的基础上,对设备参数化的数据进行加工处理,并对设备模型转工程图出图进行有针对性的二次开发,尤其是尺寸的自动标注,将实现设备模型转工程图自动出图,自动出图的实现将会大幅提高非标设备的出图设计效率。
With the advent of the digital delivery era,many important oil and gas field surface engineering projects require digital delivery to complete the three-dimensional model establishment of the entire station.Non-standard equipment’modeling is difficult because it has many types and parts,and its assembly is complex.In order to improve the modeling efficiency of non-standard equipment,C#is used as development language to do secondary development of SolidWorks.First,parametric design of equipment’s components is achieved by establishing parameterized components,backend database,front-end interface,and backend program design.Second,according to actual assembly reality,automatic assemble of equipment is completed by using SolidWorks automatic assembly statements based on C#,then parametric modeling of non-standard equipment is accomplished.It is verified that the efficiency of equipment modeling is improved by 3-5 times by applying the results of non-standard equipment parametric software development.In addition,on the basis of the completion of equipment parameterization,the data of equipment parameterization is processed,and the equipment model is converted to engineering drawings for targeted secondary development,especially automatic dimensioning,which will realize the automatic drawing of equipment model into engineering drawings,and the realization of automatic drawing will greatly improve the drawing design efficiency of non-standard equipment.
作者
杨山红
YANG Shanhong(Daqing Oilfield Design Institute Co.,Ltd.)
出处
《油气田地面工程》
2024年第6期94-97,共4页
Oil-Gas Field Surface Engineering
关键词
非标设备
设备参数化
SOLIDWORKS
二次开发
自动装配
设备三维建模
non-standard equipment
equipment parameterization
SolidWorks
secondary development
automatic assembly
three-dimensional modeling of equipment