CN102693334B - Based on the dynamic component recognition methods of CAD electronic drawing - Google Patents

Based on the dynamic component recognition methods of CAD electronic drawing Download PDF

Info

Publication number
CN102693334B
CN102693334B CN201210051362.4A CN201210051362A CN102693334B CN 102693334 B CN102693334 B CN 102693334B CN 201210051362 A CN201210051362 A CN 201210051362A CN 102693334 B CN102693334 B CN 102693334B
Authority
CN
China
Prior art keywords
electronic drawing
cad electronic
thing
cad
dynamic component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210051362.4A
Other languages
Chinese (zh)
Other versions
CN102693334A (en
Inventor
余侠
陈顺斌
张鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHENGDU PENGYE SOFTWARE Co Ltd
Original Assignee
CHENGDU PENGYE SOFTWARE Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHENGDU PENGYE SOFTWARE Co Ltd filed Critical CHENGDU PENGYE SOFTWARE Co Ltd
Priority to CN201210051362.4A priority Critical patent/CN102693334B/en
Publication of CN102693334A publication Critical patent/CN102693334A/en
Application granted granted Critical
Publication of CN102693334B publication Critical patent/CN102693334B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a kind of method of the accurate identification dynamic component based on CAD electronic drawing, by determining to capture the 2-D data of thing on CAD electronic drawing for media such as the keyboard of man-machine interaction, mouse and touch-screens, and on CAD drawing, determine a close neighborhood capturing thing according to the 2-D data of described crawl thing, then in close neighborhood, search all primitive information and it is sorted, last ranking results is fed back to client.A kind of dynamic component recognition methods based on CAD electronic drawing provided by the invention, above can improve accuracy rate and the recognition efficiency of pel identification largely, and verify convenient.

Description

Based on the dynamic component recognition methods of CAD electronic drawing
Technical field
The present invention relates to engineering drawing management technology, particularly relate to a kind of dynamic component recognition methods based on CAD electronic drawing.
Background technology
In today that PC is popularized day by day, CAD electronic drawing is widely used in the numerous areas such as building, design, manufacture, and most typical example is exactly AutoCAD.Such a electronic drawing only have expressed the most general geological information usually, can not meet professional domain demand.For building field, AutoCAD just describes with the additional label character of the geometric graphic elements such as point, line, surface building element (wall, beam, post etc.), does not express the information such as three-dimensional body, reinforcing bar, template required for specialty calculating.So from general electronic drawing to the concrete model of professional domain, centre all needs the process of one " translation " " identification " in other words.Translation is in the past all by manually completing: technician knows figure, while use professional software modeling.If there is software can automatically complete this type of translation, then can greatly raise the efficiency undoubtedly.
Occurred some engineering drawing management schemes in prior art, its core concept is all based on the thinking that CRT technology and human assistance combine.The most frequently used method allows user on electronic drawing, indicate which information to describe model, and such as indicate which pel to represent the geometric configuration of model, which label character describes the character of model.Then computing machine goes the information such as pel, word analyzing user's selection automatically, finally builds out model.This identifying schemes can realize the object of Intelligent Recognition to a certain extent, but all more or less there is certain defect, is mainly reflected in following three aspects:
(1) recognition accuracy is lower.Prior art allows the disposable instruction completing all information of user, then allows the disposable process completing corresponding model of computing machine.For building element shear wall, prior art allows user is disposable chooses current layer all wall line, mark, the shear wall that then computing machine one-off recognition current layer is all.Because mutual rule is single, the prior imformation that software can utilize is not enough, makes recognition result height depend on algorithm; Again because the lack of standard of drawing, cause algorithm to face considerable loss of learning when analysis, last recognition accuracy is difficult to up to standard.
(2) recognition efficiency is on the low side.Because be one-off recognition, period of reservation of number is longer, affects experience.
(3) verification is inconvenient.For the recognition result of mistake, user lacks effective means fast processing, and final recognition result correctness needs a lot of desk checking, and practicality is inadequate.
In fact, current industrial numerous areas (such as building, design, machine-building) has such demand: according to the information of CAD electronic drawing, component goes out the component of professional domain demand, but prior art can not meet these requirements.Thus the present invention is based under mainly solving this type of current demand, propose a kind of completely new approach of the quick identification modeling based on CAD electronic drawing.
Summary of the invention
For problems of the prior art, the object of the present invention is to provide a kind of dynamic component recognition methods based on CAD electronic drawing, it contributes to improving recognition efficiency, accuracy rate, and convenient verification.
For solving above technical matters, technical scheme provided by the invention is: a kind of method of the accurate identification dynamic component based on CAD electronic drawing,
(1) 2-D data of crawl thing on CAD electronic drawing is obtained;
(2) on CAD drawing, a close neighborhood is determined according to the 2-D data capturing thing;
(3) in close neighborhood, all candidate's primitive information are searched;
(3) all primitive information of searching are sorted.
Described crawl thing is determined by the medium for man-machine interaction, and described medium comprises keyboard, mouse and touch-screen.
Described crawl thing is the current position of medium, gets two-dimensional coordinate corresponding on CAD electronic drawing according to the current position of medium.
The sequence of described primitive information is undertaken sorting by candidate's primitive information and the 2-D data that captures thing.
Described crawl thing is the motion track of medium, and the motion track according to capturing thing obtains all two-dimensional coordinates corresponding with medium motion track on CAD electronic drawing.
The sequence of described primitive information is undertaken by the information of candidate's pel and the motion track of medium.
Described close neighborhood is the 2-D data according to capturing on thing place CAD electronic drawing, and CAD electronic drawing around described 2-D data draws gets certain scope to realize.
The mode of searching of described close neighborhood be from inside to outside, from outside to inside, from left to right, from right to left, from top to bottom and from top to bottom search in mode any one.
Described by sorting to candidate's primitive information, all primitive information are presented, for the primitive information that client selects from excellent one by one to difference.
Described by sorting to candidate's primitive information, select optimum result, for feeding back to client.
Compared with prior art, the dynamic component recognition methods that the present invention is based on CAD electronic drawing proposes a kind of dynamic component recognition technology efficiently, it can not only promote the accuracy rate of identification, and What You See Is What You Get, by real time recognition result being fed back to user, user only needs recognition result decision-making, select correct result, ignore the result of mistake, thus can processing and identification result rapidly, bring better experience.Because user verifies in identifying, thus contribute to simplifying down-stream, also contribute to increasing work efficiency.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the dynamic component recognition methods that the present invention is based on CAD electronic drawing;
Fig. 2 represents the two-dimensional points coordinate P(x, the y that obtain mouse current location in application example of the present invention);
Fig. 3 represents that P neighborhood of a point progressively expands outwardly, and searches candidate's pel and text description content;
Fig. 4 represents and identifies optimal result based on candidate information.
Embodiment
Core of the present invention is, dynamic component identification, and according to the current location of medium, the information such as the historical track of medium dynamically, identify the component of professional domain in real time.Position is different, and track is different, and recognition result is not identical yet.
In order to make those skilled in the art understand technical scheme of the present invention better, below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
Based on a method for the accurate identification dynamic component of CAD electronic drawing, include but not limited to following steps:
1, the 2-D data of crawl thing on CAD electronic drawing is obtained;
Described crawl thing determines for the medium of man-machine interaction by comprising keyboard, mouse and touch-screen etc., by data acquisitions such as the current position of medium or motion tracks to the historical information of described crawl thing on CAD electronic drawing, then determine to capture the 2-D data of thing on CAD electronic drawing according to the historical data capturing thing.
2, on CAD electronic drawing, a close neighborhood is determined according to the 2-D data capturing thing;
According to the 2-D data of crawl thing on CAD electronic drawing, then draw around described 2-D data and get certain scope, namely the scope that this stroke is got is close neighborhood, and the drawing of described scope gets that the 2-D data by capturing thing determines in the both sides up and down of its X-axis left and right sides and Y-axis.
3, in close neighborhood, all candidate's primitive information are searched;
Described close neighborhood obtains, then in close neighborhood, search the information of all candidate's pels, described in search mode generally to capture centered by thing, then according to similar graph traversal algorithm, successively expand from inside to outside, until more candidate's pel and text description cannot be found.Described mode of searching also comprises from outside to inside successively expansion, from top to bottom successively expansion, from top to bottom successively expansion, from left to right successively expansion, from right to left successively expansion etc. and searches mode.
4, all primitive information of searching are sorted.
According to the information of all candidate's pels searched, according to candidate's pel and text description, and the historical track information etc. of mouse sorts to all candidate's pels.
See Fig. 1, below the idiographic flow of the dynamic component recognition methods that the present invention is based on CAD electronic drawing is described in detail, specific as follows:
S101, search and capture the historical information of thing:
Described crawl thing determines for the medium of man-machine interaction by comprising keyboard, mouse and touch-screen etc., captures the historical information of thing on CAD electronic drawing by acquisition of informations such as the motion track of medium or current positions.
The 2-D data of S102, acquisition crawl thing:
According to capturing the historical information of thing on CAD electronic drawing, determining and capturing thing position residing on CAD electronic drawing, then according to capturing the position acquisition of thing at CAD electronic drawing to the 2-D data of crawl thing on CAD electronic drawing.
S103, determine to comprise the close neighborhood capturing thing:
According to the 2-D data of crawl thing on CAD electronic drawing, the CAD electronic drawing around described 2-D data is drawn and gets certain scope, this scope is exactly the close neighborhood capturing thing.
S104, the primitive information of searching in close neighborhood:
According to the close neighborhood determined, in close neighborhood, search all candidate's primitive information, till searching less than next primitive information.Describedly search the general similar graph traversal algorithm of mode, from inside to outside successively expand, until more candidate's pel and text description cannot be found, described in mode of searching also comprise from outside to inside successively expand, from top to bottom successively expand, from top to bottom successively expand, from left to right successively expand, from right to left successively expansion etc. search mode.
S105, the primitive information of all candidates to be sorted:
The historical track information etc. of the primitive information finding all candidates according to candidate's pel, text description and medium is sorted to it.
The result of S106, feedback:
Because the above-mentioned primitive information to candidate sorts, then by sequence result feedback to client.The ranking results of described feedback comprises the result of sequence is fed back to client from excellent one by one to difference, primitive information required for customer selecting, only extract primitive information optimum in ranking results further and feed back to client, determined adopt or abandon described recognition result by user.
The described dynamic component recognition methods based on CAD electronic drawing and flow process above, close neighborhood is determined by capturing the 2-D data of thing on CAD electronic drawing, then in neighborhood, search all candidate's primitive information, and all primitive information are sorted, finally by result feedback to user, facilitate user to select.Because sequence is sorted according to the historical track information etc. of candidate pel, text description and medium, thus while improve the accuracy that candidate's pel chooses, improve the discrimination of pel; As long as medium moves by the present invention in addition, the result of sequence so also changes naturally thereupon, and more convenient like this user chooses required primitive information, and school inspection is convenient.
The medium of man-machine interaction common now comprises keyboard, mouse (seeing PC computer) and touch-screen (seeing panel computer).Under the occasion of component identification, user sends prior imformation mainly through mouse and touch-screen to computer, auxiliary engine identification.Because of the method for operating of two kinds of media for this reason similar (mobile, to click), therefore hereafter all unify with mouse to be representative, repeat no more.
Be below an application example utilizing mouse Dynamic Recognition CAD electronic drawing component, it takes full advantage of the information of mouse, comprises mouse current location and mouse historical track, specifically comprises following key step;
1, first obtain 2 dimensions point P (x, y) corresponding on electronic drawing according to mouse current location, as shown in Figure 2, wherein P point is the small particles in Fig. 2.
2, the close neighborhood of appropriate scope as P point is chosen according on CAD electronic drawing around P point of the coordinate of P point, all candidate's pels and text description is searched in described close neighborhood, the similar graph traversal algorithm of described search procedure, from inside to outside successively expand, until more candidate's pel and text description cannot be found.Specifically as shown in Figure 3, wherein progressively expand outwardly in p neighborhood of a point, search candidate's pel and text description, result such as curvilinear frame in Fig. 3 lives part.
3, according to candidate's pel and text description, and the information such as the historical track of mouse, identify optimal result, feed back to user in real time, and determined adopt or abandon recognition result by user.See Fig. 4, identify optimal result as " cross " solid section based on candidate information.
The above-mentioned application example utilizing mouse Dynamic Recognition CAD electronic drawing component, according to the current location of mouse, the information such as mouse historical track dynamically, identify the component of professional domain in real time.Position is different, track is different, recognition result is not identical yet, i.e. dynamic component identification, What You See Is What You Get, feeds back to user recognition result in real time, user only needs to determine to adopt or refuse current recognition result, user only needs recognition result decision-making, thus can processing and identification result rapidly, brings better experience.
In like manner, utilize the media communication of the man-machine interaction such as keyboard and touch-screen, find the 2-D data that described medium is corresponding on CAD electronic drawing, then close neighborhood is determined, and in close neighborhood, search all candidate's primitive information, and all primitive information are sorted, and by ranking results Real-time Feedback to client, carries out confirmation by client and operate.
In sum, dynamic component recognition methods based on CAD electronic drawing of the present invention, the historical information capturing thing is determined by utilizing the medium being used for man-machine interaction, obtain capturing thing 2-D data corresponding on CAD electronic drawing according to the historical information capturing thing, and determine a close neighborhood capturing thing according to described 2-D data at CAD electronic drawing, then in close neighborhood, candidate's primitive information is searched by certain mode, till cannot finding the next one, and all candidate's primitive information are sorted, preferably by sequence result feedback to client, operated accordingly by client.According to the current location capturing thing, capture the information such as thing historical track dynamically, identify the component of professional domain in real time.Position is different, and track is different, and recognition result is not identical yet, i.e. dynamic component identification, What You See Is What You Get, improves the efficiency of pel identification and the inspection of convenient school; In addition described close neighborhood is determined by the 2-D data of crawl thing, and candidate's primitive information finds out in close neighborhood, which enhances the accuracy rate of pel identification.
Below be only the preferred embodiment of the present invention, it should be pointed out that above-mentioned preferred implementation should not be considered as limitation of the present invention, protection scope of the present invention should be as the criterion with claim limited range.For those skilled in the art, without departing from the spirit and scope of the present invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (8)

1., based on a method for the accurate identification dynamic component of CAD electronic drawing, it is characterized in that,
(1) 2-D data of crawl thing on CAD electronic drawing is obtained by the current position of medium or motion track;
(2) on CAD drawing, a close neighborhood is determined according to the 2-D data capturing thing;
(3) in close neighborhood, all candidate's primitive information are searched;
(4) all primitive information of searching are sorted;
Described crawl thing is determined by the medium for man-machine interaction, and described medium comprises keyboard, mouse and touch-screen;
Described close neighborhood is the 2-D data according to capturing on thing place CAD electronic drawing, and CAD electronic drawing around described 2-D data draws gets certain scope to realize.
2. as claimed in claim 1 based on the method for the accurate identification dynamic component of CAD electronic drawing, it is characterized in that, described crawl thing is the current position of medium, gets two-dimensional coordinate corresponding on CAD electronic drawing according to the current position of medium.
3. as claimed in claim 2 based on the method for the accurate identification dynamic component of CAD electronic drawing, it is characterized in that, the sequence of described primitive information is undertaken sorting by candidate's primitive information and the 2-D data that captures thing.
4. as claimed in claim 1 based on the method for the accurate identification dynamic component of CAD electronic drawing, it is characterized in that, described crawl thing is the motion track of medium, and the motion track according to capturing thing obtains all two-dimensional coordinates corresponding with medium motion track on CAD electronic drawing.
5., as claimed in claim 4 based on the method for the accurate identification dynamic component of CAD electronic drawing, it is characterized in that, the sequence of described primitive information is undertaken by the information of candidate's pel and the motion track of medium.
6. as claimed in claim 1 based on the method for the accurate identification dynamic component of CAD electronic drawing, it is characterized in that, the mode of searching of described close neighborhood be from inside to outside, from outside to inside, from left to right, from right to left, from top to bottom and from top to bottom search in mode any one.
7. as claimed in claim 1 based on the method for the accurate identification dynamic component of CAD electronic drawing, it is characterized in that, described by sorting to candidate's primitive information, all primitive information are presented, for the primitive information that client selects from excellent one by one to difference.
8., as claimed in claim 1 based on the method for the accurate identification dynamic component of CAD electronic drawing, it is characterized in that, described by sorting to candidate's primitive information, select optimum result, for feeding back to client.
CN201210051362.4A 2012-03-01 2012-03-01 Based on the dynamic component recognition methods of CAD electronic drawing Active CN102693334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210051362.4A CN102693334B (en) 2012-03-01 2012-03-01 Based on the dynamic component recognition methods of CAD electronic drawing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210051362.4A CN102693334B (en) 2012-03-01 2012-03-01 Based on the dynamic component recognition methods of CAD electronic drawing

Publications (2)

Publication Number Publication Date
CN102693334A CN102693334A (en) 2012-09-26
CN102693334B true CN102693334B (en) 2015-07-29

Family

ID=46858766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210051362.4A Active CN102693334B (en) 2012-03-01 2012-03-01 Based on the dynamic component recognition methods of CAD electronic drawing

Country Status (1)

Country Link
CN (1) CN102693334B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107315817A (en) * 2017-06-30 2017-11-03 华自科技股份有限公司 Electronic drawing text matching technique, device, storage medium and computer equipment

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200026B (en) * 2014-09-01 2017-05-03 深圳汇林达科技有限公司 Method and system for formwork matching of three-dimension space software
US10162808B2 (en) * 2015-05-08 2018-12-25 Siemens Product Lifecycle Management Software Inc. Annotation creation system and method
CN105787202B (en) * 2016-03-22 2019-04-02 北京卫星环境工程研究所 Satellite protective cover CAD electronic drawing immediate processing method based on automation cutting demand
CN107092864B (en) * 2017-03-27 2020-02-21 成都优译信息技术股份有限公司 Drawing text reading method and system based on cluster analysis
CN107480345A (en) * 2017-07-21 2017-12-15 中通服软件科技有限公司 A kind of guiding electronic drawing preparation method for instructing outside line to construct
CN109800478B (en) * 2018-12-29 2022-09-13 河南辉煌科技股份有限公司 Method for identifying signal machine in railway drawing
CN110765893B (en) * 2019-09-30 2022-03-22 万翼科技有限公司 Drawing file identification method, electronic equipment and related product
CN111222186B (en) * 2020-01-03 2023-06-02 湖南特能博世科技有限公司 Method, device and server for identifying graphic primitives
CN111881171A (en) * 2020-07-17 2020-11-03 广联达科技股份有限公司 Drawing identification recommendation method and system based on data analysis
CN115238591B (en) * 2022-08-12 2022-12-27 杭州国辰智企科技有限公司 Dynamic parameter checking and driving CAD automatic modeling engine system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561830A (en) * 2008-04-18 2009-10-21 北京数码大方科技有限公司 Dimension marking method for CAD and device thereof
CN102147825A (en) * 2011-03-08 2011-08-10 中北大学 Method for rapidly making drawing of beam structural part and optimizing drawing
CN102157014A (en) * 2011-04-13 2011-08-17 西安理工大学 Method for three-dimensional visualization of comprehensive pipeline of metro

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561830A (en) * 2008-04-18 2009-10-21 北京数码大方科技有限公司 Dimension marking method for CAD and device thereof
CN102147825A (en) * 2011-03-08 2011-08-10 中北大学 Method for rapidly making drawing of beam structural part and optimizing drawing
CN102157014A (en) * 2011-04-13 2011-08-17 西安理工大学 Method for three-dimensional visualization of comprehensive pipeline of metro

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
关于广联达软件导CAD图的具体操作步骤——简单易学;广联达成都销售服务中心;《新浪博客》;20101218;第1页第六部分 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107315817A (en) * 2017-06-30 2017-11-03 华自科技股份有限公司 Electronic drawing text matching technique, device, storage medium and computer equipment
CN107315817B (en) * 2017-06-30 2020-06-02 华自科技股份有限公司 Electronic drawing text matching method and device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN102693334A (en) 2012-09-26

Similar Documents

Publication Publication Date Title
CN102693334B (en) Based on the dynamic component recognition methods of CAD electronic drawing
Cheng et al. BIM applied in historical building documentation and refurbishing
CN101751449B (en) Spatial overlap analysis method and system used in geographic information system
CN110176078B (en) Method and device for labeling training set data
Zhao et al. Reconstructing BIM from 2D structural drawings for existing buildings
CN104484790A (en) Address match method and device of logistics business
CN105427293A (en) Indoor scene scanning reconstruction method and apparatus
CN109522381B (en) Building hidden facility safety detection method based on 3DGIS + BIM
CN102663454A (en) Method and device for evaluating character writing standard degree
CN104537098A (en) CAD blueprint search method based on GIS technology
CN105677716A (en) Computer data acquisition, processing and analysis system
CN113239818B (en) Table cross-modal information extraction method based on segmentation and graph convolution neural network
KR101158679B1 (en) Method for directly inputting figure on electronic document, and computer-readable recording medium storing program of directly inputting figure on electronic document
CN103927535A (en) Recognition method and device for Chinese character writing
CN102419664B (en) Multi-point identification method and system of infrared touch screen
CN104794485A (en) Written character recognizing method and written character recognizing device
CN114724169A (en) Identification method and system of two-dimensional drawing component
CN107729954A (en) A kind of character recognition method, device, Text region equipment and storage medium
KR101471603B1 (en) Apparatus and method for performing energy analysis using IFC file
Pan et al. Recovering building information model from 2D drawings for mechanical, electrical and plumbing systems of ageing buildings
US20230342729A1 (en) Method and Apparatus for Vehicle Damage Mapping
CN110688995B (en) Map query processing method, computer-readable storage medium and mobile terminal
CN102541417A (en) Multi-object tracking method and system in virtual touch screen system
CN105718471A (en) User preference modeling method, system, and user preference evaluation method and system
CN110688439A (en) Method for automatically identifying and analyzing enterprise information based on regional geocoding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Dynamic component identification method based on CAD electronic drawing

Effective date of registration: 20201123

Granted publication date: 20150729

Pledgee: Chengdu SME financing Company Limited by Guarantee

Pledgor: CHENGDU PENGYE SOFTWARE Co.,Ltd.

Registration number: Y2020980008334

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220322

Granted publication date: 20150729

Pledgee: Chengdu SME financing Company Limited by Guarantee

Pledgor: CHENGDU PENGYE SOFTWARE Co.,Ltd.

Registration number: Y2020980008334