摘要
AutoCAD2014软件中有点选、窗选和框选等多种选取设计对象的方式。已有这些选取方式在选择沿圆弧排列的设计对象时效率不高,为此提出了一种新的扇形框选方法。介绍了扇形框构建过程,分析了如何创建扇形框中的选择集,基于AutoCAD2014软件、采用ObjectARX作为二次开发工具开发了扇形框选插件。设计人员只需要点选一个圆弧即可确定圆弧对应的圆心位置、外加确定的两个对角点位置,利用开发的插件就能快速绘制一个扇形框并能选中扇形框内部的几何实体。以轮胎模具文字符号设计为例验证了这种扇形框选方法的高效性。
AutoCAD2014 software can provide several select design objects methods such as a click selection,a window selection and a box selection. Because these selection methods are not efficient to choose the design objects which arranged along an arc,so a new fan box selection method is proposed. The principle of how to construct a fan box is explained and the process of how to collect selected objects is analyzed. Based on AutoCAD2014 software,a fan box selection plug-in is developed using ObjectARX as an application developing tool. When an arc is selected the center of it can be determined.When two diagonal points also have been confirmed,using this developed plug-in,a fan box can be quickly drawn and the suitable geometric entity inside it can be effectively selected. Using a tire mold character design as an example the efficiency and the validity of this new fan box selection method has been verified.
引文
[1]付彦娟.面向制造的轮胎模具文字符号快速设计方法研究[D].福建:集美大学,2016.(Fu Yan-juan.Research on rapid design method of tire mold characters for manufacturing[D].Fujian:Jimei University,2016.)
[2]Ch Chi-H sing,Song Mu-Chi,Vincent C S Duo.Computer aided parametric design for 3D tire mold production[J].Computers in Industry,2006,57(1):11-25.
[3]付彦娟,陈亚洲,胡志超.轮胎模具文字图快速设计方法[J].机械设计与研究,2016(3):157-161.(Fu Yan-juan,Chen Ya-zhou,Hu Zhi-chao.Research on rapid design method of letter drawing of tire molds[J].Machine Design&Research,2016(3):157-161.)
[4]刘雪梅,何玉林,洪沙.AutoCAD中非图形数据的处理方法[J].机械设计与制造,2001(1):27-29.(Liu Xue-mei,He Yu-lin,Hong Sha.Process of non-graph data in autoCAD[J].Machine Design&Manufacture,2001(1):27-29.)
[5]彭忠凯,陈亚洲,付彦娟.UG二次开发在提取轮胎模具电极资料线的应用[J].机械设计与制造,2017(10):236-239.(Peng Zhong-kai,Chen Ya-zhou,Fu Yan-juan.Application of UG second development technology in extracting data line of the tire mold electrodes[J].Machine Design&Manufacture,2017(10):236-239.)
[6]刘晓平,吴磊.简单多边形方向及顶点凹凸性的快速判定[J].工程图学学报,2005,26(4):124-128.(Liu Xiao-ping,Wu Lei.A rapid identification for the orientation and vertices convexity-concavity of simple polygon[J].Journal of Engineering Graphics,2005,26(4):124-128.)
[7]刘术华,周云燕,曹立强.基于矢量游走的任意非自交图形合并算法[J].计算机工程与设计,2012,33(1):186-191.(Liu Shu-hua,Zhou Yun-yan,Cao Li-qiang.Non-self-intersection graphics combination algorithm based on vector wonder method[J].Computer Engineering And Design,2012,33(1):186-191.)
[8]张帆,朱文俊.AutoCAD ObjectARX(VC)开发基础与实例教程[M].北京:中国电力出版社,2014:177-191.(Zhang Fan,Zhu Wen-jun.AutoCAD ObjectARX(VC)Develop Foundation And Example Tutorial[M].Beijing:China Electric Power Publishing House,2014:177-191.)
[9]王文波,邹清源,张斯珩.AutoCAD2010二次开发实例教程(Object ARX)[M].北京:机械工业出版社,2013:86-155.(Wang Wen-bo,Zou Qing-yuan,Zhang Si-hang.AutoCAD 2010 Secondary Development Instance Tutorial(Object ARX)[M].Beijing:Machinery Industry Press,2013:86-155.)
[10]陈亚洲,游福泉,韩庚生.一种用于轮胎模具圆弧排字的CAD字间距调整方法:CN201610044643.5[P].2018-07-27.(Chen Ya-zhou,You Fu-quan,Han Geng-sheng.A CAD word spacing adjustment method for tire molds arc typesetting method:CN20161004-4643.5[P].2018-07-27.)