Background technology
TOLERANCE ANALYSIS refer to meet product function, performance, outward appearance and assembling capacity etc. require on the premise of, reasonable definition
With distribution member and the tolerance of product, optimizing product design, with minimum cost and highest quality manufacture product.
TOLERANCE ANALYSIS instrument highly useful in the product design as Facing to Manufacturing and assembling, can help mechanical engineering
Teacher:The tolerance of reasonable set element is realized to reduce the assembling capacity of the manufacturing cost of element, judgment component, judgment component whether
Interfering in assembling process will with whether product critical size after judgment component assembling meets outward appearance, quality and function etc.
Ask.
When finding that product design is unsatisfactory for requiring by TOLERANCE ANALYSIS, typically there are two methods to carry out solve problem.One
It is that reaching requirement, but this can increase the manufacturing cost of element by accurate component tolerances;Its two be by optimize product
Design(For example, increase assembling location feature)To meet product design requirement.
And existing TOLERANCE ANALYSIS by artificial selection's correlation drawing and is inserted data in TOLERANCE ANALYSIS table.And utilize chi
Very little chain(dimensional chain)Correction, use and find out adjustable position of components.One dimension chain is one group mutual
The size of connection and form a geometry closed-loop.Can be on an element multiple element position or assembling finished product in multiple units
The size of part.Refer to shown in Fig. 1, which is the sign schematic diagram of existing dimension chain.Dimension chain is by each local element(Input chi
It is very little)With a closure elements(As a result size)And constitute.Local element(A, B, C, D, E, F and G)Can define on drawing
Size or processing, the size of assembling.As a result overall size, tolerance and limit deviation depend on the size of local element
And tolerance.
But during size and tolerance are inserted, it may occur that the size of element gets the wrong sow by the ear or size chain direction is wrong
By mistake situations such as.This will allow dimension chain to be unable to reach the requirement of closing so that carry out error occur during TOLERANCE ANALYSIS.
The content of the invention
In view of the above problems, it is an object of the invention to provide a kind of tolerance detecting system of computer graphics, application
In the process of mapping program Dimension Chain Tolerance of multiple local elements in construction package is captured.
Disclosed herein the tolerance detecting system of computer graphics include:Display unit, input block, storage element
With processing unit.Display unit shows visual interface, and visual interface is to show local element with selected characteristic point;Input
Unit receives the instruction of move, target selection instruction and feature selection, selects to appoint local element and feature from display unit
Point;Storage element memory structure component and TOLERANCE ANALYSIS table;Processing unit is connected to display unit and storage element, processing unit
Instructed to select the impact point in the local element in visual interface according to target selection;Wherein, processing unit is according to movement
The moving direction of instruction determines the size chain direction of local element, and processing unit is instructed according to feature selection and along dimension chain side
Characteristic point is selected upwards, and measures the spacing of characteristic point;After all of characteristic point is completed, processing unit is according to impact point and spy
Levy and the distance between be a little recorded in TOLERANCE ANALYSIS table with distance computation Dimension Chain Tolerance and by Dimension Chain Tolerance.
The present invention separately proposes a kind of tolerance detection method of computer graphics, and which comprises the following steps:Select local element;
The optional impact point from selected local element;On the basis of impact point and select size chain direction;Exist along size chain direction
Characteristic point is selected in local element and the spacing of characteristic point is calculated;On the basis of characteristic point and repeatedly select new characteristic point and count
The step of calculating spacing;All of characteristic point is recorded in TOLERANCE ANALYSIS table with affiliated spacing.
The tolerance detecting system of computer graphics proposed by the invention and its method can automatically select local element
Dimension chain simultaneously calculates whether corresponding tolerance meets required.The present invention can be applied in various computer graphics, and by office
The relative dimensions of portion's element are brought in TOLERANCE ANALYSIS table, use the activity duration simplified when changing between difference mapping software.
Describe the present invention below in conjunction with the drawings and specific embodiments, but it is not as a limitation of the invention.
Description of the drawings
Fig. 1 is the sign schematic diagram of existing dimension chain.
Fig. 2 is the configuration diagram of the present invention.
Fig. 3 is the operation workflow schematic diagram of the present invention.
Fig. 4 A, which is the schematic diagram of the dimension chain detection with record TOLERANCE ANALYSIS table automatically of the present invention.
Fig. 4 B, which is the schematic diagram of the dimension chain detection with record TOLERANCE ANALYSIS table automatically of the present invention.
Fig. 4 C, which is the schematic diagram of the dimension chain detection with record TOLERANCE ANALYSIS table automatically of the present invention.
Fig. 4 D, which is the schematic diagram of the dimension chain detection with record TOLERANCE ANALYSIS table automatically of the present invention.
Fig. 4 E, which is the schematic diagram of the dimension chain detection with record TOLERANCE ANALYSIS table automatically of the present invention.
Fig. 4 F are the schematic diagram of the dimension chain detection with record TOLERANCE ANALYSIS table automatically of the present invention.
Fig. 5 is the decision flow chart of the sealing size chain of the present invention.
【Main element symbol description】
Local element A, B, C, D, E, F, G
Tolerance detecting system 200
Display unit 210
Input block 220
Storage element 230
Plane pictorial information 231
Three-dimensional pictorial information 232
TOLERANCE ANALYSIS table 233
Processing unit 240
Impact point 411
First direction 412
Second direction 413
Fisrt feature point 421
Second feature point 422
Third feature point 423
Fourth feature point 424
Specific embodiment
Below in conjunction with the accompanying drawings the structural principle and operation principle of the present invention are described in detail:
The present invention be applied to computer drawing software among.The present invention is except being realized with independent application program
Outward, it is also possible to by way of plug-in program and computer graphics program of arranging in pairs or groups is operated.And the species of computer graphics can
To be but be not limited to the softwares such as 3D MAX, Pro/E or Auto CAD.
Refer to shown in Fig. 2, which is the configuration diagram of the present invention.The tolerance detecting system of the computer graphics of the present invention
200 include:Display unit 210, input block 220, storage element 230 and processing unit 240.Processing unit 240 is electrically connected with
In display unit 210, input block 220 and storage element 230.It is with fortune that processing unit described herein 240 can refer to
The computer installation of calculation ability(computer).Display unit 210 can show a visual interface(Do not illustrate), and visual interface is used
To draw local element and selected characteristic point.Visual interface is except the picture of aforesaid computer graphics program of can arranging in pairs or groups
Outward, it is also possible to be independently of another display interface of described computer graphics program.
The species of input block 220 can be keyboard, mouse or other positioners(pointer).User can lead to
Cross input equipment and the instruction of move, target selection instruction and feature selection is assigned to processing unit 240.Storage element 230 is used
To store plane pictorial information 231(Or three-dimensional pictorial information 232)With TOLERANCE ANALYSIS table 233.Construction package in the present invention
It is the structure being made up of multiple local elements.Plane pictorial information 231 is with three-dimensional pictorial information 232 to note down structure group
The different display contents of part.Plane pictorial information 231 is to note down the every terms of information of the planar configuration of construction package.And axonometric chart
Show that information 232 then records the relevant information of the stereochemical structure of local element.And each local element corresponds to a characteristic point.
To distinguish selected characteristic point at present and non-selected characteristic point, therefore in the present invention by selected spy
Levy.The major function of move is the vernier in moving-vision interface.The effect of target selection instruction
It is to select the impact point on vernier position.The effect of feature selection instruction is from existing impact point along set chi
Very little chain direction selects next characteristic point.
For the operation workflow of the clear explanation present invention, referring also to shown in Fig. 3, which is that the operation workflow of the present invention is illustrated
Figure.The tolerance detection method of the present invention is comprised the following steps:
Step S310:Select plane pictorial information or three-dimensional pictorial information;
Step S320:Select construction package;
Step S330:Local element and corresponding impact point are chosen from selected construction package;
Step S340:On the basis of impact point and select size chain direction;
Step S350:Characteristic point is selected along size chain direction in local element and calculate the spacing of characteristic point;
Step S360:On the basis of characteristic point and the step of repetition selects new characteristic point with spacing is calculated;And
Step S370:All of characteristic point is recorded in TOLERANCE ANALYSIS table with affiliated spacing.
First, user can select plane pictorial information 231 or three-dimensional pictorial information 232 arbitrary.And below for convenience
Illustrate so be illustrated by the way of plane pictorial information 231, to be not intended to be limited to this.And Fig. 4 A~figure please be coordinate
Shown in 4F, which is the schematic diagram of dimension chain detection respectively of the invention and record TOLERANCE ANALYSIS table 233 automatically.If plane is illustrated
When there is multiple construction packages in information 231, then user can select any structure component from plane pictorial information 231.
And to distinguish each characteristic point in Fig. 4 A~Fig. 4 F, so the characteristic point of Fig. 4 B~Fig. 4 F is respectively defined as fisrt feature point, the
Two characteristic points, third feature point and fourth feature point.
Then, selection local element and corresponding impact point from selected construction package.The selection mode of impact point can
Determined with the species according to construction package.And described impact point forms the dimension chain of a closing with characteristic point.According to figure
Shown in 4A, the selection of impact point can be chosen from the edge of construction package.Rightmost local element is chosen in Figure 4 A
And as impact point, as shown in the impact point 411 of Fig. 4 A.For the impact point 411 in Fig. 4 A can be represented therefore with this solid black
Point is used as illustrating, and other characteristic points are then using hollow stain as representing.But might not be with aforesaid mapping software
This is used as expression.Simultaneously, processing unit 240 records impact point 411 among the first hurdle in TOLERANCE ANALYSIS table 233.
As only one impact point 411 has no spacing, so the spacing field in TOLERANCE ANALYSIS table 233 is then not insert any number
Value.
After the selection for completing impact point 411, user can further determine dimension chain side according to the composition of construction package
To.By taking Fig. 4 A as an example, the right of impact point 411 has not had other local elements.Therefore user can be from impact point 411
Choose other local elements in left(With characteristic point).User can assign shifting to processing unit 240 by input block 220
Vernier is moved to next local element by dynamic instruction.And impact point 411 is then defined as dimension chain to the direction of a secondary characteristic point
Direction.As the position of each local element differs so that size chain direction would also vary from.
Due to this embodiment of Fig. 4 A be using cross section as construction package, so size chain direction be only two directions,
Here is defined as first direction 412 and second direction 413.And the angle between first direction 412 and second direction 413 be for
180 degree.But this angle is only the illustration of the present invention, can multiple not Tongfangs as shown in Figure 1 in actual operation
To.It is for first direction 412 from impact point 411 to the size chain direction of the fisrt feature of Fig. 4 B point 421.And calculate impact point
Spacing between 411 to fisrt feature point 421.By fisrt feature point 421 record among spacing to TOLERANCE ANALYSIS table 233.And
Fisrt feature point 421 to the size chain direction of second feature point 422 be for second direction 413.
Fisrt feature point 421 with Fig. 4 B is as new starting point, and selects second feature point 422(Refer to institute in Fig. 4 C
Show).Processing unit 240 will determine that the size chain direction and spacing of fisrt feature point 421 and second feature point 422.Processing unit
240 record size chain direction and spacing into TOLERANCE ANALYSIS table 233.Next, repeating aforementioned manner and with second feature point
422 is that new starting point enters the dimension chain of places bout with the judgement of spacing and measurement.Processing unit 240 is again by resulting knot
Fruit is recorded into TOLERANCE ANALYSIS table 233.Between the acquirement third feature point 423 sequentially of processing unit 240 and fourth feature point 424
Spacing between size chain direction and two characteristic points, processing unit 240 record acquired results into TOLERANCE ANALYSIS table 233.Then
Between between the size chain direction and two characteristic points between the acquirement fourth feature point 424 sequentially of processing unit 240 and impact point 411
Away from processing unit 240 records acquired results into TOLERANCE ANALYSIS table 233.
For the definition of the dimension chain closed, aforementioned resulting spacing summation should be zero.Therefore the present invention for
Self registering every terms of information, can make further statistics after the completion of acquisition(Corresponding to step S370), using judgement is
The no definition for meeting sealing size chain.Refer to shown in Fig. 5, which is the decision flow chart of the sealing size chain for the present invention.
Step S371:By first direction and second direction be respectively set as on the occasion of with negative value;
Step S372:According to first direction and second direction on the occasion of or negative value spacing is multiplied;
Step S373:All of spacing is added up, and judges whether the totalling result of all of spacing is zero;
Step S374:If totalling result is zero, spacing is recorded in TOLERANCE ANALYSIS table;And
Step S375:If totalling result is not zero, another feature point, and selected feature are selected from local element
The position of point is different from described characteristic point position.
Due to the size chain direction of, this embodiment be for two contrary directions, therefore can be by during its simplified operation
Process.Here is set to first direction 412 on the occasion of and second direction 413 is set to negative value.For other embodiments, can
The calculating of sealing size chain is carried out in the way of using vector.Processing unit 240, will according to size chain direction and corresponding spacing
The process are multiplied by both, and then obtain the numerical value with positive negative sign.All of spacing is carried out above-mentioned by processing unit 240
Process after, processing unit 240 will be added up with the spacing of positive negative sign.
Processing unit 240 judges plus whether the long and is zero.If totalling result is zero, represent in this dimension chain
The position of local element be to meet setting, so being not required to design for change again.Conversely, when totalling result is not zero, then representing
The position of a certain local element in this design is problematic.So vernier can be moved to fisrt feature by tolerance detecting system 200
Point, and point out user to re-start the selection of other characteristic points.
The tolerance detecting system 200 of computer graphics proposed by the invention and its method can automatically select local element
Dimension chain and calculate needed for whether corresponding tolerance meet.The present invention can be applied in various computer graphics, and will
The relative dimensions of local element are brought in TOLERANCE ANALYSIS table 233, use the activity duration simplified when changing between difference mapping software.
Certainly, the present invention can also have other various embodiments, in the case of without departing substantially from spirit of the invention and its essence, ripe
Know those skilled in the art and work as and various corresponding changes and deformation, but these corresponding changes and change can be made according to the present invention
Shape should all belong to the protection domain of appended claims of the invention.