CN104036060B - A kind of online checking method of engineering drawing and system - Google Patents
A kind of online checking method of engineering drawing and system Download PDFInfo
- Publication number
- CN104036060B CN104036060B CN201310072585.3A CN201310072585A CN104036060B CN 104036060 B CN104036060 B CN 104036060B CN 201310072585 A CN201310072585 A CN 201310072585A CN 104036060 B CN104036060 B CN 104036060B
- Authority
- CN
- China
- Prior art keywords
- annotation
- straight line
- picture frame
- rectangle
- engineering drawing
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000004458 analytical method Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 3
- 238000012216 screening Methods 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims 1
- 230000008569 process Effects 0.000 description 25
- 230000008859 change Effects 0.000 description 12
- 238000013461 design Methods 0.000 description 8
- 238000012552 review Methods 0.000 description 8
- 238000012986 modification Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 238000012938 design process Methods 0.000 description 4
- 238000013475 authorization Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000003326 Quality management system Methods 0.000 description 2
- 238000012550 audit Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The present invention discloses a kind of online checking method of engineering drawing and system, and wherein the method comprises the steps:The first step, annotates instrument used in engineering drawing, records the annotation parameter of user;Second step, the picture frame scope of engineering drawing is split, whole picture frame scopes included in recognitive engineering figure, read the corresponding title block content of picture frame scope, annotation position is compared with whole picture frame scopes, it is determined that the picture frame scope belonging to annotation, is associated annotation suggestion with affiliated picture frame scope and its title block content;3rd step, annotation parameter is stored in the annotation file being associated with the engineering drawing;4th step, reads the annotation parameter in annotation file, the annotation suggestion in annotation parameter is converted to pel according to annotation type and is added in engineering drawing temporarily;Annotation file is sent to other online users by the 5th step, after other online users receive annotation file, reads the annotation parameter in annotation file simultaneously by annotation simultaneous display on same engineering drawing.
Description
Technical field
The present invention relates to the online checking method and system of a kind of engineering drawing, more particularly to preserved in the way of electronic document
Engineering drawing online checking method and system, further, be directed to use with CAD graphics softwares generation engineering drawing it is online
Checking method and system.
Background technology
In the design process of engineering drawing, each side for participating in cooperation needs suggestion of the frequent exchange to layout design details.
Such as:School in specialty is examined, audits, authorization link;The mutual drop handle section of data between specialty;Designer is existing with construction party discussion construction
Problem that field finds etc..In order to accurately express the suggestion to local design details, there is following several method at present:
First, traditional way, prints engineering drawing, local detail problem is irised out with pen come then on drawing
Freehand brushwork aside is shown in.This mode is simple and reliable, but there is also a series of problem:
(1)Paper is wasted relatively.Because the discussion to details, an often process trifling, constantly repeatedly, drawing
Limited space, can not directly display amended result, and this is accomplished by the e-file for constantly changing engineering drawing, Ran Houzai
Print, then examination & verification, discussion again.
(2)Information transfer efficiency is than relatively low.The communication of most extreme example, construction party and designer, need through
Print drawing, fill in several links such as suggestion, postal delivery drawing.Generally these suggestions are crime scene discussion exchanges, but with
The increasing of design objective, the increase of job location distance, exchange not at the scene are also more and more.This traditional way, more
To get over the needs that can not meet fast pace engineering development.
(3)The information of review process cannot be re-used.Design industry progressively carries out quality management at present, needs to institute
There is design process all to be recorded.The suggestion that process is produced is examined in drawing school, if being entirely to write on drawing, is also needed to again
These suggestions are filled up in the quality list of correlation again, this undoubtedly increased the work load of related personnel.In practical work
In, project progress is often given priority to, quality formfile is later supplemented with, these procedural informations being supplemented with later, just
Cannot ensure accurate, complete.
2nd, electronic meeting.With the development of network technology, if the discussion both sides of engineering drawing are not in one place, can be with
The purpose of exchange suggestion is reached by electronic meeting.Electronic meeting provides one virtual " electronic whiteboard " so that participation is begged for
By each side the image of correlation can be seen by the video shared, if one party needs to propose to anticipate the modification of details
See, can write down on electronic whiteboard.The exchange efficiency comparison of this method is high, suggestion can be conveyed to correlation in real time
Personnel.Have the disadvantage that the suggestion filled in is difficult to preserve, also cannot accurately combine with engineering drawing.Write on electronic whiteboard
The suggestion come often can only be preserved with picture format, but engineering drawing is polar plot, in software can be with arbitrarily enlarged and diminution.This
Allow for suggestions made after examination and engineering drawing can not be superimposed well, difficulty is brought to access.In addition, electronic meeting is frequent
Transmission video image gives conference participation each side, very high to network bandwidth requirement, also limit its use.
3rd, directly change e-file.In practice, approving person often directly fills in suggestion on e-file,
Relevant design personnel are sent to after preservation.Due to being that, in same file, suggestion and engineering drawing just can be stacked up well,
Annotation part can not also be shown as needed, it is also possible to is printed and is further checked.The shortcoming of this method is to change
The integrality and reliability of drawing, because revisions on drawings means that to be possible to bring other to change, brings difficulty to management.One
As in the case of drawing can only be modified by designer, other staff can only provide suggestion for revision.And if other staff also can
Revisions on drawings, then need supporting edition control method, just can guarantee that will not there is several individuals while changing same engineering drawing
E-file.Even if having accomplished this point, the integrality of drawing is remained has very big risk, because engineering drawing is often very multiple
Miscellaneous, it is a more complicated process that CAD software preserves the process of engineering map file, as long as there is modification, it is possible to bring other
Unknown change.
4th, it is the general annotation work for browsing file format such as DWF, PDF etc., then reusing correlation graphic exchanging
Tool, fill in suggestion browsing in file.This mode does not change original engineering drawing, therefore can ensure that engineering drawing e-file
Integrality and reliability, annotation suggestion also can stack up with engineering drawing well.Which primary disadvantage is that to be converted to and browses
The process of file format wastes time and energy, and compares impact efficiency.Especially in the case where needing frequently to modify and audit, this
Plant impact of the method to efficiency just to become apparent from.In addition, designer is directed to suggestion for revision, original engineering drawing to be opened, again
Positioned, be further continued for modification, also not enough facilitate.
The content of the invention
It is an object of the invention to overcome the various problems that existing engineering drawing checking method is run in real work, propose
A kind of online checking method of engineering drawing and system, on the premise of revisions on drawings is avoided, can be combined with engineering drawing well, high
Effect guide design teacher modify to drawing.
The invention discloses a kind of online checking method of engineering drawing, it is characterised in that comprise the steps:
The first step, annotates instrument used in engineering drawing, and the annotation including annotation position, annotation suggestion for recording user is joined
Number;
Second step, splits to the picture frame scope of the engineering drawing, recognizes the whole figures included in the engineering drawing
Frame scope, reads the corresponding title block content of the picture frame scope, the annotation position is compared with whole picture frame scopes
It is right, it is determined that the picture frame scope belonging to annotation, is associated the annotation suggestion with affiliated picture frame scope and its title block content;
3rd step, the annotation parameter is stored in the annotation file being associated with the engineering drawing;
4th step, reads the annotation parameter in the annotation file, by the annotation suggestion in the annotation parameter according to batch
Note type is converted to pel and is added in the engineering drawing temporarily;
The annotation file is sent to other online users by the 5th step, and other online users receive the annotation text
After part, the annotation parameter in the annotation file is read simultaneously by annotation simultaneous display on same engineering drawing.
Preferably, also include the 6th step after the 5th step:Will be including annotation author, annotation suggestion, annotation scope, annotation
The annotation content of the pel and picture frame scope of association is stored in database, formulates template file, is extracted in the database
Specified data fill out generation quality list in template file.
Preferably, in the second step, following steps are subdivided into the method split by the picture frame scope of engineering drawing:
S21:All of straight line in the engineering drawing is read, horizontal and vertical straight line is filtered out and is arranged according to length
Sequence;
S22:The most long straight line A of length is found out, circulation is found out
Vertical straight line B and straight line C;
S23:Find out the straight line D of the end points on the connection straight line B and straight line C away from straight line A one end, straight line A, straight line B,
Straight line C and straight line D-shaped are rectangular;
S24:Analyze whether the rectangle meets picture frame standard, if the rectangle meets picture frame standard, by the rectangle
All delete from queue with the rectangle intersection or by the straight line that the rectangle is included in being saved in split database and by all
Remove;
S25:Read the most long straight line of length in remaining straight line, repeat step S22 to S24, until all of straight line of traversal.
More excellent, in step S24, the picture frame standard is:Firstth, comprising specific title block text in described rectangle
Word, such as:Engineering name, examination & verification, authorization;Secondth, in the rectangle, one compares the interior rectangle frame pressed close to.
More excellent, in step S24, analyze whether the rectangle meets concretely comprising the following steps for picture frame standard:
S241:According to the concrete species of picture frame, feature word, the area ratio of interior housing that each class picture frame is included are set
Example scope;
S242:It is all fall word in the rectangle find out and be compared with the feature word one by one,;
S243:All straight lines being included in the rectangular extent are screened, repeat step S22-S23 finds
One maximum rectangle frame being included in the rectangle, calculates the area of the maximum rectangle frame, draws the maximum rectangle frame
With the area ratio of the rectangle, judge whether the area ratio falls in the scope of the described interior housing area ratio for arranging
It is interior.
The invention also discloses a kind of online auditing system of engineering drawing, it is characterised in that include with lower module:
Annotation logging modle, for instrument is annotated used in engineering drawing, records anticipating including annotation position, annotation for user
The annotation parameter seen;
Annotation locating module, for splitting to the picture frame scope of the engineering drawing, is wrapped in recognizing the engineering drawing
The whole picture frame scopes for containing, read the corresponding title block content of the picture frame scope, by the annotation position and whole picture frames
Scope is compared, it is determined that the picture frame scope belonging to annotation, in annotation suggestion and affiliated picture frame scope and its title block
Hold associated;
Preserving module, for the annotation parameter is stored in the annotation file being associated with the engineering drawing;
Interim add module is annotated, for reading the annotation parameter in the annotation file, by the annotation parameter
Annotation suggestion is converted to pel according to annotation type and is added in the engineering drawing temporarily;
Annotation simultaneous display module, for the annotation file is sent to other online users, other online users
After receiving the annotation file, read the annotation parameter in the annotation file and simultaneous display will be annotated in same engineering drawing
On.
Preferably, the online auditing system of engineering drawing of the invention also includes:
Quality list generation module, for by including annotation author, annotation suggestion, annotation scope, the pel for annotating association
And the annotation content of picture frame scope is stored in database, formulates template file and determine the template file with the database
Call relation and parameters relationship, extract the specified data in the database and fill out generation quality list in template file.
Preferably, the annotation locating module also includes:
Screening module, for reading all of straight line information in the engineering drawing, filters out horizontal and vertical straight line simultaneously
It is ranked up according to length;
Searching modul, the straight line A most long for finding out length, circulation find out connect with straight line A two-end-points and direction with
The straight line A vertical straight line B and straight line C;Find out the straight of end points on the connection straight line B and straight line C away from straight line A one end
Line D, straight line A, straight line B, straight line C and straight line D-shaped are rectangular;
Analysis module, for analyzing whether the rectangle meets picture frame standard, if the rectangle meets picture frame standard, will
From queue during the rectangle is saved in split database and by all straight lines included with the rectangle intersection or by the rectangle
It is middle all to delete.
More excellent, the analysis module includes:
Setting module, for the concrete species according to picture frame, sets feature word, interior housing that each class picture frame is included
Area ratio scope;
Comparison module, for it is all fall word in the rectangular extent find out and one by one with the feature word
It is compared;
Judge module:For all straight lines being included in the rectangular extent are screened, repeat step S22-
S23, finds a maximum rectangle frame being included in the rectangle, calculates the area of the maximum rectangle frame, draw it is described most
Big rectangle frame and the area ratio of the rectangle, judge whether the area ratio falls in the described interior housing area ratio for arranging
In the range of.
The present invention can be superimposed upon annotation suggestion on the basis of engineering drawing e-file integrality and reliability is ensured
As engineering drawing is shown together and can be changed with the change of engineering drawing state on engineering drawing, efficient Guide Engineering teacher is to work
Journey figure is modified.
Description of the drawings
Fig. 1 is the flow chart of the online checking method of engineering drawing of the present invention;
Fig. 2 is the flow chart split to the picture frame scope of engineering drawing in the present invention;
Fig. 3 is the flow chart that quality list is automatically generated in the present invention;
Fig. 4 is the schematic diagram of picture frame and title block in the present invention;
Fig. 5 is the block diagram of the online auditing system of engineering drawing in the present invention.
Specific embodiment
In order that the purpose of the present invention, technical scheme, beneficial effect become more apparent, below in conjunction with accompanying drawing and enforcement
Example, is described in further details to the present invention.It should be appreciated that specific embodiment described herein is used only for explaining this
It is bright, it is not intended to limit the present invention.
It is described in detail below in conjunction with realization of the drawings and specific embodiments to the present invention:
The present invention takes the method for increasing plug-in unit in CAD software, design the review process and engineering drawing of engineering drawing,
Running environment is combined closely so that auditor can efficiently exchange suggestion with designer, while keeping the integrality of drawing.
Although with the difference of CAD software, plug-in unit is also required to do corresponding change, the form of the annotation that review process is produced, annotation
The links such as the combination of the Overlapping display of suggestion, the transmission for annotating suggestion, annotation suggestion and quality list, principle are just as, only
The method for needing to show annotation for different CAD software changes, therefore can be easy to expand to other CAD softwares.
As shown in figure 1, the method that the engineering drawing of the present invention is audited online is comprised the following steps:
The first step, annotates instrument used in engineering drawing, and the annotation including annotation position, annotation suggestion for recording user is joined
Number.
The annotation parameter of user record is needed to include:Annotation type, annotation position, annotation color, annotation suggestion, annotation are closed
The pel of connection, performance rating type.
Annotation type includes:Rectangle, circle, ellipse, cloud line.
Rectangle:The coordinate in the upper left corner and the lower right corner in rectangle annotation region.
It is circular:The circular coordinate and radius in circular annotation region.
It is oval:The extreme coordinates of the major axis and short axle in oval annotation region.
Cloud line:Each extreme coordinates of one polygonal region.
The location parameter of annotation depends on annotation type.
The pel of annotation association can be selected in the e-file of engineering drawing by user, used as the foundation for referring to from now on.
If annotation is associated with pel, relative to annotation scope is simply used, can accomplish more accurately to position.
Performance rating type is relevant with designing unit specific performance rating system, can be some alternative words
Description or numerical value.
Second step, splits to the picture frame scope of the engineering drawing, recognizes the whole figures included in the engineering drawing
Frame scope, reads the corresponding title block content of the picture frame scope, the annotation position is compared with whole picture frame scopes
It is right, it is determined that the picture frame scope belonging to annotation, is associated the annotation suggestion with affiliated picture frame scope and its title block content.
The Main Function of the step is to identify picture frame scope and corresponding title block content that engineering drawing included, will
The location parameter of annotation is carried out contrasting with picture frame scope, is associated, and determines an annotation belongs to which picture frame and title block.
3rd step, the annotation parameter is stored in the annotation file being associated with the engineering drawing.
Annotation file can be preserved according to general XML format, and with engineering drawing file association together.Modification every time is annotated
When, annotation file is all preserved again.The medium that annotation file will be transmitted in system as annotation, no matter engineering drawing is placed on
Where, annotation can be opened at any time and be checked.
4th step, reads the annotation parameter in the annotation file, by the annotation suggestion in the annotation parameter according to batch
Note type is converted to pel and is added in the engineering drawing temporarily.
The information of annotation parameter is read out first from annotation file, then annotation is converted to according to annotation type
Different pels, is added in current engineering drawing temporarily, and so annotation just can be shown with engineering drawing together, and with engineering drawing
The change of state and change.After closing annotation display, the annotation for being added to engineering drawing temporarily is all cancelled, it is ensured that engineering drawing electronics
File is not modified.
The annotation file is sent to other online users by the 5th step, and other online users receive the annotation text
After part, the annotation parameter in the annotation file is read simultaneously by annotation simultaneous display on same engineering drawing.So can be to working as
Front user's online modification drawing plays directive function.
Also include the 6th step after 5th step:To include that annotation author, annotation suggestion, annotation scope, annotation are associated
The annotation content of pel and picture frame scope is stored in database, formulates template file, and the specified data in extracted data storehouse are filled out
Quality list is generated in template file.
Quality list can be preserved by way of HTML or other texts, added in the specified location of file
Label, determines each grid in quality list needs what content filled in.Annotation content is stored in database, including annotation is made
Person, annotation content, annotation time, annotation scope, the pel of annotation association and picture frame scope etc..By set up annotation content and its
Its data-base content is contacted with quality list, such as one database store process, it is possible to represent quality list when
Wait, annotation content Auto-writing in quality list, quality list is rewritten afterwards so as to reduce project planner
Workload.
In order to directly display annotation when engineering drawing is opened in CAD software, the present invention set up three kinds of states:Normally
State, browse state, editing mode.Normal condition refers to the state drawn by CAD software;Browse state refers to Overlapping display
The state of annotation suggestion;Editing mode refers to the state for drawing annotation.Under editing mode, the input of user is to draw in fact
Annotation.The annotation type that system is selected according to user, the input user in CAD software resolve to different operations, such as draw
Straight line, picture circle, picture cloud line, input word etc..The now input of user is controlled, and resulting pel is not really to add
The pel being added in system, but be converted to special endorsement information temporarily and saved.After editing mode terminates, automatically
Into browse state, system is converted to specific pel endorsement information and is added on engineering drawing temporarily, but real change
Engineering drawing.Under this state, user zooms in and out to drawing, translates, operation is checked in page turning etc., annotate as pel also can and work
The other parts of journey figure are equally moved, therefore the effect for browsing is exactly the annotation that user is shown in engineering drawing laminated thereto
Suggestion.End is browsed, system is all withdrawn the operation of addition annotation pel before automatically, and drawing does not still do any repairing
Change, this has just been effectively ensured the integrality of drawing.User directly can also be switched to browse state from normal condition.Browsing shape
Under state, system is selectively converted to pel some annotations, is added to current engineering drawing temporarily, but all of mapping operation is all
It is prohibited, if user have selected any mapping operation, system is switched to normal condition, and closes the display of annotation, prevents
Annotation is incorporated into into current engineering drawing only.Under browse state, user clicks on any one annotation, and system is just the display of engineering drawing
Region is switched to annotation region, facilitates user quickly to check and position.
Another benefit that the design environment of review process and engineering drawing is combined closely is that user has checked annotation meaning
See, it is possible to start at once to modify, and without the need for toggling in multiple environment.And, current engineering drawing institute is in place
Put, be accurately positioned because annotation is checked.The loss of so operating efficiency is just much smaller than alternate manner.
In addition, the annotation suggestion produced in review process, comprising many information.Existing checking method typically can only
The suggestion of record user input, and user name, time etc., the actual content efficient association of annotation and engineering drawing can't be risen
Come.And need in these information exactly quality management system.Therefore in order to pass through quality review, engineering staff has in matter
These annotation suggestions and the corresponding Engineering Drawing Information of annotation are re-typed in scale list, the duplication of labour is thus caused, also band
The possibility slipped up is carried out.The present invention combines closely the running environment of review process and engineering drawing, is drawing annotation
Process, it is possible to the engineering drawing content of Direct Analysis relevant range, so as to annotation and specific engineering drawing content are associated,
The picture frame of such as engineering drawing, title block.The drawing of all formal printings, has a rectangle frame as sideline, and this sideline is referred to as
" picture frame ".In a corner of picture frame, there is a description form, record the important engineering information of drawing, such as engineering name, figure
Name, figure number, designer etc., referred to as " title block ", as shown in Figure 4.By annotation scope and picture frame scope are associated, just very
Which specific engineering drawing clear annotation acts on,.Specific way is, in user input after annotation scope, first to work
The picture frame scope of journey figure is split, it is determined which picture frame scope annotation falls in.Then the title block content in the picture frame is entered
Row analysis, finds out the engineering attribute of the picture frame:Engineering name, job number, the map title, figure number etc..So, annotation just can and these
Specific engineering information is associated together.
As shown in Fig. 2 the method for splitting picture frame is as follows:
All of straight line information in 1st step, the reading engineering drawing, filters out horizontal and vertical straight line and according to straight line
Length is ranked up.
2nd step, the most long straight line A of length is found out, circulation is found out
A vertical straight line B and straight line C.
The most long straight line of length is found out, if a plurality of, one is arbitrarily taken, straight line A is designated, circulation is found out and the straight line
Two summits of A are adjacent, and the vertical straight line in direction, are designated straight line B and straight line C.
3rd step, the straight line D for finding out end points on the connection straight line B and straight line C away from straight line A one end, straight line A, straight line
B, straight line C and straight line D-shaped are rectangular.
Straight line that is vertical with straight line C with straight line B and connecting is found out, straight line D is designated, straight line A, straight line B, straight line C and straight
Line D-shaped is rectangular.If can not find, straight line B and straight line C is continually looked for.If all can not find, straight line A is abandoned;
Straight line B, C are it is determined that just can determine that after straight line A, therefore just abandon straight line A while abandoning straight line B and C,
However it is necessary that repeating step 2.
Whether the 4th step, the analysis rectangle meet picture frame standard, if the rectangle meets picture frame standard, by the square
During shape is saved in split database and will all other straight line included with the rectangle intersection or by the rectangle from queue all
Delete.
If rectangle have found, just check whether the rectangle meets the standard of picture frame.If the rectangle meets picture frame standard,
Then it is saved in split result, then all other straight line included with the rectangle intersection or by the rectangle from queue
All remove;
The criterion of picture frame is:Firstth, comprising specific title block word, such as:Engineering name, examination & verification, authorization etc.;Secondth,
In the rectangle, there is one to compare the interior rectangle frame pressed close to.
Picture frame specifically judges that step is:A1, set feature word, the area ratio of interior housing that each class picture frame is included
Example scope;A2, it is all fall word in the rectangular extent find out and be compared with feature word one by one, if a3,
Step a2 passes through, then all straight lines being included in the rectangular extent are screened, the 2nd the-the 3 step of step of repeat step, finds
One maximum rectangle frame being included in the rectangle, then calculates its area, the maximum rectangle frame of gained and former rectangle frame
Area is compared and obtains a ratio, judges whether the ratio falls in the range of setting.
5th step:The most long straight line of length in remaining straight line is read, the 2nd step of repeat step is to the 4th step, until traversal is all
Straight line.
From the remaining straight line of rectilinear alignments, the maximum straight line of length is taken, repeats above action, until traversal is all of straight
Line.
After splitting to the picture frame scope of engineering drawing, the coordinate range of the picture frame of gained has determined, and adds
When annotation, the coordinate range of the minimum rectangle comprising the annotation can also be equally obtained.Picture frame as obtained by comparing with
Coordinate range comprising the annotation minimum rectangle, it is determined which picture frame scope annotation falls in.If comprising annotation minimum rectangle
Coordinate range intersect with the coordinate range of a picture frame of gained, determine that annotation falls in this picture frame of gained.For
The picture frame for splitting out, starts title block identification module, can be the correlation engineering acquisition of information in picture frame out.Concrete title block is known
The method of the identification title block in other module is disclosed by 200810216795.4 patents, and here is not being repeated.
The annotation suggestion that user is formed in review process, is saved down the part for being used as design process information.Setting
In the quality management system of meter industry, needs are all recorded to all design processes, are examined process including engineering drawing school and are produced
Raw document.The present invention can also annotation suggestion and correlation engineering information, the list form specified according to user, automatically
Related e-file is generated, so as to avoid the tedious work amount of project planner's gap filling macadam list afterwards.Such as Fig. 3 institutes
Show, the generating process of quality list is as follows:
1. template file is formulated according to the form of quality list
The electrical form of html format is drawn according to quality table single lattice formula, and the domain of correlation is set in electrical form
Information, forms form templat file.
Quality form templat file includes following content:
The pattern of list, the corresponding input domain of each grid of list
The input domain defined parameters of list, specifically include:
(1)The title of input domain
(2)The size of input domain
(3)The corresponding control of input domain, such as text box, combobox, multiline text frame, date
(4)The corresponding DSN of input domain
The storing process title that list is used.In order to be able to process various types of list forms, need 4 kinds of definition different
Storing process, effect is respectively:
(1)Obtain the content of general text type input domain
(2)Obtain the content of the input domain for needing user to select in a list
(3)Obtain the content of a detailed form
(4)Obtain the authority of an input domain
2. determine the data source of information in template file, marked in a template
3. the call relation and parametric form of template file and database store process are determined
Storing process refers to the program for being stored in database, can realize the operation flow of user according to actual needs.This
In need the number of parameters and type of storing process that definite quality list uses, so prepare to obtain list number in operation system
According to when, can be according to the parameter of agreement calling storing process.
4. after generating the command triggers of quality list, the information of automatic data collection Current software running environment, including:Current work
Journey, current file ID, active user, form types etc.;
5. the information of running environment is sent to the database store process specified as parameter;
6. database store process forms the data source specified by computing;
7. data source is sent to list synthesis module, is extracted in the form that the data specified fill out correlation;
8. user carries out the appropriate quality document for supplementing editor, forming reality to the formfile for being formed.
Automatically generating for quality list can make user's flexible configuration as needed, it is not necessary to list pattern is solidificated in soft
In part, the dependence to software developer is greatly reduced so that the vitality of information system is more lasting.
As shown in figure 5, the online auditing system of the engineering drawing of the present invention includes:Annotation logging modle, annotation locating module, guarantor
Storing module, the interim add module of annotation and annotation simultaneous display module.
Wherein annotate logging modle, for annotating instrument used in engineering drawing, record user including annotation position, batch
Note the annotation parameter seen;Annotation locating module, for splitting to the picture frame scope of the engineering drawing, recognizes the engineering
Whole picture frame scopes included in figure, read the corresponding title block content of the picture frame scope, by the annotation position with it is described
Whole picture frame scopes are compared, it is determined that the picture frame scope belonging to annotation, annotation suggestion and the affiliated picture frame scope and
Its title block content is associated;Preserving module, for the annotation parameter is stored in the annotation being associated with engineering drawing text
In part;Interim add module is annotated, for reading the annotation parameter in the annotation file, by the annotation in the annotation parameter
Suggestion is converted to pel according to annotation type and is added in the engineering drawing temporarily;Annotation simultaneous display module, for will be described
Annotation file is sent to other online users, after other online users receive the annotation file, reads the annotation file
In annotation parameter and will annotation simultaneous display on same engineering drawing.
The present invention the online auditing system of engineering drawing, also including quality list generation module, for will include annotate author,
The annotation content of annotation suggestion, annotation scope, the pel of annotation association and picture frame scope is stored in database, formulates template text
Part simultaneously determines the call relation and parameters relationship of the template file and the database, extracts the specified data in the database
Fill out generation quality list in template file.
Locating module is annotated described in the present embodiment also to be included:
Screening module, for reading all of straight line information in the engineering drawing, filters out horizontal and vertical straight line simultaneously
It is ranked up according to length;Searching modul, the straight line A most long for finding out length, circulation are found out and are connected with straight line A two-end-points
And the direction straight line B vertical with the straight line A and straight line C;Find out on the connection straight line B and straight line C away from straight line A one end
The straight line D of end points, straight line A, straight line B, straight line C and straight line D-shaped are rectangular;Analysis module, for analyzing whether the rectangle accords with
Picture frame standard is closed, if the rectangle meets picture frame standard, the rectangle is saved in split database and by all and institute
State rectangle intersection or all deleted from queue by the straight line that the rectangle is included.
The analysis module is further included:Setting module, for the concrete species according to picture frame, sets each class picture frame
Comprising feature word, interior housing area ratio scope;Comparison module, for it is all fall in the rectangular extent
Word is found out and is compared with the feature word one by one;Judge module, for being included in the rectangular extent all
Interior straight line is screened, repeat step S22-S23, finds a maximum rectangle frame being included in the rectangle, calculates institute
The area of maximum rectangle frame is stated, the area ratio of the maximum rectangle frame and the rectangle is drawn, judges that the area ratio is
It is no fall arrange described interior housing area ratio in the range of.
Obviously, those skilled in the art should be understood that each step or each module of the above-mentioned present invention can be with general
Computing device realizing, they can be concentrated on single computing device, or are distributed in multiple computing devices and are constituted
Network on, alternatively, they can be realized with the executable program code of computing device, it is thus possible to they are stored
Perform in the computing device of storage device, or they are fabricated to each integrated circuit template respectively, or by them
Multiple modules or step be fabricated to single integrated circuit module to realize.So, the invention is not restricted to any specific hardware
Combine with software.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (7)
1. the online checking method of a kind of engineering drawing, it is characterised in that comprise the steps:
The first step, annotates instrument used in engineering drawing, record user including the annotation parameter for annotating position, annotation suggestion;
Second step, splits to the picture frame scope of the engineering drawing, recognizes the whole picture frame models included in the engineering drawing
Enclose, read the corresponding title block content of the picture frame scope, the annotation position is compared with whole picture frame scopes, really
Picture frame scope belonging to fixed annotation, is associated the annotation suggestion, to engineering with affiliated picture frame scope and its title block content
The method split by the picture frame scope of figure is subdivided into following steps:
S21 :All of straight line in the engineering drawing is read, horizontal and vertical straight line is filtered out and is ranked up according to length;
S22 :Find out the most long straight line A of length, circulation is found out
Straight straight line B and straight line C;
S23 :Find out the straight line D of the end points on the connection straight line B and straight line C away from straight line A one end, straight line A, straight line B,
Straight line C and straight line D forms rectangle;
S24 :Analyze whether the rectangle meets picture frame standard, if the rectangle meets picture frame standard, the rectangle is preserved
All delete from queue with the rectangle intersection or by the straight line that the rectangle is included in split database and by all;
S25 :Read the most long straight line of length in remaining straight line, repeat step S22 to S24, until all of straight line of traversal;
3rd step, the annotation parameter is stored in the annotation file being associated with the engineering drawing;
4th step, reads the annotation parameter in the annotation file, by the annotation suggestion in the annotation parameter according to annotation class
Type is converted to pel and is added in the engineering drawing temporarily;
The annotation file is sent to other online users by the 5th step, after other online users receive the annotation file,
The annotation parameter in the annotation file is read simultaneously by annotation simultaneous display on same engineering drawing.
2. the online checking method of engineering drawing as described in claim 1, it is characterised in that:Also include the 6th after 5th step
Step:Annotation content including annotation author, annotation suggestion, annotation scope, the pel of annotation association and picture frame scope is stored in
In database, template file is formulated, the specified data in the extraction database are filled out in the template file and generate quality table
It is single.
3. the online checking method of engineering drawing as described in claim 2, it is characterised in that:In step S24, the picture frame
Standard is:Firstth, specific title block word is included in described rectangle;Secondth, there is an interior rectangle pressed close in the rectangle
Frame.
4. the online checking method of engineering drawing as described in claim 3, it is characterised in that:In step S24, analysis is described
Whether rectangle meets concretely comprising the following steps for picture frame standard:
S241 :According to the concrete species of picture frame, feature word, the area ratio of interior housing that each class picture frame is included are set
Scope;
S242 :It is all fall word in the rectangle find out and be compared with the feature word one by one;
S243:All straight lines being included in the rectangular extent are screened, repeat step S22-S23 finds one
The individual maximum rectangle frame being included in the rectangle, calculates the area of the maximum rectangle frame, draw the maximum rectangle frame with
The area ratio of the rectangle, judges whether the area ratio falls in the range of the described interior housing area ratio for arranging.
5. the online auditing system of a kind of engineering drawing, it is characterised in that include with lower module:
Annotation logging modle, for annotating instrument used in engineering drawing, record user including annotation position, annotation suggestion
Annotation parameter;
Annotation locating module, for splitting to the picture frame scope of the engineering drawing, recognizes included in the engineering drawing
Whole picture frame scopes, read the corresponding title block content of the picture frame scope, by the annotation position and whole picture frame scopes
Compare, it is determined that the picture frame scope belonging to annotation, the annotation suggestion and affiliated picture frame scope and its title block content phase
Association, the annotation locating module also include:
Screening module, for reading all of straight line information in the engineering drawing, filter out horizontal and vertical straight line and according to
Length is ranked up;
Searching modul, the straight line A most long for finding out length, circulation find out connect with straight line A two-end-points and direction with it is described
Straight line A vertical straight line B and straight line C;Find out end points on the connection straight line B and straight line C away from straight line A one end
Straight line D, straight line A, straight line B, straight line C and straight line D form rectangle;
Analysis module, for analyzing whether the rectangle meets picture frame standard, if the rectangle meets picture frame standard, will be described
It is during rectangle is saved in split database and all straight lines included with the rectangle intersection or by the rectangle are complete from queue
Delete in portion;
Preserving module, for the annotation parameter is stored in the annotation file being associated with the engineering drawing;
Interim add module is annotated, for reading the annotation parameter in the annotation file, by the annotation in the annotation parameter
Suggestion is converted to pel according to annotation type and is added in the engineering drawing temporarily;
Annotation simultaneous display module, for the annotation file is sent to other online users, other online users receive
After the annotation file, the annotation parameter in the annotation file is read simultaneously by annotation simultaneous display on same engineering drawing.
6. the online auditing system of engineering drawing as claimed in claim 5, it is characterised in that also include:
Quality list generation module, for by including annotation author, annotation suggestion, annotation scope, the pel of annotation association and figure
The annotation content of frame scope is stored in database, is formulated template file and is determined calling for the template file and the database
Relation and parameters relationship, extract the specified data in the database and fill out generation quality list in the template file.
7. the online auditing system of engineering drawing as claimed in claim 6, it is characterised in that:The analysis module includes:
Setting module, for the concrete species according to picture frame, sets feature word, the face of interior housing that each class picture frame is included
Product proportion;
Comparison module, for it is all fall word in the rectangular extent find out and carry out with the feature word one by one
Relatively;
Judge module, for all straight lines being included in the rectangular extent are screened, repeat step S22-S23,
A maximum rectangle frame being included in the rectangle is found, the area of the maximum rectangle frame is calculated, is drawn the maximum square
Shape frame and the area ratio of the rectangle, judge whether the area ratio falls in the model of the described interior housing area ratio for arranging
In enclosing;
Step S22-S23 is as follows:
S22 :Find out the most long straight line A of length, circulation is found out
Straight straight line B and straight line C;
S23 :Find out the straight line D of the end points on the connection straight line B and straight line C away from straight line A one end, straight line A, straight line B,
Straight line C and straight line D forms rectangle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310072585.3A CN104036060B (en) | 2013-03-07 | 2013-03-07 | A kind of online checking method of engineering drawing and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310072585.3A CN104036060B (en) | 2013-03-07 | 2013-03-07 | A kind of online checking method of engineering drawing and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104036060A CN104036060A (en) | 2014-09-10 |
CN104036060B true CN104036060B (en) | 2017-04-05 |
Family
ID=51466832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310072585.3A Active CN104036060B (en) | 2013-03-07 | 2013-03-07 | A kind of online checking method of engineering drawing and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104036060B (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105978954B (en) * | 2016-04-28 | 2019-05-28 | 武汉开目信息技术有限责任公司 | A kind of the drawing and document used time signature method and system of oriented of Information System |
CN106570682A (en) * | 2016-11-08 | 2017-04-19 | 广东柳道热流道系统有限公司 | Production control method based on drawing inspection optimization |
CN107045526B (en) * | 2016-12-30 | 2020-04-14 | 许昌学院 | Pattern recognition method for electronic building construction drawing |
CN106599328B (en) * | 2017-02-06 | 2019-11-26 | 中国农业银行股份有限公司 | A kind of document handling method and device |
CN107908843B (en) * | 2017-11-07 | 2022-05-27 | 杭州格原信息技术有限公司 | Management system based on drawing of map label information |
CN108921442A (en) * | 2018-07-11 | 2018-11-30 | 北京中飞艾维航空科技有限公司 | The picture examination method and device of grid equipment |
CN109325276B (en) * | 2018-09-10 | 2023-05-23 | 中交第二航务工程勘察设计院有限公司 | BIM model object-based examination processing method |
CN109684587A (en) * | 2018-12-24 | 2019-04-26 | 深圳市毕美科技有限公司 | A kind of positioning communication method and device based on design drawing |
CN110399510A (en) * | 2019-06-10 | 2019-11-01 | 万翼科技有限公司 | A kind of the check of drawings method for pushing and system of engineering drawing |
CN110347686A (en) * | 2019-07-02 | 2019-10-18 | 上海外高桥造船有限公司 | Record the method and system of engineering drawing modification information |
CN110490181B (en) * | 2019-08-14 | 2022-04-22 | 北京思图场景数据科技服务有限公司 | Form filling and auditing method, device and equipment based on OCR (optical character recognition) technology and computer storage medium |
CN111027429B (en) * | 2019-11-29 | 2024-01-12 | 广东工业大学 | Data preprocessing method and system for intelligent recognition of electrical drawing |
CN111554370A (en) * | 2020-05-14 | 2020-08-18 | 北京嘉和美康信息技术有限公司 | Electronic medical record auditing method and device |
CN111611945A (en) * | 2020-05-25 | 2020-09-01 | 江西金格科技股份有限公司 | Universal AutoCAD picture frame identification method |
CN111832254B (en) * | 2020-06-24 | 2024-06-11 | 深圳市万翼数字技术有限公司 | Drawing annotation display processing method and device |
CN111831608A (en) * | 2020-06-24 | 2020-10-27 | 万翼科技有限公司 | Opinion display method of CAD drawing, electronic equipment and related product |
CN111832445B (en) * | 2020-06-29 | 2024-06-18 | 深圳市万翼数字技术有限公司 | Positioning method and related device for engineering drawing |
CN111832449B (en) * | 2020-06-30 | 2024-06-18 | 深圳市万翼数字技术有限公司 | Engineering drawing display method and related device |
CN111932198B (en) * | 2020-07-22 | 2024-04-12 | 万翼科技有限公司 | File auditing method and related products |
CN117373052B (en) * | 2023-12-05 | 2024-02-23 | 江西少科智能建造科技有限公司 | CAD drawing frame information extraction method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08329136A (en) * | 1995-05-31 | 1996-12-13 | Meidensha Corp | Method for editing design drawing |
CN1741047A (en) * | 2004-08-27 | 2006-03-01 | 鸿富锦精密工业(深圳)有限公司 | The sheet metal component engineering document generates management system and method |
CN102156752A (en) * | 2011-04-27 | 2011-08-17 | 北京数码大方科技有限公司 | Method and device for updating annotation object of CAD (computer-aided design) |
-
2013
- 2013-03-07 CN CN201310072585.3A patent/CN104036060B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08329136A (en) * | 1995-05-31 | 1996-12-13 | Meidensha Corp | Method for editing design drawing |
CN1741047A (en) * | 2004-08-27 | 2006-03-01 | 鸿富锦精密工业(深圳)有限公司 | The sheet metal component engineering document generates management system and method |
CN102156752A (en) * | 2011-04-27 | 2011-08-17 | 北京数码大方科技有限公司 | Method and device for updating annotation object of CAD (computer-aided design) |
Non-Patent Citations (1)
Title |
---|
产品协同开发中图形浏览与批注技术的研究;金黎黎;《中国优秀硕士学位论文全文数据库 信息科技辑》;20100815;第33-34、42-45页,第58页,图5-11、图5-12 * |
Also Published As
Publication number | Publication date |
---|---|
CN104036060A (en) | 2014-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104036060B (en) | A kind of online checking method of engineering drawing and system | |
CN112270027B (en) | Paperless intelligent interactive examination method for city design based on entity model | |
CN109948134A (en) | A kind of report automatic generation method, system and electronic equipment and storage medium | |
CN104361018B (en) | Electronic archives information reorganization method and device | |
CN109491735B (en) | Integrated data generation and verification integrated monitoring human-computer interface configuration implementation method | |
CN101988961B (en) | Geographic location data collecting system | |
CN103530407B (en) | Method and device for generating rich text document | |
CN112232047A (en) | Method, system, equipment and medium for multi-dimensional data acquisition and automatic summarization | |
US20100100807A1 (en) | Data processing device, and data processing method | |
CN109977383A (en) | A kind of form information extracting method based on Excel | |
CN108229906A (en) | A kind of comprehensive examination analysis analysis method and system | |
CN109213480A (en) | A kind of method, storage medium, equipment and system for developing the back-stage management page | |
CN106445900A (en) | Table style processing method and device | |
CN104298705A (en) | Converting method of relational data and unstructured data | |
KR101021486B1 (en) | Interactive operating procedures system based on the web for nuclear or thermal power plant | |
CN102467496B (en) | Method and device for converting stream mode typeset content into block mode typeset document | |
CN105095599A (en) | DWG format drawing automatic generation method | |
CN110264066A (en) | A kind of automobile industry transition and upgrade information monitoring system | |
CN110083810A (en) | List conversion method, device, storage medium and electronic equipment | |
CN109766343A (en) | The method and apparatus of different flowline numberings is generated based on WBS instantiated nodes | |
US20150154567A1 (en) | Facility management system using perspective definition metadata and method therefor | |
CN104899908A (en) | Method and device for generating evolution diagram of event group | |
CN1973285A (en) | Document processing method and device | |
CN110866712B (en) | Component intelligent logistics positioning method and system based on BIM model plug-in | |
CN117521187A (en) | Digital processing supervision method and system based on BIM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |