CN106339530B - A kind of weldment dimension information extracting method and system based on the enveloping space - Google Patents
A kind of weldment dimension information extracting method and system based on the enveloping space Download PDFInfo
- Publication number
- CN106339530B CN106339530B CN201610675989.5A CN201610675989A CN106339530B CN 106339530 B CN106339530 B CN 106339530B CN 201610675989 A CN201610675989 A CN 201610675989A CN 106339530 B CN106339530 B CN 106339530B
- Authority
- CN
- China
- Prior art keywords
- weldment
- length
- face
- title
- characteristic point
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/17—Mechanical parametric or variational design
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Butt Welding And Welding Of Specific Article (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The present invention provides a kind of weldment dimension information extracting method and system based on the enveloping space, it include: two opposing end surfaces of the weldment to be determined according to the area in each face of weldment in three-dimensional space, and the distance between two opposing end surfaces are determined as to the thickness of the weldment;Select any one in described two end faces, by its it is each while and it is each while on characteristic point be mapped to and be parallel to the two-dimensional surface of selected end face, obtain the mapping face on two-dimensional surface;According to mapping face it is each while length and it is each while on characteristic point determine the weldment minimal orthogonality envelope configuration;The length and width of the weldment are determined according to the minimal orthogonality envelope of weldment configuration, and the weldment thickness, length and width are determined as to the dimension information of the weldment.In this way, the dimension information extraction process of the embodiment of the present invention have the characteristics that it is quick, simple, accurate, convenient, to improve the efficiency and accuracy of three dimensional design.
Description
Technical field
The present invention relates to CAD manufacturing fields, more particularly to a kind of weldment ruler based on the enveloping space
Very little information extracting method and system.
Background technique
Currently, three dimensional design has been increasingly becoming the technical way of equipment design, this proposes Material Takeoff higher
Automation requirement, but almost all of three-dimensional software have ignored in Chinese drafting standard about in weldment part extract blanking ruler
Very little requirement should be then named as example, the blank size (length is generous) of some weldment is respectively 100mm, 60mm and 5mm
" steel plate 100 × 60 × 5 " saves dimension information with this and calls for successive projects design, the control of buying expense and processing and manufacturing.
Existing Three-dimensional Design Technique can accurately determine the blank size of weldment, but the blank size but cannot be certainly
It is dynamic to obtain, reach purpose under present case, it is necessary to be directed to each weldment, obtained manually using measuring tool its grow it is generous
Numerical value, manual link make working efficiency very low, and accuracy is unable to get guarantee, thus inhibit the technology of three dimensional design
Advantage.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of welding based on the enveloping space
Part dimension information extracting method and system, the length to solve acquisition weldment manually is generous and leads to working efficiency and accuracy
Lower problem.
In order to achieve the above objects and other related objects, the embodiment of the present invention provides a kind of weldment based on the enveloping space
Dimension information extracting method, this method comprises:
Two opposing end surfaces of the weldment are determined according to the area in each face of weldment in three-dimensional space, and by two
The distance between opposing end surface is determined as the thickness of the weldment;
Select any one in described two end faces, by its it is each while and it is each while on characteristic point be mapped to and be parallel to institute
The two-dimensional surface of the end face of selection, obtains the mapping face on two-dimensional surface;
According to the mapping face it is each while length and it is each while on characteristic point determine the minimal orthogonality of the weldment
Envelope configuration;
Determine the length and width of the weldment according to the minimal orthogonality envelope of weldment configuration, and by the weldering
Fitting thickness, length and width are determined as the dimension information of the weldment.
In specific implementation, the area according to each face of weldment in three-dimensional space determines two phases of the weldment
To end face, and the distance between two opposing end surfaces are determined as to the thickness of the weldment, comprising:
Calculate the area of each end face of weldment described in three-dimensional space;
Maximum two opposing end surfaces of area are selected, and assume that maximum two opposing end surfaces of area meet difference in areas pre-
If in range and parallel condition;
The distance between two opposing end surfaces are determined as to the thickness of the weldment.
In specific implementation, it is described according to the mapping face it is each while length and it is each while on characteristic point determine the weldering
The minimal orthogonality envelope of fitting is configured, comprising:
The one side for calculating the length on each side in the mapping face, and the longest side of length being selected to be configured as initial envelope;
The optional both sides in remaining each side, and a characteristic point is selected respectively on the optional every side in both sides;
By the longest side of the length and two characteristic points of selection, initial envelope configuration is constituted;
It is described initial successively to judge whether each characteristic point is included in for all characteristic points for traversing each side in the mapping face
In envelope configuration;
If characteristic point is included in the initial envelope configuration, keep the initial envelope configuration constant;
If characteristic point is not included in the initial envelope configuration, the initial envelope configuration is updated, it is updated first
Beginning envelope configuration includes the characteristic point;
The initial envelope updated after all characteristic points will be traversed to be configured be determined as the minimal orthogonality envelope structure of the weldment
Shape.
In specific implementation, it is described according to the mapping face it is each while length and it is each while on characteristic point determine the weldering
The minimal orthogonality envelope of fitting is configured, comprising:
Calculate the mapping face it is each while length and when selecting length longest;
By it is remaining it is each while upper all characteristic points with it is described longest while do projection and calculate, it is corresponding to obtain each characteristic point
One-dimensional coordinate and each characteristic point respectively with the distance between longest side value;
One-dimensional coordinate and distance value to each characteristic point are ranked up according to sequence from big to small respectively;
The difference of maximum one-dimensional coordinate and minimum one-dimensional coordinate is determined as to the length of the minimal orthogonality envelope configuration, and
Maximum distance value is determined as to the width of the minimal orthogonality envelope configuration.
In specific implementation, the method also includes:
The title of the weldment is named according to the dimension information of the weldment;
Judge whether the title of the weldment is identical as the title of stored weldment;
If the title of the weldment is not identical as the title of stored weldment, the title of the weldment is stored
And otherwise the corresponding quantity of stored weldment is added 1 by corresponding quantity.
Based on the above method, the embodiment of the invention provides a kind of, and the weldment dimension information based on the enveloping space extracts system
System, which includes: thickness determining module, space dimensionality reduction module, envelope determining module, size determining module;Wherein,
The thickness determining module, for determining the weldment according to the area in each face of weldment in three-dimensional space
Two opposing end surfaces, and the distance between two opposing end surfaces are determined as to the thickness of the weldment;
The space dimensionality reduction module, for selecting any one in described two end faces, by its it is each while and it is each while on
Characteristic point be mapped to the two-dimensional surface for being parallel to selected end face, obtain the mapping face on two-dimensional surface;
The envelope determining module, for according to the mapping face it is each while length and it is each while on characteristic point determine
The minimal orthogonality envelope of the weldment is configured;
The size determining module, for determining the weldment according to the minimal orthogonality envelope of weldment configuration
Length and width, and the weldment thickness, length and width are determined as to the dimension information of the weldment.
In specific implementation, the thickness determining module is specifically used for:
Calculate the area of each end face of weldment described in three-dimensional space;
Maximum two opposing end surfaces of area are selected, and assume that maximum two opposing end surfaces of area meet difference in areas pre-
If in range and parallel condition;
The distance between two opposing end surfaces are determined as to the thickness of the weldment.
In specific implementation, the envelope determining module is specifically used for:
The one side for calculating the length on each side in the mapping face, and the longest side of length being selected to be configured as initial envelope;
The optional both sides in remaining each side, and a characteristic point is selected respectively on the optional every side in both sides;
By the longest side of the length and two characteristic points of selection, initial envelope configuration is constituted;
It is described initial successively to judge whether each characteristic point is included in for all characteristic points for traversing each side in the mapping face
In envelope configuration;
If characteristic point is included in the initial envelope configuration, keep the initial envelope configuration constant;
If characteristic point is not included in the initial envelope configuration, the initial envelope configuration is updated, it is updated first
Beginning envelope configuration includes the characteristic point;
The initial envelope updated after all characteristic points will be traversed to be configured be determined as the minimal orthogonality envelope structure of the weldment
Shape.
In specific implementation, the envelope determining module is specifically used for:
Calculate the mapping face it is each while length and when selecting length longest;
By it is remaining it is each while upper all characteristic points with it is described longest while do projection and calculate, it is corresponding to obtain each characteristic point
One-dimensional coordinate and each characteristic point respectively with the distance between longest side value;
One-dimensional coordinate and distance value to each characteristic point are ranked up according to sequence from big to small respectively;
The difference of maximum one-dimensional coordinate and minimum one-dimensional coordinate is determined as to the length of the minimal orthogonality envelope configuration, and
Maximum distance value is determined as to the width of the minimal orthogonality envelope configuration.
In specific implementation, the system also includes:
Sized memory module, for naming the title of the weldment according to the dimension information of the weldment;
Judge whether the title of the weldment is identical as the title of stored weldment;
If the title of the weldment is not identical as the title of stored weldment, the title of the weldment is stored
And otherwise the corresponding quantity of stored weldment is added 1 by corresponding quantity.
As described above, the weldment dimension information extracting method and system provided by the invention based on the enveloping space, comprising:
Determine two opposing end surfaces of the weldment according to the area in each face of weldment in three-dimensional space, and by two opposing end surfaces
The distance between be determined as the thickness of the weldment;Any one in described two end faces is selected, by its each side and each
Characteristic point on side is mapped to the two-dimensional surface for being parallel to selected end face, obtains the mapping face on two-dimensional surface;According to institute
The mapping face of stating it is each while length and it is each while on characteristic point determine the weldment minimal orthogonality envelope configuration;According to institute
The minimal orthogonality envelope configuration for stating weldment determines the length and width of the weldment, and by the weldment thickness, length
And width is determined as the dimension information of the weldment.In this way, the thickness according to weldment is much smaller than length in the embodiment of the present invention
Wide features of shape, it is first determined the thickness of the weldment;Then the mapping face on two-dimensional surface is obtained by spatial alternation,
According to mapping face it is each while length and it is each while on characteristic point determine the weldment minimal orthogonality envelope configuration;Finally
The length and width of the weldment, the energy in this way in three dimensional design are determined according to the minimal orthogonality envelope of weldment configuration
Enough automatic thickness, length and width for obtaining weldment, can not only improve working efficiency, and avoid manual intervention to cause
Error and mistake, ensure that the accuracy of three dimensional design.
Detailed description of the invention
Fig. 1 is shown as the flow diagram of the weldment dimension information extracting method of the invention based on the enveloping space;
Fig. 2 is shown as the characteristic point schematic diagram of certain weldment in the embodiment of the present invention;
Fig. 3 is shown as the space reflection schematic diagram of the embodiment of the present invention one;
Fig. 4 is shown as the space reflection schematic diagram of the embodiment of the present invention two;
Fig. 5 is shown as the composed structure signal of the weldment dimension information extraction system of the invention based on the enveloping space
Figure.
Specific embodiment
In the embodiment of the present invention, two phases of the weldment are determined according to the area in each face of weldment in three-dimensional space
To end face, and the distance between two opposing end surfaces are determined as to the thickness of the weldment;It selects to appoint in described two end faces
Meaning one, by its it is each while and it is each while on characteristic point be mapped to and be parallel to the two-dimensional surface of selected end face, obtain two
Mapping face on dimensional plane;According to the mapping face it is each while length and it is each while on characteristic point determine the weldment
Minimal orthogonality envelope configuration;The length and width of the weldment are determined according to the minimal orthogonality envelope of weldment configuration,
And the weldment thickness, length and width are determined as to the dimension information of the weldment.
With reference to the accompanying drawing and specific embodiment the present invention will be further described in detail.
The embodiment of the present invention proposes a kind of weldment dimension information extracting method based on the enveloping space, as shown in Figure 1,
This method comprises:
Step S100: two opposite ends of the weldment are determined according to the area in each face of weldment in three-dimensional space
Face, and the distance between two opposing end surfaces are determined as to the thickness of the weldment.
Specifically, calculating the area of each end face of weldment described in three-dimensional space first;
Maximum two opposing end surfaces of area are selected, and assume that maximum two opposing end surfaces of area meet difference in areas pre-
If in range and parallel condition;
The distance between two opposing end surfaces are determined as to the thickness of the weldment.
In this step, theoretically maximum two opposing end surfaces of area should parallel and described two end faces area should
It is equal, but actually maximum two opposing end surfaces of area may have difference in areas, therefore, should allow described two end faces
Difference in areas within preset range, which can be arranged according to the actual situation, it is preferable that the preset range be 0~
10%.
Step S101: selecting any one in described two end faces, by its it is each while and it is each while on characteristic point map
To the two-dimensional surface for being parallel to selected end face, the mapping face on two-dimensional surface is obtained.
Specifically, select any one in described two end faces, using spatial alternation by its it is each while and it is each while on
Characteristic point is mapped to the two-dimensional surface for being parallel to selected end face, specifically how to carry out spatial alternation and belongs to the prior art, weight
Multiple place repeats no more.
In this step, the characteristic point of weldment as shown in Fig. 2, the characteristic point is the endpoint and central point on each side,
Three-dimensional feature point is two dimensional character point by spatial alternation.
Step S102: according to the mapping face it is each while length and it is each while on characteristic point determine the weldment
Minimal orthogonality envelope configuration.
Specifically, how according to the mapping face it is each while length and it is each while on characteristic point determine the weldment
Minimal orthogonality envelope configuration, following two specific embodiment can be used:
Mode one, the length for calculating each side in mapping face, and the longest side of length is selected to be configured as initial envelope
One side;
The optional both sides in remaining each side, and a characteristic point is selected respectively on the optional every side in both sides;
By the longest side of the length and two characteristic points of selection, the initial envelope structure of the weldment is constituted
Shape;
It is described initial successively to judge whether each characteristic point is included in for all characteristic points for traversing each side in the mapping face
In envelope configuration;
If characteristic point is included in the initial envelope configuration, keep the initial envelope configuration constant;
If characteristic point is not included in the initial envelope configuration, the initial envelope configuration is updated, it is updated first
Beginning envelope configuration includes the characteristic point;
The initial envelope updated after all characteristic points will be traversed to be configured be determined as the minimal orthogonality envelope structure of the weldment
Shape.
Mode two, calculate the mapping face it is each while length and when selecting length longest;
By it is remaining it is each while upper all characteristic points with it is described longest while do projection and calculate, it is corresponding to obtain each characteristic point
One-dimensional coordinate and each characteristic point respectively with the distance between longest side value;
One-dimensional coordinate and distance value to each characteristic point are ranked up according to sequence from big to small respectively;
The difference of maximum one-dimensional coordinate and minimum one-dimensional coordinate is determined as to the length of the minimal orthogonality envelope configuration, and
Maximum distance value is determined as to the width of the minimal orthogonality envelope configuration.
Step S103: determining the length and width of the weldment according to the minimal orthogonality envelope of weldment configuration,
And the weldment thickness, length and width are determined as to the dimension information of the weldment.
Specifically, the length and width of the minimal orthogonality envelope configuration is the length and width of the weldment.
In this step, dimension information be the weldment thickness, length and width, determine the weldment thickness,
Length and width complete the extraction of the dimension information.
Further, this method further include:
The title of the weldment is named according to the dimension information of the weldment;
Judge whether the title of the weldment is identical as the title of stored weldment;
If the title of the weldment is not identical as the title of stored weldment, the title of the weldment is stored
And otherwise the corresponding quantity of stored weldment is added 1 by corresponding quantity.
In this step, the title of the weldment is named according to the dimension information of the weldment, for example, by the welding
Part is named as " steel plate 1620 × 290 × 15 (1) ", judge the weldment title whether the title with stored weldment
It is identical, if the title of the weldment is identical as the title of stored weldment, by the corresponding number of stored weldment
Amount plus 1, for example, the quantity of stored weldment is updated to " steel plate 1620 × 290 × 15 (2) ".
In this step, the title of the weldment is named according to the dimension information of the weldment, and to the weldment
Title concluded and stored, using the information of the storage as detail list count, purchase take control and fabricate foundation, from
And it is user-friendly.
In order to more clearly be illustrated to the embodiment of the present invention, the enveloping space is based on to this combined with specific embodiments below
Weldment dimension information extraction process be described in detail.
Embodiment one
Referring to Fig. 3, first according to the area in each face of weldment in three-dimensional space determine two of the weldment it is opposite
End face A and B;And the distance between two opposing end surfaces A and B are determined as to the thickness of the weldment;
Select any one in described two end faces, by its it is each while and it is each while on characteristic point be mapped to and be parallel to institute
The two-dimensional surface of the end face of selection obtains the mapping face L on two-dimensional surface;
One for calculating the length on each side mapping face L, and selecting that the longest side a of length is configured as initial envelope
Side;
Optionally both sides b and c in remaining each side (b, c, d), and while b choose a central point 1 and while c choose
One central point 2;
By side a and the central point of selection 1 and central point 2, the initial envelope configuration of the weldment is constituted;
All characteristic points (1,2,3,4,5,6,7,8) for traversing each side mapping face L, successively judge each characteristic point
Whether (1,2,3,4,5,6,7,8) are included in the initial envelope configuration;
If characteristic point is included in the initial envelope configuration, keep the initial envelope configuration constant;
If characteristic point is not included in the initial envelope configuration, the initial envelope configuration is updated, it is updated first
Beginning envelope configuration includes the characteristic point;
Wherein, characteristic point (1,2,6,7,8) has been included in the envelope configuration, and characteristic point (3,4,5) is not included in institute
It states in envelope configuration;
After traversing all characteristic points, the initial envelope configuration of update includes characteristic point (1,2,3,4,5,6,7,8);
The initial envelope configuration of update is determined as to the minimal orthogonality envelope configuration of the weldment.
Embodiment two
Referring to fig. 4, first according to the area in each face of weldment in three-dimensional space determine two of the weldment it is opposite
End face A and B;And the distance between two opposing end surfaces A and B are determined as to the thickness of the weldment;
Select any one in described two end faces, by its it is each while and it is each while on characteristic point be mapped to and be parallel to institute
The two-dimensional surface of the end face of selection obtains the mapping face L on two-dimensional surface;
Calculate the mapping face L it is each while length and a when selecting length longest;
By it is remaining it is each while upper all characteristic points (1,2,3,4,5,6,7,8) with while a do projection and calculate, obtain each spy
The sign corresponding one-dimensional coordinate (x1, x, 2, x3, x4, x5, x6, x7, x8) of point and each characteristic point are respectively the distance between with side a
It is worth (L1, L2, L3, L4, L5, L6, L7, L8);
To the one-dimensional coordinate (x1, x, 2, x3, x4, x5, x6, x7, x8) of each characteristic point according to sequence from big to small into
Row sequence, and to each characteristic point respectively with the distance between side a value (L1, L2, L3, L4, L5, L6, L7, L8) according to from greatly to
Small sequence is ranked up;
The difference of maximum one-dimensional coordinate and minimum one-dimensional coordinate is determined as to the length of the minimal orthogonality envelope configuration, and
Maximum distance value is determined as to the width of the minimal orthogonality envelope configuration.
It should be understood that Fig. 3 and Fig. 4 are only example of the invention, it is not construed as limiting the invention.
To realize the above method, the embodiment of the invention provides a kind of, and the weldment dimension information based on the enveloping space is extracted
System, since the principle that the system solves the problems, such as is similar to method, the implementation process and implementation principle of system can join
See the implementation process and implementation principle description of preceding method, overlaps will not be repeated.
The embodiment of the present invention proposes a kind of weldment dimension information extraction system based on the enveloping space, as shown in figure 5,
The system includes: thickness determining module 500, space dimensionality reduction module 501, envelope determining module 502, size determining module 503;Its
In,
The thickness determining module 500, for determining the welding according to the area in each face of weldment in three-dimensional space
Two opposing end surfaces of part, and the distance between two opposing end surfaces are determined as to the thickness of the weldment;
The space dimensionality reduction module 501, for selecting any one in described two end faces, by its it is each while and it is each while
On characteristic point be mapped to the two-dimensional surface for being parallel to selected end face, obtain the mapping face on two-dimensional surface;
The envelope determining module 502, for according to the mapping face it is each while length and it is each while on characteristic point
Determine the minimal orthogonality envelope configuration of the weldment;
The size determining module 503, for determining the welding according to the minimal orthogonality envelope of weldment configuration
The length and width of part, and the weldment thickness, length and width are determined as to the dimension information of the weldment.
In specific implementation, the thickness determining module 500 is specifically used for:
Calculate the area of each end face of weldment described in three-dimensional space;
Maximum two opposing end surfaces of area are selected, and assume that maximum two opposing end surfaces of area meet difference in areas pre-
If in range and parallel condition;
The distance between two opposing end surfaces are determined as to the thickness of the weldment.
In specific implementation, the envelope determining module 502 is specifically used for:
The one side for calculating the length on each side in the mapping face, and the longest side of length being selected to be configured as initial envelope;
The optional both sides in remaining each side, and a characteristic point is selected respectively on the optional every side in both sides;
By the longest side of the length and two characteristic points of selection, the initial envelope structure of the weldment is constituted
Shape;
It is described initial successively to judge whether each characteristic point is included in for all characteristic points for traversing each side in the mapping face
In envelope configuration;
If characteristic point is included in the initial envelope configuration, keep the initial envelope configuration constant;
If characteristic point is not included in the initial envelope configuration, the initial envelope configuration is updated, it is updated first
Beginning envelope configuration includes the characteristic point;
The initial envelope updated after all characteristic points will be traversed to be configured be determined as the minimal orthogonality envelope structure of the weldment
Shape.
In specific implementation, the envelope determining module 502 is specifically used for:
Calculate the mapping face it is each while length and when selecting length longest;
By it is remaining it is each while upper all characteristic points with it is described longest while do projection and calculate, it is corresponding to obtain each characteristic point
One-dimensional coordinate and each characteristic point respectively with the distance between longest side value;
One-dimensional coordinate and distance value to each characteristic point are ranked up according to sequence from big to small respectively;
The difference of maximum one-dimensional coordinate and minimum one-dimensional coordinate is determined as to the length of the minimal orthogonality envelope configuration, and
Maximum distance value is determined as to the width of the minimal orthogonality envelope configuration.
In specific implementation, the system also includes:
Sized memory module 504, for naming the title of the weldment according to the dimension information of the weldment;
Judge whether the title of the weldment is identical as the title of stored weldment;
If the title of the weldment is not identical as the title of stored weldment, the title of the weldment is stored
And otherwise the corresponding quantity of stored weldment is added 1 by corresponding quantity.
The division mode of above functions module is only a kind of preferred implementation that the embodiment of the present invention provides, functional module
Division mode be not construed as limiting the invention.For convenience of description, each section of system above is divided into function
Various modules or unit describe respectively.Above-mentioned functional module can be software function module, be also possible to hardware device.The system
It can be distributed system or integrated system, if distributed system, then above-mentioned functional module can be respectively by hardware device reality
It is existing, pass through communication network interaction between each hardware device;If integrated system, then above-mentioned each functional module can be by software reality
It is existing, it is integrated in a hardware device.
In practical applications, when the thickness determining module 500, space dimensionality reduction module 501, envelope determining module 502, ruler
When very little determining module 503 and sized memory module 504 are integrated in a hardware device, the thickness determining module 500, space
Dimensionality reduction module 501, envelope determining module 502, size determining module 503 and sized memory module 504 can be set by being located at the hardware
Central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP), field programmable gate array in standby
(FPGA) or memory is realized.
In conclusion the features of shape of length and width is much smaller than in the embodiment of the present invention according to the thickness of weldment, it is first determined
The thickness of the weldment;Then the mapping face on two-dimensional surface is obtained by spatial alternation, according to the length on the mapping each side in face
Characteristic point on degree and each side determines the minimal orthogonality envelope configuration of the weldment;Finally according to the minimum of the weldment
Orthogonal envelope configuration determines the length and width of the weldment, can obtain the thickness of weldment automatically in this way in three dimensional design
Degree, length and width, can not only improve working efficiency, and avoid error caused by manual intervention and mistake, ensure that
The accuracy of three dimensional design.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should be covered by the claims of the present invention.
Claims (8)
1. a kind of weldment dimension information extracting method based on the enveloping space, which is characterized in that the described method includes:
Two opposing end surfaces of the weldment are determined according to the area in each face of weldment in three-dimensional space, and opposite by two
The distance between end face is determined as the thickness of the weldment, comprising: calculates each end face of weldment described in three-dimensional space
Area;Maximum two opposing end surfaces of area are selected, and assume that maximum two opposing end surfaces of area meet difference in areas default
In range and parallel condition;The distance between two opposing end surfaces are determined as to the thickness of the weldment;
Select any one in described two opposing end surfaces, by its it is each while and it is each while on characteristic point be mapped to and be parallel to institute
The two-dimensional surface of the end face of selection, obtains the mapping face on two-dimensional surface;
According to the mapping face it is each while length and it is each while on characteristic point determine the minimal orthogonality envelope of the weldment
Configuration;
Determine the length and width of the weldment according to the minimal orthogonality envelope of weldment configuration, and by the weldment
Thickness, length and width are determined as the dimension information of the weldment;
The length and width of the minimal orthogonality envelope configuration is the length and width of the weldment;
It is described according to the mapping face it is each while length and it is each while on characteristic point determine the minimal orthogonality of the weldment
Envelope configuration, comprising:
The one side for calculating the length on each side in the mapping face, and the longest side of length being selected to be configured as initial envelope;
The optional both sides in remaining each side, and a characteristic point is selected respectively on the optional every side in both sides;
By the longest side of the length and two characteristic points of selection, initial envelope configuration is constituted;
All characteristic points for traversing each side in the mapping face, successively judge whether each characteristic point is included in the initial envelope
In configuration;
If all characteristic points are included in the initial envelope configuration, keep the initial envelope configuration constant;
If there is characteristic point to be not included in the initial envelope configuration, the initial envelope configuration is updated, it is updated initial
Envelope configuration includes all characteristic points;
The initial envelope updated after all characteristic points will be traversed to be configured be determined as the minimal orthogonality envelope configuration of the weldment.
2. the method according to claim 1, wherein the method also includes:
The title of the weldment is named according to the dimension information of the weldment;
Judge whether the title of the weldment is identical as the title of stored weldment;
If the title of the weldment is not identical as the title of stored weldment, the title of the weldment and right is stored
Otherwise the corresponding quantity of stored weldment is added 1 by the quantity answered.
3. a kind of weldment dimension information extracting method based on the enveloping space, which is characterized in that the described method includes:
Two opposing end surfaces of the weldment are determined according to the area in each face of weldment in three-dimensional space, and opposite by two
The distance between end face is determined as the thickness of the weldment, comprising: calculates each end face of weldment described in three-dimensional space
Area;Maximum two opposing end surfaces of area are selected, and assume that maximum two opposing end surfaces of area meet difference in areas default
In range and parallel condition;The distance between two opposing end surfaces are determined as to the thickness of the weldment;
Select any one in described two opposing end surfaces, by its it is each while and it is each while on characteristic point be mapped to and be parallel to institute
The two-dimensional surface of the end face of selection, obtains the mapping face on two-dimensional surface;
Calculate the mapping face it is each while length and when selecting length longest;
By it is remaining it is each while upper all characteristic points with it is described longest while do projection and calculate, obtain each characteristic point corresponding one
Tie up coordinate and each characteristic point respectively with the distance between longest side value;
One-dimensional coordinate and distance value to each characteristic point are ranked up according to sequence from big to small respectively;
The difference of maximum one-dimensional coordinate and minimum one-dimensional coordinate is determined as to the length of the weldment, and by maximum distance value
It is determined as the width of the weldment.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
The title of the weldment is named according to the dimension information of the weldment;
Judge whether the title of the weldment is identical as the title of stored weldment;
If the title of the weldment is not identical as the title of stored weldment, the title of the weldment and right is stored
Otherwise the corresponding quantity of stored weldment is added 1 by the quantity answered.
5. a kind of weldment dimension information extraction system based on the enveloping space, which is characterized in that the system comprises: thickness is true
Cover half block, space dimensionality reduction module, envelope determining module, size determining module;Wherein,
The thickness determining module, for determining two of the weldment according to the area in each face of weldment in three-dimensional space
Opposing end surface, and the distance between two opposing end surfaces are determined as to the thickness of the weldment, the thickness determining module tool
Body is used for: calculating the area of each end face of weldment described in three-dimensional space;Maximum two opposing end surfaces of area are selected, and false
Determine maximum two opposing end surfaces of area and meets the condition of difference in areas within a preset range and in parallel;It will be between two opposing end surfaces
Distance be determined as the thickness of the weldment;
The space dimensionality reduction module, for selecting any one in described two opposing end surfaces, by its it is each while and it is each while on
Characteristic point be mapped to the two-dimensional surface for being parallel to selected end face, obtain the mapping face on two-dimensional surface;
The envelope determining module, for according to the mapping face it is each while length and it is each while on characteristic point determine described in
The minimal orthogonality envelope of weldment is configured;
The size determining module, for determining the length of the weldment according to the minimal orthogonality envelope of weldment configuration
And width, and the weldment thickness, length and width are determined as to the dimension information of the weldment;The minimal orthogonality packet
The length and width of network configuration is the length and width of the weldment;
The envelope determining module is specifically used for:
The one side for calculating the length on each side in the mapping face, and the longest side of length being selected to be configured as initial envelope;
The optional both sides in remaining each side, and a characteristic point is selected respectively on the optional every side in both sides;
By the longest side of the length and two characteristic points of selection, initial envelope configuration is constituted;
All characteristic points for traversing each side in the mapping face, successively judge whether each characteristic point is included in the initial envelope
In configuration;
If all characteristic points are included in the initial envelope configuration, keep the initial envelope configuration constant;
If there is characteristic point to be not included in the initial envelope configuration, the initial envelope configuration is updated, it is updated initial
Envelope configuration includes all characteristic points;
The initial envelope updated after all characteristic points will be traversed to be configured be determined as the minimal orthogonality envelope configuration of the weldment.
6. system according to claim 5, which is characterized in that the system also includes:
Sized memory module, for naming the title of the weldment according to the dimension information of the weldment;
Judge whether the title of the weldment is identical as the title of stored weldment;
If the title of the weldment is not identical as the title of stored weldment, the title of the weldment and right is stored
Otherwise the corresponding quantity of stored weldment is added 1 by the quantity answered.
7. a kind of weldment dimension information extraction system based on the enveloping space, which is characterized in that the system comprises: thickness is true
Cover half block, space dimensionality reduction module, size determining module;Wherein,
The thickness determining module, for determining two of the weldment according to the area in each face of weldment in three-dimensional space
Opposing end surface, and the distance between two opposing end surfaces are determined as to the thickness of the weldment, the thickness determining module tool
Body is used for: calculating the area of each end face of weldment described in three-dimensional space;Maximum two opposing end surfaces of area are selected, and false
Determine maximum two opposing end surfaces of area and meets the condition of difference in areas within a preset range and in parallel;It will be between two opposing end surfaces
Distance be determined as the thickness of the weldment;
The space dimensionality reduction module, for selecting any one in described two opposing end surfaces, by its it is each while and it is each while on
Characteristic point be mapped to the two-dimensional surface for being parallel to selected end face, obtain the mapping face on two-dimensional surface;
The size determining module, for calculate the mapping face it is each while length and when selecting length longest;
By it is remaining it is each while upper all characteristic points with it is described longest while do projection and calculate, obtain each characteristic point corresponding one
Tie up coordinate and each characteristic point respectively with the distance between longest side value;
One-dimensional coordinate and distance value to each characteristic point are ranked up according to sequence from big to small respectively;
The difference of maximum one-dimensional coordinate and minimum one-dimensional coordinate is determined as to the length of the weldment, and by maximum distance value
It is determined as the width of the weldment.
8. system according to claim 7, which is characterized in that the system also includes:
Sized memory module, for naming the title of the weldment according to the dimension information of the weldment;
Judge whether the title of the weldment is identical as the title of stored weldment;
If the title of the weldment is not identical as the title of stored weldment, the title of the weldment and right is stored
Otherwise the corresponding quantity of stored weldment is added 1 by the quantity answered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610675989.5A CN106339530B (en) | 2016-08-16 | 2016-08-16 | A kind of weldment dimension information extracting method and system based on the enveloping space |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610675989.5A CN106339530B (en) | 2016-08-16 | 2016-08-16 | A kind of weldment dimension information extracting method and system based on the enveloping space |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106339530A CN106339530A (en) | 2017-01-18 |
CN106339530B true CN106339530B (en) | 2019-05-28 |
Family
ID=57825551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610675989.5A Active CN106339530B (en) | 2016-08-16 | 2016-08-16 | A kind of weldment dimension information extracting method and system based on the enveloping space |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106339530B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107895179A (en) * | 2017-11-29 | 2018-04-10 | 合肥赑歌数据科技有限公司 | It is a kind of based on close on value analysis workpiece categorizing system and method |
CN110555407B (en) * | 2019-09-02 | 2022-03-08 | 东风汽车有限公司 | Pavement vehicle space identification method and electronic equipment |
CN114103039A (en) * | 2020-08-27 | 2022-03-01 | 常州星宇车灯股份有限公司 | Method and device for selecting optimal die drawing direction of plastic part |
CN114115127B (en) * | 2021-11-19 | 2023-04-11 | 重庆平伟汽车科技股份有限公司 | Method for realizing automatic programming of die holder bottom surface in PowerMill software |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050090175A (en) * | 2004-03-08 | 2005-09-13 | 대우조선해양 주식회사 | Instrument for measuring root face of welding part |
CN105069222A (en) * | 2015-08-04 | 2015-11-18 | 沈阳机床股份有限公司钣焊分公司 | Sheet metal process automatic generation system |
CN105404759A (en) * | 2015-12-25 | 2016-03-16 | 鼎奇(天津)主轴科技有限公司 | Three-dimensional or two-dimensional design method for welding structural parts |
-
2016
- 2016-08-16 CN CN201610675989.5A patent/CN106339530B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050090175A (en) * | 2004-03-08 | 2005-09-13 | 대우조선해양 주식회사 | Instrument for measuring root face of welding part |
CN105069222A (en) * | 2015-08-04 | 2015-11-18 | 沈阳机床股份有限公司钣焊分公司 | Sheet metal process automatic generation system |
CN105404759A (en) * | 2015-12-25 | 2016-03-16 | 鼎奇(天津)主轴科技有限公司 | Three-dimensional or two-dimensional design method for welding structural parts |
Non-Patent Citations (2)
Title |
---|
异形零件在线检测方法的研究;邓中亮等;《制造技术及机床》;19941231(第3期);全文 |
汽车检具设计支持***研究与开发;云兆坤;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20130415(第4期);第C035-184页 |
Also Published As
Publication number | Publication date |
---|---|
CN106339530A (en) | 2017-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106339530B (en) | A kind of weldment dimension information extracting method and system based on the enveloping space | |
CN103644860B (en) | Large space free curved face measurement method | |
CN107462910B (en) | Cloud fusion-based field data measurement and real-time processing method | |
CN103118333B (en) | Similarity based wireless sensor network mobile node positioning method | |
US20150177414A1 (en) | Method for calculating lightning stroke frequency interception area of structure and building under consideration of surrounding objects | |
CN102779231B (en) | Based on contiguous coordinate transformation parameter computing method | |
CN105320811A (en) | Method for establishing topological connected model of urban underground electricity pipe network | |
CN103196426A (en) | Building surveying method utilizing total station and three-dimensional laser scanner | |
CN110020502A (en) | The generation method and device of floor plan | |
CN107908677A (en) | Cell source of houses methods of exhibiting and device based on intelligent terminal | |
CN111291438B (en) | File processing method and device, electronic equipment and storage medium | |
CN104125538A (en) | WIFI (wireless fidelity) network based RSSI (received signal strength indicator) signal strength secondary locating method and device | |
CN104820759A (en) | Data acquisition method and system of pipeline facility | |
CN103606147A (en) | Coordinate system transformation and calibration method of multiple measurement cameras with different fields of view | |
CN113109631B (en) | Method and device for determining radiation detection area of base station | |
CN109947887A (en) | Population distribution statistical method and device | |
CN104155562A (en) | Method for remotely detecting wiring situation of electricity meter based on acquisition system | |
CN105203994B (en) | A kind of electronic tag localization method, device, server and system | |
CN103036228B (en) | Method for determining location of transformer substation and length of power supply circuit in power system planning process | |
CN103559209A (en) | Method for querying nearest neighbor of efficient space combined by Voronoi Diagram and virtual grids | |
CN104159292A (en) | Three-dimensional wireless sensing network positioning method based on virtual center node | |
CN106255126A (en) | A kind of method and device identifying to arrange flowers in base station location district | |
CN204613941U (en) | The data acquisition system (DAS) of pipeline facility | |
CN109948192A (en) | A kind of lifting operation space modeling method and system | |
CN109889977A (en) | A kind of bluetooth localization method, device, equipment and system returned based on Gauss |
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 |