首页> 中文期刊>机械设计与制造 >基于AutoCAD VBA的复杂二维曲线设计的研究与应用

基于AutoCAD VBA的复杂二维曲线设计的研究与应用

     

摘要

The optimal polyline is suitable for expressing a continuous line due to its covering of line segments and arcs simultaneously in the secondary development of AutoCAD ,therefore it is applied widely in two-dimensional curves plotting. However, the calculated amount is abnormal huge for designing the optimal palyline generated from two-dimensional OCS coordinates array through vertex of specified polyline and it is difficulty to debug which may impact the promotion and the use of secondary development. Based on the ActiveX technology and object-oriented idea,a dynamic vertex array named as clsVerts to be packaged into the vertex of arc is studied it,which may increase significantly the quality and efficiency of designing and plotting of complex two-dimensional curves. Finally, a drawing of gear blank forging is taken as an example to verify the study.%在AutoCAD二次开发中,优化多段线由于可以同时包含直线段与圆弧段,适于表达连续的线,所以在二维曲线绘制方面具有广泛的应用.但因其通过指定多段线顶点的二维OCS坐标数组来生成优化多段线的设计方法的计算量异常庞大,且不易调试,严重影响了二次开发的推广和使用.基于ActiveX技术和面向对象的思想,对将圆弧段封装于顶点之中的动态圆弧顶点数组类clsVerts的设计进行了研究,提高了复杂二维曲线设计与绘图的质量和效率.最后以齿轮坯模锻件图为例对其进行了验证.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号