Please wait a minute...
工程设计学报  2021, Vol. 28 Issue (2): 148-154    DOI: 10.3785/j.issn.1006-754X.2021.00.025
创新设计     
面向多张CAD图纸的文本信息自动提取与实现
李锐1,2, 李文强1,2, 漆小华3, 王萌3, 宋悦刚3, 刘漾3
1.四川大学 机械工程学院, 四川 成都 610065
2.四川大学 创新方法与创新设计四川省重点实验室, 四川 成都 610065
3.中国电子科技集团公司 第二十九研究所, 四川 成都 610036
Automatic extraction and realization of text information for multiple CAD drawings
LI Rui1,2, LI Wen-qiang1,2, QI Xiao-hua3, WANG Meng3, SONG Yue-gang3, LIU Yang3
1.School of Mechanical Engineering, Sichuan University, Chengdu 610065, China
2.Innovative Methods and Innovative Design of Sichuan Key Laboratory, Sichuan University, Chengdu 610065, China
3.The 29th Institute, China Electronics Technology Group Corporation, Chengdu 610036, China
 全文: PDF(2313 KB)   HTML
摘要: 针对现有图纸文本信息自动提取方法仅能提取单张图纸中的标题栏和明细表内容的情况,提出了一种面向多张CAD(computer aided design,计算机辅助设计)图纸的文本信息自动提取方法,并开发了相应的自动提取与校核系统。采用块表记录迭代器对多张CAD图纸中的所有属性块进行遍历,基于块名筛选得到图纸块及其插入点坐标和幅面,从而确定每张图纸的位置;根据多段线和属性块对多张CAD图纸的文本信息进行属性分类,通过构建窗口选择集来获取图纸中的文本信息并进行提取;利用数组形式输出所提取的文本信息并与原文件进行对比。最后,开发了一套面向多张CAD图纸的文本信息自动提取与校核系统,并通过对连接器电路图文本信息的提取和校核验证了所提出方法和系统的可行性。结果表明,所提出的方法为CAD图纸文本信息的提取提供了新的思路,所开发的系统为企业操作人员提取CAD图纸文本信息提供了新工具,可显著提高工作效率。
Abstract: In view of the existing automatic extraction method for drawing text information that can only extract the contents of title bars and detail lists in a single drawing, a text information automatic extraction method for multiple CAD (computer aided design) drawings is proposed, and the supporting automatic extraction and verification system is developed. The block table record iterator was used to traverse all attribute blocks in the multiple CAD drawings, and the drawing block and its insertion point coordinates and format were filtered based on the block name, so as to determine the position of each drawing; the text information of multiple CAD drawings was classified according to the multi segment lines and attribute blocks, and the text information in the drawings was obtained and extracted by constructing the window selection set; the extracted text information was output in the form of array and compared with the original file. Finally, an automatic text information extraction and verification system for multiple CAD drawings was developed, and the feasibility of the proposed method and system was verified by extracting and verifying the text information of connector circuit diagrams. The results show that the proposed method provides a new idea for the extraction of CAD drawing text information, and the developed system provides a new tool for operators to extract text information of CAD drawings, which can significantly improve the working efficiency.
收稿日期: 2020-04-08 出版日期: 2021-04-28
:  TH 126.1  
基金资助: 科技部创新方法工作专项资助项目(2017IM040100);四川省应用基础研究项目( 2018JY0119)
通讯作者: 李文强(1976—),男,新疆乌鲁木齐人,教授,博士生导师,博士,从事创新设计理论与方法研究, E-mail:liwenqiang@scu.edu.cn,https://orcid.org/0000-0002-9592-4454     E-mail: liwenqiang@scu.edu.cn
作者简介: 李 锐(1994—),男,重庆人,硕士生,从事CAD二次开发研究,E-mail:1163651247@qq.com,https://orcid.org/0000-0002-9149-8435;
服务  
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章  

引用本文:

李锐, 李文强, 漆小华, 王萌, 宋悦刚, 刘漾. 面向多张CAD图纸的文本信息自动提取与实现[J]. 工程设计学报, 2021, 28(2): 148-154.

LI Rui, LI Wen-qiang, QI Xiao-hua, WANG Meng, SONG Yue-gang, LIU Yang. Automatic extraction and realization of text information for multiple CAD drawings. Chinese Journal of Engineering Design, 2021, 28(2): 148-154.

链接本文:

https://www.zjujournals.com/gcsjxb/CN/10.3785/j.issn.1006-754X.2021.00.025        https://www.zjujournals.com/gcsjxb/CN/Y2021/V28/I2/148

No related articles found!