CN101408907B - System and method for automatically inspecting picture document - Google Patents

System and method for automatically inspecting picture document Download PDF

Info

Publication number
CN101408907B
CN101408907B CN2007102020226A CN200710202022A CN101408907B CN 101408907 B CN101408907 B CN 101408907B CN 2007102020226 A CN2007102020226 A CN 2007102020226A CN 200710202022 A CN200710202022 A CN 200710202022A CN 101408907 B CN101408907 B CN 101408907B
Authority
CN
China
Prior art keywords
view
length
value
attribute block
wide
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.)
Expired - Fee Related
Application number
CN2007102020226A
Other languages
Chinese (zh)
Other versions
CN101408907A (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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2007102020226A priority Critical patent/CN101408907B/en
Publication of CN101408907A publication Critical patent/CN101408907A/en
Application granted granted Critical
Publication of CN101408907B publication Critical patent/CN101408907B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The invention provides an automatic drawing inspection system which comprises a host computer. The host computer comprises the following functional modules: a receiving module, a filter module, a computation module, a comparison module and a prompt module. The system can realize automatic inspection of mold design drawings by the functional modules, prompt error reasons for defective part in terms of design in the inspection process, speeds up the drawing inspection speed and improves the correctness of the inspection result. The invention provides an automatic drawing inspection method at the same time.

Description

The automatically inspecting picture document system and method
Technical field
The invention relates to a kind of punch die aided design system and method, especially a kind of check system and method about figure shelves in the punching die design.
Background technology
In the stamping Die Design process, to the inspection that designs the figure shelves that generate is the last line of defense that guarantees the designed graphic document correctness, and the project of inspection comprises: whether the length and width high value that whether corresponding relation between each view of inspection part is correct, whether the size marking of each view of inspection part is correct, check the part that writes down in the attribute block of part is correct, whether precision is consistent with the markup information of a part view.
To the inspection of figure shelves, manually finished in the past by the designer.For figure shelves that comprise up to a hundred parts, a people goes to check and requires a great deal of time, and sometimes the difference that shows of the project of makeing mistakes is very trickle, observes and can't discern or ignore easily with eyes, so hand inspection result's correctness also can't be protected.
Summary of the invention
In view of above content, be necessary to provide a kind of automatically inspecting picture document system, can check mould design figure file automatically, in checking process,, accelerate a figure shelves inspection speed to the problematic part prompting reason of makeing mistakes, improve the correctness of check result.
In addition, also be necessary to provide a kind of automatically inspecting picture document method, can check mould design figure file automatically, in checking process, point out the reason of makeing mistakes, accelerate a figure shelves inspection speed, improve the correctness of check result problematic part.
A kind of automatically inspecting picture document system comprises main frame, and this main frame comprises: receiver module is used for receiving the part that needs that the user selects from mould design figure file are checked; Filtering module, user filtering fall does not need the figure layer checked in the predefined mould design figure file of user, obtain view information, markup information and the attribute block information of the part of above-mentioned selection in the residual graph layer; Computing module is used to calculate the length of each view of each part that the user selects; And comparison module, be used for and calculate the length of each view of each part of gained, wide, high analog value compares, whether mate with each view of judging this part, and be used for when each views registered of this part, each view of this part is long, wide, high mark value respectively with the length of aforementioned calculation gained, wide, high value compares, long to judge each view, wide, whether high mark value is correct, it is long also to be used for working as each view, wide, when high mark value is correct, the length that writes down in the attribute block with this part, wide, high value is long with each view respectively, wide, high mark value compares, with the length that writes down in the attribute block of judging this part, wide, whether high value is correct.
A kind of automatically inspecting picture document method, this method may further comprise the steps: (a) receive the part that needs that the user selects from mould design figure file are checked; (b) filter out and do not need the figure layer checked in the predefined mould design figure file of user; (c) obtain view information, markup information and the attribute block information of the part of above-mentioned selection in the residual graph layer, described markup information comprises the mark value of the length of each view of part; (d) with each part and respective attributes piece coupling; (e) from above-mentioned part, select a part, obtain view information, markup information and the attribute block information of this part; (f) calculate the length value of this each view of part; (g) the length analog value that will calculate this each view of part of gained compares, and judges whether each view of this part mates; (h) if each views registered of this part, then the mark value of each view length of this part is compared with the length value of aforementioned calculation gained respectively, judge whether the mark value of each view length is correct; (i) if the mark value of each view length is correct, whether then the length value that writes down in the attribute block with this part compares with the mark value of each view length respectively, correct with the length value that writes down in the attribute block of judging this part; (j), judge whether that then part is not checked in addition if the length value that writes down in the attribute block of this part is correct; And, then return step (e) (k) if also have part not check.
Compared to prior art, automatically inspecting picture document system and method provided by the invention can be checked mould design figure file automatically, points out the reason of makeing mistakes to problematic part in checking process, accelerates a figure shelves inspection speed, improves the correctness of check result.
Description of drawings
Fig. 1 is the hardware structure figure of automatically inspecting picture document of the present invention system preferred embodiment.
Fig. 2 is the functional block diagram of main frame among Fig. 1.
Fig. 3 is the process flow diagram of automatically inspecting picture document method of the present invention preferred embodiment.
Embodiment
As shown in Figure 1, be the hardware structure figure of automatically inspecting picture document of the present invention system preferred embodiment.This system comprises: main frame 10, display screen 20, keyboard 30, mouse 40 and database 50.
Database 50 is used to store mould design figure file, and it can be built in main frame 10, also can be placed on main frame 10.
Main frame 10 is used for the part of the needs inspection of user from the mould design figure file that database 50 is selected is carried out self-verifying and in time points out the mistake of finding in the checking process.
Display screen 20, keyboard 30, mouse 40 and database 50 link to each other with main frame 10 respectively.Display screen 20 can be any display device, and it is that user (as the mould designer) provides the user to use the interface, the operational order that the user will carry out by keyboard 30 or mouse 40 inputs.Mould design figure file that display screen 20 explicit users are selected or user need to select the part of inspection.
As shown in Figure 2, be the functional block diagram of main frame 10 among Fig. 1.This main frame 10 comprises: receiver module 110, filtering module 120, computing module 130, comparison module 140 and reminding module 150.
Receiver module 110 is used for receiving the part that needs that the user selects from mould design figure file are checked.
Filtering module 120 is used for filtering out the predefined mould design figure file of user and does not need the figure layer checked, obtains view information, markup information and the attribute block information of all parts of above-mentioned selection in the residual graph layer.
Wherein, view information comprises the point, line, surface of each view of component part.In mould design figure file, in general, each part is to represent with three views of this part, for example front view, right view, vertical view.Wherein, front view is the projection of part on frontal plane of projection, just looks back resulting view from the part dead ahead.Right view is from the projection of the to the left resulting part of part front-right on edge-on projecting plane.Vertical view is the projection of resulting part on surface level that look down directly over part.When the design of a part was accurate, three views of this part satisfied following relation: the equal in length of front view and vertical view, and align i.e. " long aligning " mutually; Front view equates with the height of right view, and concordant mutually, i.e. " high concordant "; Vertical view equates with the width of right view, i.e. " wide equating ".
Markup information mainly comprises the length information (comprising numerical value and unit) that marks on each view of this part, as the length that marks on the height and width that mark on the length that marks on the front view and high, the right view, the vertical view and wide.When the design of a part was accurate, the length information that marks on each view of this part should be consistent with the physical size of each view.
In addition, each part has a corresponding attribute block, has write down the length information (comprising numerical value and unit) of this part in this attribute block.When the design of a part was accurate, the length information that writes down in this attribute of component piece should be consistent with the corresponding length information that marks on each view of this part.
In mould design figure file, also might exist some to be used to write down the part out of Memory, but not the attribute block of record part length information, filtering module 120 also is used to filter out the attribute block that these do not write down part length information.
Comparison module 140 is used for by the distance of each relatively more remaining attribute block and each part front view far and near attribute block and each part match that each is remaining.
Computing module 130 is used to calculate the length value of each view of each part that the user selects.
Comparison module 140, the length analog value of each view that also is used for calculating each part of gained compares, whether mate with each view of judging this part, whether whether judge promptly whether are front view and vertical view " long aligning ", front view and right view " height is concordant ", vertical view and right view " wide equating ".
Whether comparison module 140 also is used for when each views registered of this part, and the mark value of each view length of this part is compared with the length value of aforementioned calculation gained respectively, correct with the mark value of judging each view length.
In addition, comparison module 140 also is used for mark value when each view length of this part when correct, the length value that writes down in the attribute block with this part compares with the mark value of each view length respectively, whether correct with the length value that writes down in the attribute block of judging this part, whether length mark value is consistent on the precision that comprises the length value and each view.
Reminding module 150 is used for pointing out the reason modification for reference that makes mistakes when checking that discovery is wrong.For example: when comparison module 140 judges that each view of this part does not match, reminding module 150 promptings " front view and vertical view are long not to align ", or " front view is not concordant with the right view height ", or " vertical view and right view are wide unequal "; The mark value of judging certain view length when comparison module 140 is with the length value of calculating gained when inconsistent, reminding module 150 promptings " * view length/width/height is worth marking error "; When length mark value is inconsistent on the length value that writes down in the attribute block of comparison module 140 these parts of judgement and each view, reminding module 150 promptings " length/width in the attribute block/high value is wrong " or prompting " it is wrong that length/width in the attribute block/height is worth precision ".
Fig. 3 is the process flow diagram of automatically inspecting picture document method of the present invention preferred embodiment.At first, receiver module 110 receives the part (step S100) that needs that users select are checked from mould design figure file.Filtering module 120 filters out does not need the figure layer (step S101) checked in the predefined mould design figure file of user.Filtering module 120 obtains view information, markup information and the attribute block information (step S102) of all parts of above-mentioned selection in the residual graph layer.Wherein, view information comprises the point, line, surface of each view of component part.In mould design figure file, in general, each part is to represent with three views of this part, for example front view, right view, vertical view.Markup information mainly comprises the length information (comprising numerical value and unit) that marks on each view of this part, as the length that marks on the height and width that mark on the length that marks on the front view and high, the right view, the vertical view and wide.In addition, each part has a corresponding attribute block at least, has write down the length information (comprising numerical value and unit) of this part in this attribute block.In mould design figure file, also might exist some to be used to write down the part out of Memory, but not the attribute block of record part length information, filtering module 120 filters out these attribute blocks that does not write down part length information (S103).
Comparison module 140 is by the distance of each relatively more remaining attribute block and each part front view far and near attribute block and each part match (step S104) that each is remaining.Comparison module 140 is selected a part from above-mentioned part, obtain view information, markup information and the attribute block information (step S105) of this part.Computing module 130 calculates the length value of each view of these parts, as value, the length of vertical view and the wide value (step S106) of the height and width of the length of front view and high value, right view.The analog value that comparison module 140 will calculate this each view of part of gained compares to judge whether each view of this part mates, and whether whether judge promptly whether are front view and vertical view " long aligning ", front view and right view " height is concordant ", vertical view and right view " wide equating " (step S107).If judge each views registered of this part, then comparison module 140 compares (step S108) with the length value of aforementioned calculation gained respectively with the mark value of each view length of this part.The mark value that comparison module 140 is judged each view length whether with the length value consistent (step S109) of calculating gained.If consistent, represent that then the mark value of each view length of this part is correct, the length value that writes down in the attribute block of comparison module 140 with this part compares (step S110) with the mark value of each view length respectively.Comparison module 140 judges whether the length value that writes down in the attribute block of this part is correct, length mark value whether consistent (step S111) on the precision that comprises the length value and each view.The user judges whether that part is not checked (step S112) in addition.If all parts that the user selects are all checked finish, then flow process finishes; If also have part not check, then return step S105.
At step S107, if comparison module 140 is judged when each view of this part does not match, then enter step S113, reminding module 150 is pointed out the reason of makeing mistakes, as prompting " front view and vertical view are long not to align ", or " front view is not concordant with the right view height ", or " vertical view and right view are wide unequal ".Afterwards, enter step S112.
At step S109, if comparison module 140 is judged the mark value of certain view length of this part and is existed and the inconsistent situation of length value of calculating gained, then enter step S113, reminding module 150 is pointed out the reason of makeing mistakes, as prompting " * view length/width/high value marking error ".Afterwards, enter step S112.
At step S111, when if length mark value is inconsistent on the length value that writes down in the attribute block of comparison module 140 these parts of judgement and each view, then enter step S113, reminding module 150 reason of makeing mistakes is as prompting " length/width in the attribute block/high value is wrong " or prompting " it is wrong that length/width in the attribute block/height is worth precision ".Afterwards, enter step S112.

Claims (4)

1. an automatically inspecting picture document system comprises main frame, it is characterized in that, this main frame comprises:
Receiver module is used for receiving the part that needs that the user selects from mould design figure file are checked;
Filtering module, user filtering falls does not need the figure layer checked in the predefined mould design figure file of user, obtain view information, markup information and the attribute block information of the part of above-mentioned selection in the residual graph layer, described markup information comprises the mark value of the length of each view of part;
Computing module is used to calculate the length value of each view of each part that the user selects; And
Comparison module, be used for and calculate the length of each view of each part of gained, wide, high analog value compares, whether mate with each view of judging this part, and be used for when each views registered of this part, each view of this part is long, wide, high mark value respectively with the length of aforementioned calculation gained, wide, high value compares, long to judge each view, wide, whether high mark value is correct, it is long also to be used for working as each view, wide, when high mark value is correct, the length that writes down in the attribute block with this part, wide, high value is long with each view respectively, wide, high mark value compares, with the length that writes down in the attribute block of judging this part, wide, whether high value is correct.
2. automatically inspecting picture document as claimed in claim 1 system is characterized in that this main frame also comprises reminding module, is used for finding when wrong when checking the prompting reason of makeing mistakes.
3. an automatically inspecting picture document method is characterized in that, this method may further comprise the steps:
(a) receive the part that needs that the user selects are checked from mould design figure file;
(b) filter out and do not need the figure layer checked in the predefined mould design figure file of user;
(c) obtain view information, markup information and the attribute block information of the part of above-mentioned selection in the residual graph layer, described markup information comprises the mark value of the length of each view of part;
(d) with each part and respective attributes piece coupling;
(e) from above-mentioned part, select a part, obtain view information, markup information and the attribute block information of this part;
(f) calculate the length value of this each view of part;
(g) the length analog value that will calculate this each view of part of gained compares, and judges whether each view of this part mates;
(h) if each views registered of this part, then the mark value of each view length of this part is compared with the length value of aforementioned calculation gained respectively, judge whether the mark value of each view length is correct;
(i) if the mark value of each view length is correct, whether then the length value that writes down in the attribute block with this part compares with the mark value of each view length respectively, correct with the length value that writes down in the attribute block of judging this part;
(j), judge whether that then part is not checked in addition if the length value that writes down in the attribute block of this part is correct; And
(k) if also have part not check, then return step (e).
4. automatically inspecting picture document method as claimed in claim 3, it is characterized in that, do not match if judge each view of this part in step (g), or judge that in step (h) the mark value of each view length of this part is incorrect, or judge that in step (i) the length value that writes down in the attribute block of this part is incorrect, then carry out following steps:
(l) point out the reason of makeing mistakes; And
(m) judge whether that part is not checked in addition,, then return step (e) if also have part not check.
CN2007102020226A 2007-10-11 2007-10-11 System and method for automatically inspecting picture document Expired - Fee Related CN101408907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007102020226A CN101408907B (en) 2007-10-11 2007-10-11 System and method for automatically inspecting picture document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007102020226A CN101408907B (en) 2007-10-11 2007-10-11 System and method for automatically inspecting picture document

Publications (2)

Publication Number Publication Date
CN101408907A CN101408907A (en) 2009-04-15
CN101408907B true CN101408907B (en) 2010-11-10

Family

ID=40571919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007102020226A Expired - Fee Related CN101408907B (en) 2007-10-11 2007-10-11 System and method for automatically inspecting picture document

Country Status (1)

Country Link
CN (1) CN101408907B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537181B (en) * 2015-01-04 2019-04-12 北京数码大方科技股份有限公司 The wrong data restorative procedure and device marked in CAD
CN104537089B (en) * 2015-01-05 2018-03-30 北京数码大方科技股份有限公司 Labeled data reliability checking method and device in CAD

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920834A (en) * 2005-08-26 2007-02-28 鸿富锦精密工业(深圳)有限公司 Fittings reasonability checking system and method
CN1940945A (en) * 2005-09-30 2007-04-04 鸿富锦精密工业(深圳)有限公司 Workpiece discriminating system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920834A (en) * 2005-08-26 2007-02-28 鸿富锦精密工业(深圳)有限公司 Fittings reasonability checking system and method
CN1940945A (en) * 2005-09-30 2007-04-04 鸿富锦精密工业(深圳)有限公司 Workpiece discriminating system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP特开平10-11474A 1998.01.16
JP特开平8-6987A 1996.01.12

Also Published As

Publication number Publication date
CN101408907A (en) 2009-04-15

Similar Documents

Publication Publication Date Title
JP3758453B2 (en) Cost estimation method and cost estimation apparatus
US10614391B2 (en) Method and apparatus for work quality control
CN110210141A (en) Model collision detection method, device and electronic equipment based on BIM technology
CN106991196B (en) Universal data tracing method and system
KR101890179B1 (en) System extracting and aggregating constructuon expenses of each space/parts based on quantity calculation and staement of construction work and writing method of the same
CN101639849B (en) Method for processing data and device therefor
CN101178750A (en) PCB emulation system have error detection function and realization method thereof
CN108415917B (en) Visual report generation method and visual report generation device
CN105701263A (en) Three-dimensional model part comparison system and method
CN101408907B (en) System and method for automatically inspecting picture document
CN110134721A (en) Data statistical approach, device and electronic equipment based on bitmap
CN111475970B (en) Structural model deriving system and method
EP1569145A1 (en) System and apparatus for managing information on chemical substances used in products
CN116416522A (en) Plant species determination method, plant species determination device and computer readable storage medium
CN107992692B (en) Method and terminal for generating vehicle body measuring point file
CN101770527A (en) Method for modifying data of circuit components
CN101446989B (en) Part design system and method thereof
CN102955870A (en) Method and system for extracting dimension information
CN101398899B (en) System and method for auto- recognizing metal plate part edge type
CN112487534A (en) BIM technology-based method for analyzing net height of building
CN113129438A (en) Method and device for improving accuracy of lane line and readable storage medium
CN101452498B (en) Footpad auto-adding system and method for punching mold
CN101452499B (en) Element structure graph intelligent correcting system and method
CN117194704B (en) Method, device and equipment for inquiring attribute of component-level live-action three-dimensional model
CN107908605A (en) According to the method for its regional location of electric instrument device coordinate information quick obtaining

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101110

Termination date: 20151011

EXPY Termination of patent right or utility model