摘要
为了满足压力容器设计行业的需要,提高压力容器封头、筒体、法兰及弯头等组件的设计效率,采用内嵌在AutoCAD内部的VBA编程工具建立UCS,编写相关函数,增加插入点功能并融合空间坐标系转换技术,利用布尔运算、旋转等方法实现了封头三维建模.利用该参数化建模方法,设计人员只需输入封头的相关数据,便可在任意视角下、任意捕捉点处得到符合要求的三维封头模型.此外,结合AutoCAD三维造型技术,配合VBA编程,可对压力容器其他组件如法兰、弯头等进行参数化建模,这对于开发设计相关行业AutoCAD三维插件具有一定的指导意义.
To meet the need of pressure vessel design industry and raise the design efficiency of such components as pressure vessel head, cylinder, flange and elbow, UCS was established with VBA programming tool embedded in AutoCAD software and the relative functions were compiled. Through adding the insertion point function and combing the transform technology of spatial coordinate system, three-dimensional modeling for the head was realized with such methods as Boolean operation and rotation. With the proposed parameterization modeling method, 3D head model to meet the requirement can be obtained at arbitrary visual angle and target point only through entering the relevant data of the head by designer. Besides, in combination with AutoCAD 3D modeling technology and VBA programming, the parameterization modeling for other pressure vessel components such as flange and elbow can be performed. The present research can provide a certain reference for exploiting and designing the AutoCAD 3D plug-in in relevant industries.
出处
《沈阳工业大学学报》
EI
CAS
2011年第4期366-370,共5页
Journal of Shenyang University of Technology
基金
辽宁省教育厅重点实验室基金资助项目(20082480)
关键词
AUTOCAD平台
VBA编程
参数化
建模
压力容器
封头
二次开发
三维插件
AutoCAD platform
VBA programming
parametrization
modeling
pressure vessel
head
secondary development
three dimensional plug-in