Please wait a minute...
Chinese Journal of Engineering Design  2021, Vol. 28 Issue (2): 148-154    DOI: 10.3785/j.issn.1006-754X.2021.00.025
Innovative Design     
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
Download: HTML     PDF(2313KB)
Export: BibTeX | EndNote (RIS)      

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.

Received: 08 April 2020      Published: 28 April 2021
CLC:  TH 126.1  
Cite this article:

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.

URL:

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


面向多张CAD图纸的文本信息自动提取与实现

针对现有图纸文本信息自动提取方法仅能提取单张图纸中的标题栏和明细表内容的情况,提出了一种面向多张CAD(computer aided design,计算机辅助设计)图纸的文本信息自动提取方法,并开发了相应的自动提取与校核系统。采用块表记录迭代器对多张CAD图纸中的所有属性块进行遍历,基于块名筛选得到图纸块及其插入点坐标和幅面,从而确定每张图纸的位置;根据多段线和属性块对多张CAD图纸的文本信息进行属性分类,通过构建窗口选择集来获取图纸中的文本信息并进行提取;利用数组形式输出所提取的文本信息并与原文件进行对比。最后,开发了一套面向多张CAD图纸的文本信息自动提取与校核系统,并通过对连接器电路图文本信息的提取和校核验证了所提出方法和系统的可行性。结果表明,所提出的方法为CAD图纸文本信息的提取提供了新的思路,所开发的系统为企业操作人员提取CAD图纸文本信息提供了新工具,可显著提高工作效率。
No related articles found!