节点文献
连接器CAD图的自动生成及校验研究与系统实现
Research and System Realization of Automatic Generation and Verification of CAD Drawings of Connector
【作者】 李锐;
【作者基本信息】 四川大学 , 机械工程(专业学位), 2021, 硕士
【摘要】 从20世纪80年代开始,CAD技术进入了高速发展阶段,其人机结合的设计方法大大地提高了企业的设计效率。连接器作为电器元件间的连接件,起着连接或断开电流或者信号的作用,广泛地应用于各种电气线路中。当企业在运用CAD技术对大量相同类型不同规格的连接器CAD图进行重复性绘制时,绘制过程繁琐复杂、易出错以及耗时等问题就会接踵而至,严重地影响到了连接器CAD图的绘制效率以及企业的经济效益。因此,如何有效解决这个问题成为企业所关注的一个重点。本文面向连接器CAD图快速设计系统开展了研究,针对CAD图自动快速生成、信息提取和检验校核进行系统研究,构建了连接器CAD图的自动生成及校验系统。本文的主要内容和研究成果如下:(1)提出了一种连接器CAD图的自动生成方法。基于连接器CAD图的特点和Excel在数据处理方面的优越性,本文利用Auto CAD的二次开发接口Object Arx,提出了一种通过读取存储有连接器数据的Excel文件,进行信息的输入,并根据“块”工具的应用,实现连接器CAD图自动生成的方法。(2)提出了一种连接器索引信息的自动生成方法。基于自动生成的连接器CAD图,本文提出了一种连接器索引图幅和索引查询界面的自动生成方法,通过获取的连接器名称、类型和所在图幅位置等信息,生成连接器目录信息,并实现连接器CAD图的自动快速定位和连接器目录信息的输出存储。(3)提出了一种连接器CAD图的文本信息自动提取校核方法。基于自动生成的连接器CAD图,以及块、多段线和窗口选择集等工具,针对图幅信息、连接器数据信息以及标题栏明细表等信息进行提取,并与原Excel文件匹配校核,以实现自动生成的连接器CAD图的准确性检验。(4)基于开发的连接器CAD图的自动生成及校验工具系统,进行了连接器CAD图和连接器索引信息的快速自动生成示例,以及连接器CAD图的信息自动提取和输出校核的验证示例。通过实例的快速自动生成和信息的自动提取输出校核展示了该工具系统的运用,以及各个功能模块的创建方法和具体操作。本研究的连接器CAD图自动生成及校验的方法和工具系统实现了连接器CAD图的快速化自动生成及校核检验,加快了连接器CAD图的绘制效率,降低了企业的绘制成本,使得设计人员专注于那些更具创造性、创新性和和发散性的高层次思维活动中而非图形绘制、重复性设计操作等,实现人才的最大化利用。
【Abstract】 Since the 1980 s,CAD technology has entered a stage of rapid development,and its man-machine design method has greatly improved the design efficiency of enterprises.Connectors,as the connectors between electrical components,play the role of connecting or disconnecting current or signal,and are widely used in various electrical circuits.When an enterprise uses CAD technology to repetitively draw a large number of connector CAD drawings of the same type and different specifications,the drawing process is cumbersome and complicated,error-prone,and time-consuming,and other problems will ensue,which seriously affects the drawing efficiency of the connector CAD drawing and the economic benefits of the enterprise.Therefore,how to effectively solve this problem has become a focus of attention of enterprises.Research on the rapid design system for connector CAD drawings is carried out in this article.Systematic research is carried out for the automatic rapid generation of CAD drawings,information extraction and inspection and verification,and an automatic generation and verification system for the connector CAD drawings is constructed.The main content and research results of this article are as follows:(1)A method of automatically generating CAD drawings of connectors is proposed.Based on the characteristics of the connector CAD drawing and the superiority of Excel in data processing,with the aid of Auto CAD’s secondary development interface Object Arx,the information is input by reading the Excel file storing the connector data,and according to the application of "block" tool,a method to realize the automatic generation of connector CAD drawings is proposed in this paper.(2)A method for automatically generating connector index information is proposed.Based on the automatically generated CAD drawing of the connector,a method for automatically generating the connector index map and the index query interface is proposed in this article.The connector catalog information is generated by obtaining the connector name,type,and location of the map frame,and the automatic quick positioning of the connector CAD drawing and the output storage of the connector catalog information are realized.(3)A method for automatically extracting and checking the text information of the connector CAD drawing is proposed.Based on the automatically generated CAD drawings of connectors and the tools such as block,multi-segment line and window selection set,the accuracy test of automatically generated CAD drawings of connectors is realized by extracting the drawing information,connector data information and title bar detail list and checking the matching with the original Excel file.(4)Based on the developed automatic generation and verification tool system of connector CAD drawings,an example of quick automatic generation of connector CAD drawings and connector index information and a verification example of automatic extraction and output verification of information of connector CAD drawings were carried out.The application of the tool system is demonstrated through the rapid and automatic generation of examples and the automatic extraction and output check of information,as well as the creation methods and concrete operations of each functional module.Through this research,the method and tool system of automatic generation and verification of connector CAD drawing are realized,which speeds up the drawing efficiency of connector CAD drawing and reduces the drawing cost of enterprises,which allows designers to focus on those more creative,innovative and divergent high-level thinking activities instead of graphic drawing,repetitive design operations,etc.,to maximize the use of talents.