摘要
基于AutoCADVBA技术为AutoCAD开发了曲面面积计算功能。由于AutoCAD中曲面均采用线框模型多边形网格,面积查询命令不能计算。根据多边形网格的特点,将其分解为小面片,然后计算小面片面积之和近似曲面的面积,并研究了提高精度的方法。实践证明,该方法具有一定精度,能够满足工程需要。
A surface area calculation function is developed based on VBA for AutoCAD. Because surfaces in AutoCAD are wire - frame - modeled Polygonmeshs, the area query command AREA can not apply to them. According to characteristics of Polygonmesh, it is exploded to little facets. Then all the facets' areas are add up for approximation to surface area. The means for improving accuracy are also studied. Practice proved that this method has certain accuracy and can meet the needs in engineering.
出处
《机械设计与制造》
北大核心
2006年第7期46-48,共3页
Machinery Design & Manufacture