摘要
文章阐述了应用参数化绘图技术进行二维配管图形库定制开发的实现方法。二维配管设计中要用到大量的管道组成件图形和设备图形,如果应用参数化绘图技术对AutoCAD进行二次开发,将有助于提高设计效率和精确度。从参数化绘图的基本方法出发,将需定制图形拆分为图元,文章介绍了配管图形库对二维配管软件的改进、适用范围和开发工具选择,建立底层函数库,对形式定义、尺寸数据、定位定向三方面信息进行处理实现管道组成件、设备等图形的参数化绘制,并结合两类典型图形说明功能模块的具体实现。
This article discusses the application of parametric drawing method in 2-dimensional piping graphic library development.A great number of graphs of piping component and equipment will be used in the process of 2-dimensional piping design.If parametric drawing method is used to customize AutoCAD, design efficiency and accuracy will be improved. In accordance with the basic parametric drawing theory,graph elements are set up with object drawings.The function and characteristics of the piping graphic library is introduced.The commands of AutoCAD are encapsulated into underlying functions. The information of shape,size,location and direction is processed to implement parametric drawing of piping components,equipment and so on.The application of two typical graphs is discussed in detail.
出处
《石油化工设计》
CAS
2011年第1期48-50,6,共3页
Petrochemical Design