A method and system for automatically classifying and inspecting welding data

By obtaining the projection and coordinate calculation of the welded body and parts, we automatically classify the correspondence between the welded body and parts, solving the problems of time-consuming and labor-consuming and errors in manual classification, and improving the accuracy and classification efficiency of the welded body position.

CN115374327BActive Publication Date: 2025-08-08NEW DIMENSION SYST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211002969.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-19
Publication Date
2025-08-08
Estimated Expiration
2042-08-19

AI Technical Summary

Technical Problem

In the prior art, manual classification and position inspection of welded bodies are time-consuming and labor-intensive, and errors are prone to occur, resulting in errors in simulation results and design failures.

Method used

By obtaining welded body data and part data, using projection and coordinate calculation methods, we automatically classify the correspondence between welded body and parts, filter out invalid, problematic and normal welded body, and divide the normal welded body into combinations.

Benefits of technology

It realizes automatic classification and sorting of welding data, improves classification efficiency, reduces manual errors, and ensures the accuracy of the position of the welded body.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115374327B_ABST
    Figure CN115374327B_ABST
Patent Text Reader

Abstract

The present invention relates to a method and system for automatically classifying and sorting welding data and inspecting it, belonging to the field of welding technology. First, the welding body data and part data are obtained. The welding body is projected onto all parts to obtain a plurality of projection bodies. Then, the minimum distance between the welding body and each projection body is calculated as the distance between the welding body and the part. The coordinates of the point on the welding body corresponding to the minimum distance and the coordinates of the point on the corresponding part are used to calculate the direction from the welding body to the part. The distance and direction are used as the corresponding relationship data between the welding body and a part. The corresponding relationship data are then filtered according to the welding tolerance range to obtain prepared data. Finally, classification is performed according to the number of prepared data. The present invention automatically classifies and sorts welding data and inspects the position of the welding body by projection and coordinate calculation, effectively solving the problem that manual data classification and inspection of welding body position are time-consuming, labor-intensive, and prone to errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of welding technology, and in particular to a method and system for automatically classifying and inspecting welding data. Background Art

[0002] For large assembly models, there are numerous welding relationships between various parts. The correct positioning and grouping (correspondence between welds and parts) of the weld bodies (weld bodies are weld points or welds) between the parts not only places high demands on engineers during design, but also requires verification of the welding data of each part before simulation. However, the existing technology manually sorts massive amounts of data and verifies the positions of weld bodies, which is not only time-consuming and labor-intensive, but also prone to errors, leading to incorrect simulation results and design failures.

[0003] Therefore, there is an urgent need in this field for a technical solution that can automatically classify and organize welding data and inspect the position of the weld body. Summary of the Invention

[0004] The purpose of the present invention is to provide a method and system for automatic classification, organization and inspection of welding data, so as to solve the problems of manual classification of weld bodies and inspection of weld body positions, which are time-consuming, labor-intensive and prone to errors.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] A method for automatically classifying, arranging and inspecting welding data, the method comprising:

[0007] Acquire welding data; the welding data includes: welding body data and part data;

[0008] Projecting the weld body onto all parts according to the welding data to obtain a plurality of projection bodies;

[0009] Calculating the minimum distance between the weld body and each of the projection bodies, and recording the point on the weld body and the point on the part corresponding to the minimum distance; the minimum distance is the distance between the weld body and the part;

[0010] The direction vector from the weld body to the part is obtained by subtracting the coordinates of the point on the weld body corresponding to the minimum distance from the coordinates of the point on the part corresponding to the minimum distance; the direction of the direction vector is the direction from the weld body to the part;

[0011] Using the distance between each weld body and the part, and the direction from the weld body to the part as corresponding relationship data between the weld body and one part;

[0012] using the corresponding relationship data in which the distance between the weld body and the part is less than the welding tolerance range as preparation data;

[0013] If the number of preparation data corresponding to the weld body is less than a preset threshold, the weld body is marked as an invalid weld body;

[0014] If the number of preparation data corresponding to the weld body is equal to or greater than a preset threshold, determine whether the directions in all preparation data corresponding to the weld body are all the same; if all are the same, mark the weld body as a problem weld body; otherwise, mark the weld body as a normal weld body;

[0015] The normal welding body and all parts in the corresponding preparation data are divided into a welding combination.

[0016] In some embodiments, after dividing the normal weld body and all parts in the corresponding preparation data into a welding combination, the method further includes:

[0017] Obtaining the number of parts and part IDs in the preparation data corresponding to the normal weld body;

[0018] The welding combination is named using the part ID and the part quantity.

[0019] In some embodiments, after dividing the normal weld body and all parts in the corresponding preparation data into a welding combination, the method further includes:

[0020] Repeat the steps of "projecting the weld body onto all parts according to the welding data to obtain a plurality of projection bodies" to "classifying the normal weld body and all parts in the corresponding preparation data into a welding combination" until all weld bodies are classified.

[0021] In some embodiments, after all welded bodies are classified, the method further includes:

[0022] Outputs the names of all weld combinations and the corresponding weld bodies as well as the corresponding preparation data.

[0023] In some embodiments, after all welded bodies are classified, the method further includes:

[0024] Export preparation data for invalid and problematic weld bodies.

[0025] In some embodiments, projecting the weld body onto all parts according to the welding data to obtain a plurality of projection bodies specifically includes:

[0026] Determining whether the weld body is a marking point or a marking curve;

[0027] If the weld body is a marking point, a geometric iteration algorithm is used to orthogonally project the weld body onto all parts;

[0028] If the weld body is a marker curve, a normal projection algorithm is used to orthogonally project the weld body onto all parts.

[0029] In some embodiments, respectively calculating the minimum distance between the welded body and each of the projection bodies specifically includes:

[0030] When the weld body is a marking point, the distance between the marking point and the projection point is calculated according to the distance formula between two points to obtain the minimum distance;

[0031] When the weld body is a marked curve, the weld body and the projection body are discretized into a plurality of discrete points, respectively, to obtain weld body discrete points and projection body discrete points;

[0032] Calculating the distance between each two corresponding projection points between the discrete points of the weld body and the discrete points of the projection body to obtain a plurality of discrete distances;

[0033] The smallest median of the discrete distances is taken as the minimum distance.

[0034] In some embodiments, the step of discretizing the weld body and the projection body into a plurality of discrete points specifically includes:

[0035] The welded body and the projection body are discretized separately according to the principle of equal arc length.

[0036] In some embodiments, the preset threshold is 2.

[0037] The present invention also provides a welding data automatic classification, arrangement and inspection system, the system comprising:

[0038] A data acquisition unit is used to acquire welding data; the welding data includes: welding body data and part data;

[0039] A projection unit, configured to project the weld body onto all parts according to the welding data to obtain a plurality of projection bodies;

[0040] a distance calculation unit, configured to calculate the minimum distance between the weld body and each of the projection bodies, and to record the point on the weld body and the point on the part corresponding to the minimum distance; the minimum distance is the distance between the weld body and the part;

[0041] a direction calculation unit, configured to obtain a direction vector from the weld body to the part by subtracting the coordinates of the point on the part corresponding to the minimum distance from the coordinates of the point on the weld body corresponding to the minimum distance; the direction of the direction vector being the direction from the weld body to the part;

[0042] a relationship combining unit, configured to use the distance between each weld body and the part, and the direction from the weld body to the part as corresponding relationship data between the weld body and one part;

[0043] a relationship screening unit, configured to use the corresponding relationship data in which the distance between the weld body and the part is less than a welding tolerance range as preparation data;

[0044] an invalid weld body judging unit, configured to mark the weld body as an invalid weld body if the number of preparation data corresponding to the weld body is less than a preset threshold;

[0045] a weld body classification unit, configured to determine whether the directions of all the preparation data corresponding to the weld body are all the same if the number of preparation data corresponding to the weld body is equal to or greater than a preset threshold; if all are the same, mark the weld body as a problem weld body; otherwise, mark the weld body as a normal weld body;

[0046] The data combination unit is used to divide the normal welding body and all parts in the corresponding preparation data into a welding combination.

[0047] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0048] The present invention provides a method and system for automatically classifying and sorting welding data and inspecting it. The method first obtains welding body data and part data; projects the welding body onto all parts to obtain a number of projections; then calculates the minimum distance between the welding body and each projection as the distance between the welding body and the part; uses the coordinates of the point on the welding body corresponding to the minimum distance and the coordinates of the point on the corresponding part to calculate the direction from the welding body to the part; uses the distance and direction as the corresponding relationship data between the welding body and a part; then filters the corresponding relationship data according to the welding tolerance range to obtain prepared data; and finally, classifies the prepared data according to the number of prepared data. The present invention automatically classifies and sorts welding data and inspects the position of welding bodies through projection and coordinate calculation, effectively solving the problem of time-consuming and labor-intensive manual data sorting and inspection of welding body positions, which is prone to errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0050] Figure 1This is a flow chart of the method for automatically classifying and inspecting welding data provided in Example 1 of the present invention.

[0051] Figure 2 This is a diagram of the overall steps of the method for automatically classifying and inspecting welding data provided in Example 1 of the present invention.

[0052] Figure 3 This is a block diagram of the welding data automatic classification, organization and inspection system provided in the second embodiment of the present invention. DETAILED DESCRIPTION

[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0054] The purpose of the present invention is to provide a method and system for automatic classification and inspection of welding data, which automatically classifies and organizes weld bodies and inspects the positions of weld bodies, so as to solve the problems of time-consuming and labor-intensive manual data classification and inspection of weld body positions, which are prone to errors.

[0055] The technical terms used in the present invention are as follows:

[0056] ① Welding body: Objects used for welding, such as weld points and weld seams, are generally marked with curves and points. For example, if parts A and B need to be welded together using aluminum spot welding (or seam welding), a marking point (or marking curve) S will be located at the spot weld (or seam weld) location; this marking point (or marking curve) S is the weld body.

[0057] ② Parts: Parts that need to be welded, and are welded using a welding body, such as parts A and B in the term explanation ①.

[0058] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0059] Example 1:

[0060] like Figure 1 As shown, this embodiment provides a method for automatically classifying and inspecting welding data, the method comprising:

[0061] S1. Acquire welding data; the welding data includes: welding body data and part data.

[0062] S2. Projecting the weld body onto all parts according to the welding data to obtain a plurality of projection bodies.

[0063] First, determine whether the weld body is a marker point or a marker curve. If the weld body is a marker point, use a geometric iteration algorithm to orthogonally project the weld body onto all the parts. If the weld body is a marker curve, use a normal projection algorithm to orthogonally project the weld body onto all the parts.

[0064] S3. Calculate the minimum distance between the weld body and each of the projection bodies, and record the point on the weld body and the point on the part corresponding to the minimum distance; the minimum distance is the distance between the weld body and the part.

[0065] When the weld body is a marking point, the distance between the marking point and the projection point is calculated according to the distance formula between two points to obtain the minimum distance, and the point on the weld body and the point on the corresponding part corresponding to the minimum distance are recorded respectively.

[0066] When the weld body is a marking curve, the weld body and the projection body are discretized into a plurality of discrete points according to the principle of equal arc length, and weld body discrete points and projection body discrete points are obtained respectively.

[0067] The distance between each two corresponding points of the projections between the discrete points of the weld body and the discrete points of the projection body is calculated to obtain a plurality of discrete distances; the minimum distance is taken as the minimum distance, and the point on the weld body and the point on the part corresponding to the minimum distance are recorded respectively.

[0068] S4. Subtract the coordinates of the point on the part corresponding to the minimum distance from the coordinates of the point on the weld body to obtain a direction vector from the weld body to the part; the direction of the direction vector is the direction from the weld body to the part.

[0069] S5. Using the distance between each weld body and the part, and the direction from the weld body to the part as corresponding relationship data between the weld body and one part.

[0070] For example, the welding body S is projected onto the part A to obtain the projection body SP, and the minimum distance between the welding body S and the projection body SP is calculated (when the welding body is a marked point, the distance between the marked point and the projection point is calculated according to the distance formula between the two points; when the welding body is a curve, the welding body and the projection body are discretized according to the principle of equal arc length, and the distance between each two points between the two sets of discrete points is calculated, and the minimum distance is taken), and the corresponding point Point-S on the welding body S and the corresponding point Point-SP on the projection body SP at the minimum distance are recorded. The minimum distance is recorded as the distance D from the welding body S to the part A, and the difference between the three-dimensional coordinate value of Point-SP and the three-dimensional coordinate value of Point-S is calculated and recorded as the direction V from the welding body S to the part A. The correspondence between the distance D and the direction V and the part A is established to obtain the correspondence between the welding body and all parts, which is recorded as the relationship information table of the welding body.

[0071] S6. Using the corresponding relationship data indicating that the distance between the weld body and the part is less than the welding tolerance range as preparation data.

[0072] S7. If the number of preparation data corresponding to the weld body is less than a preset threshold, the weld body is marked as an invalid weld body. In this embodiment, the preparation data is obtained by filtering the corresponding relationship data. Therefore, after filtering, each weld body and each part has a piece of preparation data. The number of preparation data is the number of parts corresponding to the weld body.

[0073] In this embodiment, the preset threshold is 2. That is, when the distance between two or less (not including two) parts and the weld body is smaller than the welding tolerance range, the weld body is an invalid weld body.

[0074] S8. If the number of preparation data corresponding to the weld body is equal to or greater than a preset threshold, determine whether the directions in all preparation data corresponding to the weld body are all the same; if all are the same, mark the weld body as a problem weld body, otherwise mark the weld body as a normal weld body.

[0075] In this embodiment, when the distance between more than two parts and the weld body is less than the welding tolerance range, then the weld body is valid. At this time, the direction is used to determine whether there is a problem with the weld body. If the direction of all parts and the weld body is the same, then the weld body is a problem weld body, otherwise, the weld body is a normal weld body.

[0076] S9. Divide the normal weld body and all parts in the corresponding preparation data into a welding combination.

[0077] After the normal weld body and all parts in the corresponding preparation data are divided into a weld combination, the number of parts and part IDs in the preparation data corresponding to the normal weld body are obtained; and the weld combination is named using the part ID and the number of parts.

[0078] In this embodiment, the part ID in the prepared data is extracted, and all the part IDs and part quantities in the prepared data (the number of parts in the prepared data is recorded as the number of welding layers) and underscores are combined and recorded as the classification name of the welding combination (for example, in the prepared data, there is part A: ID is 5; part B: ID is 2; part C: ID is 1000; then the number of welding layers is 3; the classification name is 5_2_1000_3). Except for the last field, the order of other fields in the classification name may be different. The determination of the same classification name only requires that the other fields except the last field can correspond, and the fields in the same position are not required to be consistent. For example, 5_2_1000_3, 5_1000_2_3 and 2_1000_5_3 are the same classification name, and the welded body is associated with the classification name.

[0079] The above steps are only performed for one welding body, but in this embodiment there are several welding bodies. For each welding body, repeat the steps of "projecting the welding body onto all parts according to the welding data to obtain several projection bodies" to "dividing the normal welding body and all parts in the corresponding preparation data into a welding combination" until all welding bodies are classified.

[0080] After all welds are categorized, the names of all weld combinations, their corresponding welds, and their corresponding preparation data are output. The preparation data for invalid and problematic welds is also output. All categorized names and their associated welds are output; along with all invalid, problematic, and normal welds and their preparation data, information is output. Based on the weld marking status, the position of a weld marked as normal is correct; otherwise, the position of the weld is incorrect. The marking status can be used to further determine whether the weld is invalid or has a problem.

[0081] The welding data automatic classification and inspection method provided in this embodiment has the following steps: Figure 2 As shown, several welds correspond to several parts, and the parts corresponding to different welds may be the same. The parts corresponding to each weld are distinguished based on the prepared data. This embodiment can automatically classify and organize welds, improving classification efficiency, and automatically determine the positions of welds, assisting engineers in improving welding accuracy.

[0082] It should be noted that, in this embodiment, the method for performing orthogonal projection using a geometric iteration algorithm can be adopted from [Xu Haiyin, Fang Xiongbing, and Hu Lian. Orthogonal projection calculation from a point to an implicit surface [J]. Journal of Computer-Aided Design and Graphics, 2008, 20(12): 1641-1646+1652]. The method for performing orthogonal projection using a normal projection algorithm can be adopted from [Song Haichuan. Normal projection and directional projection algorithm from a parametric curve to a free-form surface [D]. Tsinghua University, 2011].

[0083] Example 2:

[0084] like Figure 3 As shown, this embodiment provides a welding data automatic classification, organization and inspection system, the system comprising:

[0085] The data acquisition unit M1 is used to acquire welding data; the welding data includes: welding body data and part data;

[0086] A projection unit M2 is used to project the weld body onto all parts according to the welding data to obtain a plurality of projection bodies;

[0087] a distance calculation unit M3 for respectively calculating the minimum distance between the weld body and each of the projection bodies, and respectively recording the point on the weld body and the point on the part corresponding to the minimum distance; the minimum distance is the distance between the weld body and the part;

[0088] a direction calculation unit M4, configured to obtain a direction vector from the weld to the part by subtracting the coordinates of the point on the weld corresponding to the minimum distance from the coordinates of the point on the weld corresponding to the minimum distance; the direction of the direction vector being the direction from the weld to the part;

[0089] a relationship combining unit M5, configured to use the distance between each weld body and the part, and the direction from the weld body to the part as corresponding relationship data between the weld body and one part;

[0090] a relationship screening unit M6, configured to use the corresponding relationship data in which the distance between the weld body and the part is less than a welding tolerance range as preparation data;

[0091] an invalid weld body judging unit M7, configured to mark the weld body as an invalid weld body if the number of preparation data corresponding to the weld body is less than a preset threshold;

[0092] The weld body classification unit M8 is configured to determine whether the directions of all the preparation data corresponding to the weld body are all the same if the number of preparation data corresponding to the weld body is equal to or greater than a preset threshold; if all are the same, mark the weld body as a problem weld body; otherwise, mark the weld body as a normal weld body;

[0093] The data combination unit M9 is used to divide the normal weld body and all parts in the corresponding preparation data into a welding combination.

[0094] Each embodiment in this specification focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0095] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only intended to help understand the method and core concept of the present invention. At the same time, those skilled in the art will find that the specific implementation methods and application scopes may vary based on the concept of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims

1. A method for automatically classifying and inspecting welding data, characterized in that: The method comprises: Acquire welding data; the welding data includes: welding body data and part data; Projecting the weld body onto all parts according to the welding data to obtain a plurality of projection bodies; Calculating the minimum distance between the weld body and each of the projection bodies, and recording the point on the weld body and the point on the part corresponding to the minimum distance; the minimum distance is the distance between the weld body and the part; The direction vector from the weld body to the part is obtained by subtracting the coordinates of the point on the weld body corresponding to the minimum distance from the coordinates of the point on the part corresponding to the minimum distance; the direction of the direction vector is the direction from the weld body to the part; Using the distance between each weld body and the part, and the direction from the weld body to the part as corresponding relationship data between the weld body and one part; using the corresponding relationship data in which the distance between the weld body and the part is less than the welding tolerance range as preparation data; If the number of preparation data corresponding to the weld body is less than a preset threshold, the weld body is marked as an invalid weld body; If the number of preparation data corresponding to the weld body is equal to or greater than a preset threshold, determine whether the directions in all preparation data corresponding to the weld body are all the same; if all are the same, mark the weld body as a problem weld body; otherwise, mark the weld body as a normal weld body; Classifying the normal weld body and all parts in the corresponding preparation data into a welding combination; The projecting of the weld body onto all parts according to the welding data to obtain a plurality of projection bodies specifically includes: Determining whether the weld body is a marking point or a marking curve; If the weld body is a marking point, a geometric iteration algorithm is used to orthogonally project the weld body onto all parts; If the weld body is a marker curve, the weld body is orthogonally projected onto all parts using a normal projection algorithm; The respectively calculating the minimum distance between the welded body and each of the projection bodies specifically includes: When the weld body is a marking point, the distance between the marking point and the projection point is calculated according to the distance formula between two points to obtain the minimum distance; When the weld body is a marked curve, the weld body and the projection body are discretized into a plurality of discrete points, respectively, to obtain weld body discrete points and projection body discrete points; Calculating the distance between each two corresponding projection points between the discrete points of the weld body and the discrete points of the projection body to obtain a plurality of discrete distances; The smallest median of the discrete distances is taken as the minimum distance.

2. The method for automatic classification, arrangement and inspection of welding data according to claim 1, characterized in that: After dividing the normal weld body and all parts in the corresponding preparation data into a welding combination, the method further includes: Obtaining the number of parts and part IDs in the preparation data corresponding to the normal weld body; The welding combination is named using the part ID and the part quantity.

3. The method for automatic classification, arrangement and inspection of welding data according to claim 2, characterized in that: After dividing the normal weld body and all parts in the corresponding preparation data into a welding combination, the method further includes: Repeat the steps of "projecting the weld body onto all parts according to the welding data to obtain a plurality of projection bodies" to "classifying the normal weld body and all parts in the corresponding preparation data into a welding combination" until all weld bodies are classified.

4. The method for automatic classification, arrangement and inspection of welding data according to claim 3, characterized in that: After all welded bodies are classified, the following steps are also included: Outputs the names of all weld combinations and the corresponding weld bodies as well as the corresponding preparation data.

5. The method for automatic classification, arrangement and inspection of welding data according to claim 3, characterized in that: After all welded bodies are classified, the following steps are also included: Export preparation data for invalid and problematic weld bodies.

6. The method for automatic classification, arrangement and inspection of welding data according to claim 1, characterized in that: The step of discretizing the weld body and the projection body into a plurality of discrete points specifically includes: The welded body and the projection body are discretized separately according to the principle of equal arc length.

7. The method for automatic classification, arrangement and inspection of welding data according to claim 1, characterized in that: The preset threshold is 2.

8. A welding data automatic classification and inspection system, characterized in that: The system comprises: A data acquisition unit is used to acquire welding data; the welding data includes: welding body data and part data; A projection unit, configured to project the weld body onto all parts according to the welding data to obtain a plurality of projection bodies; a distance calculation unit, configured to calculate the minimum distance between the weld body and each of the projection bodies, and to record the point on the weld body and the point on the part corresponding to the minimum distance; the minimum distance is the distance between the weld body and the part; a direction calculation unit, configured to obtain a direction vector from the weld body to the part by subtracting the coordinates of the point on the part corresponding to the minimum distance from the coordinates of the point on the weld body corresponding to the minimum distance; the direction of the direction vector being the direction from the weld body to the part; a relationship combining unit, configured to use the distance between each weld body and the part, and the direction from the weld body to the part as corresponding relationship data between the weld body and one part; a relationship screening unit, configured to use the corresponding relationship data in which the distance between the weld body and the part is less than a welding tolerance range as preparation data; an invalid weld body judging unit, configured to mark the weld body as an invalid weld body if the number of preparation data corresponding to the weld body is less than a preset threshold; a weld body classification unit, configured to determine whether the directions of all the preparation data corresponding to the weld body are all the same if the number of preparation data corresponding to the weld body is equal to or greater than a preset threshold; if all are the same, mark the weld body as a problem weld body; otherwise, mark the weld body as a normal weld body; A data combination unit, configured to divide the normal weld body and all parts in the corresponding preparation data into a welding combination; The projection unit is specifically used for: Determining whether the weld body is a marking point or a marking curve; If the weld body is a marking point, a geometric iteration algorithm is used to orthogonally project the weld body onto all parts; If the weld body is a marker curve, the weld body is orthogonally projected onto all parts using a normal projection algorithm; The distance calculation unit is specifically used for: When the weld body is a marking point, the distance between the marking point and the projection point is calculated according to the distance formula between two points to obtain the minimum distance; When the weld body is a marked curve, the weld body and the projection body are discretized into a plurality of discrete points, respectively, to obtain weld body discrete points and projection body discrete points; Calculating the distance between each two corresponding projection points between the discrete points of the weld body and the discrete points of the projection body to obtain a plurality of discrete distances; The smallest median of the discrete distances is taken as the minimum distance.

Citation Information

Patent Citations

  • Least-squares-method-based symmetry characteristic detection method and system of three-dimensional model

    CN108305289A

  • Ocean passenger ship structure segmented welding position automatic calculation method

    CN112122810A