摘要
根据SAP2000API应用软件编程接口在使用过程中的便捷性和易操作性,概述了通用SAP2000OAPI插件的开发流程,并详细介绍了如何在.NET编程平台上利用SAP2000API函数开发OAPI插件实现空间杆系结构的蒙板功能.总结了现有空间多边形拓扑关系的生成算法,介绍并采用了基于方位角定义的最小多边形自动构建方法的算法,同时引入相邻边路径权重的方法进行蒙板编程,有效避免了多次生成重复区域的问题.介绍了将空间网格投影为平面网格,以确定平面网格拓扑关系,再将每个平面最小多边形节点还原到空间网格中生成面域等建模思路,说明了如何利用SAP2000的API函数进行蒙板程序编制的详细步骤,并给出了空间杆系结构快速蒙皮OAPI插件的工程应用范例.本文对于进一步开拓SAP2000的应用范畴有实际意义,对同类型项目具有借鉴作用.
This article introduces the convenience and easy operation in the process of using SAP2000 API function and outlines the development process of general SAP2000 OAPI plugin. The processes of the application of SAP2000 API function on. NET platform for developing the OAPI plugin to realize skinning the spatial members system is presented. The generation algorithm about current space polygon topological relationship is summarized, and the algorithm based on the azimuth for smallest polygon construction adopted is illustrated. Besides, the method of adjacent side path weights is applied to skin the spatial members, which can effectively avoid the problems of generating repetitive areas multiple times. This article also introduces the modeling ideas about how to project the space grid into plane grid and determine the topology relation of plane grid, then restore each plane minimum polygon to space polygon. The detail steps on how to skin the spatial members system by SAP2000 API function are explained, and finally the engineering application of this spatial member system skinning OAPI plugin is illustrated. It has practical values on widening the SAP2000 application scope and reference value for the similar projects.
出处
《空间结构》
CSCD
北大核心
2012年第2期64-69,63,共7页
Spatial Structures
基金
广东省自然科学基金资助项目(9451064101002910)
中央高校基本科研业务专项资金资助项目(2011ZM0112)