Gluing length automatic statistical method and system
By automatically identifying and measuring the length of the glue coating model, the problems of cumbersome and inefficiency of traditional statistical methods are solved, efficient and accurate glue coating length statistics are achieved, and design costs are reduced.
Patent Information
- Application Number
- CN202510686330.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2025-07-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional glue coating length statistics method is cumbersome, takes up a lot of time and has the risk of missing tests, resulting in low work efficiency and high cost for designers.
An automatic statistical method for glue coating length is proposed. By reading product model files, analyzing glue identification marks and types, identifying glue coating models, and using corresponding measurement methods to automatically calculate glue coating length according to the model type (line model, solid model or surface model).
Simplify operational steps, reduce designer workload, improve work efficiency and accuracy, and reduce design costs.
Smart Images

Figure CN120235931A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of automotive automation design, and particularly relates to a method and system for automatically counting the length of applied glue. Background Art
[0002] In the process of automobile manufacturing, body gluing plays an important role in the overall vehicle performance. However, different glues are required for different gluing positions and functions: hemming glue, spot welding glue, structural glue, etc. Different glues require different tooling equipment. Therefore, it is necessary to count the types of applied glue, the gluing positions, and the quantity of applied glue, and conduct functional and cost analyses.
[0003] The traditional statistical method is that designers search for glue application files in the data and count all the glue types and the length of each glue feature in each glue application file. Specifically, it includes: opening the digital model that needs to measure the glue application length - searching for all glue application files according to the glue application naming identifier - checking the glue types of each glue application file - according to different glue application data models, processing in different ways to obtain the center line - measuring the length of the center line and counting. Due to different types of glue and different data models, designers need to use different methods to process the glue application model to obtain the center line, and count the length of the applied glue by measuring the center line. In this working process, the traditional method of processing the glue application digital model takes a lot of time, and there is also a risk of missed measurement because there are many models; the operation volume is large and cumbersome, and the work efficiency is low. Summary of the Invention
[0004] The present invention proposes a method and system for automatically counting the length of applied glue, which simplifies the operation steps, highlights the key points, greatly reduces the workload of designers, improves work efficiency and accuracy at the same time, and reduces the design cost.
[0005] To achieve the above object, the technical solution of the present invention is realized as follows: A method for automatically counting the length of applied glue includes: S1. Read the product model file, parse the glue application identification identifier and the type of applied glue of the product model file, and identify the glue application model; S2. If the glue application model is a line model, directly measure the length of the line model through the "measurement" command to obtain the length of the applied glue; S3. If the glue application model is a solid model, measure the volume V of the solid through the "measurement" command, then identify the solid cross-section and measure the cross-sectional area S, and calculate the length of the applied glue L = V / S; S4. If the glue application model is a surface model, generate a solid according to the axis of the surface, and obtain the length of the applied glue through step S3.
[0006] Further, in step S3, the method for identifying the solid cross-section and measuring the cross-sectional area S includes: S301. Identify the parts that interfere with the entity and select one of them randomly; S302. Create the interference intersection surface between the entity and the selected part; S303. Taking the center point of the interference intersection surface as the reference, create a perpendicular plane of the interference intersection surface, and taking the perpendicular line passing through the center point as the central axis, set the step distance to rotate and cut the entity; S304. Take the cross-section with the smallest area among the cross-sections obtained by cutting the entity as the entity cross-section, and its area is the cross-section area S.
[0007] Furthermore, the method for identifying the parts that interfere with the entity in step S301 includes: Perform a collision detection on the selected part and the entity, detect the parts that have a collision relationship or a contact relationship with the entity, and take them as the parts that interfere with the entity; The judgment criterion for the collision relationship is that the clearance value between the two is < 0 mm; the judgment criterion for the contact relationship is that the clearance value between the two = 0 mm.
[0008] Furthermore, the method of step S302 includes: Call the "Intersect" command to perform an intersection process on the selected part and the entity to obtain the intersection contour line; Extract the outer surface of the entity or the interfering part, Use the intersection contour line to divide the outer surface of the entity or the interfering part to obtain the interference intersection surface.
[0009] Further, in step S4, the method for generating an entity according to the axis of the surface includes: Judge whether the surface has an axis; If there is an axis, it is identified as a cylindrical surface, and a cylindrical entity is generated through the "Define Closed Surface" command; If there is no axis, it is identified as a general surface, and an entity is generated through the "Define Thick Surface" command.
[0010] On the other hand, the present invention also proposes an automatic glue application length statistics system, including: Reading and identifying module: Read the product model file, parse the glue application identification mark and glue application type of the product model file, and identify the glue application model; Line model module: If the glue application model is a line model, directly measure the length of the line model through the "Measure" command to obtain the glue application length; Solid model module: If the glue application model is a solid model, measure the volume V of the solid through the "Measure" command, then identify the entity cross-section and measure the cross-section area S, and calculate the glue application length L = V / S; Surface model module: If the glue application model is a surface model, generate an entity according to the axis of the surface, and obtain the glue application length through the solid model module.
[0011] Further, the solid model module includes: Interference recognition unit: recognize the parts that interfere with the solid and select one of them; Intersecting surface unit: create the interference intersecting surface between the solid and the selected part; Cutting unit: with the center point of the interference intersecting surface as the reference, create a perpendicular plane of the interference intersecting surface, and with the perpendicular line passing through the center point as the central axis, set the step distance to rotate and cut the solid; Cross-section unit: take the cross-section with the smallest area among the cross-sections obtained by cutting the solid as the solid cross-section, and its area is the cross-section area S.
[0012] Furthermore, the interference recognition unit includes: Perform collision detection on the selected part and the solid, detect the parts that have a collision relationship or a contact relationship with the solid, and take them as the parts that interfere with the solid; The judgment criterion for the collision relationship is that the clearance value between the two is < 0 mm; the judgment criterion for the contact relationship is that the clearance value between the two = 0 mm.
[0013] Furthermore, the intersecting surface unit includes: Call the "Intersect" command to perform an intersection process on the selected part and the solid to obtain the intersection contour line; Extract the outer surface of the solid or the interference part, The intersection contour line divides the outer surface of the solid or the interference part to obtain the interference intersecting surface.
[0014] Further, the surface model module includes: Judge whether the surface has an axis; If there is an axis, it is recognized as a cylindrical surface, and a cylindrical solid is generated through the "Define Closed Surface" command; If there is no axis, it is recognized as a general surface, and a solid is generated through the "Define Thick Surface" command.
[0015] Compared with the prior art, the present invention has the following beneficial effects: The method and system of the present invention provide a set detection standard, perform one-step or multi-step operations for the statistics of the gluing length, and realize the method of automatic gluing length statistics through code. The present invention simplifies the operation steps, highlights the key points, greatly reduces the workload of designers. Using the present invention, designers only need to select the target assembly, click the button to easily realize the measurement of the gluing length types, and output the final detection report. At the same time, it improves work efficiency and accuracy, and reduces the design cost. Brief Description of the Drawings
[0016] Figure 1 It is the schematic diagram of the method flow of the present invention; Figure 2It is the overall process schematic diagram of Embodiment 1 of the present invention; Figure 3 It is the software interface diagram of Embodiment 1 of the present invention; Figure 4 It is the line model recognition schematic diagram of Embodiment 1 of the present invention; Figure 5 It is the surface model recognition schematic diagram of Embodiment 1 of the present invention; Figure 6 It is the defined closed surface schematic diagram of Embodiment 1 of the present invention; Figure 7 It is the defined thick surface schematic diagram of Embodiment 1 of the present invention; Figure 8 It is the solid model recognition schematic diagram of Embodiment 1 of the present invention; Figure 9 It is the intersection processing schematic diagram of Embodiment 1 of the present invention; Wherein: 1. Solid; 2. Part; Figure 10 It is the interference intersection surface schematic diagram of Embodiment 1 of the present invention; Figure 11 It is the cutting solid model schematic diagram of Embodiment 1 of the present invention; Wherein: 3. Vertical plane; 4. Central axis; Figure 12 It is the solid model cross-section schematic diagram of Embodiment 1 of the present invention; Figure 13 It is the system structure schematic diagram of Embodiment 2 of the present invention. Detailed implementation manners
[0017] It should be noted that, without conflict, the embodiments in the present invention and the features in the embodiments can be combined with each other.
[0018] The design concept of the present invention is to realize the automatic detection of the gluing length through a software system, simplify the operation process and automatically realize the content that originally required a large amount of repetitive manual work through code. After setting the corresponding parameters, the result can be output with one key.
[0019] According to the above design concept, the automatic gluing length statistical method proposed by the present invention is as Figure 1 shown, including: S1. Read the product model file, parse the gluing recognition identifier and gluing type of the product model file, and identify the gluing model; S2. If the gluing model is a line model, directly measure the length of the line model through the "measurement" command to obtain the gluing length; S3. If the gluing model is a solid model, measure the volume V of the solid through the "measurement" command, then identify the solid cross-section and measure the cross-sectional area S, and calculate the gluing length L = V / S; S4. If the glue - applying model is a curved - surface model, generate a solid according to the axis of the curved surface, and obtain the glue - applying length through step S3.
[0020] Based on the above - mentioned method, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0021] Embodiment 1: The overall scheme of the method implemented in this embodiment is as Figure 2 shown, and specifically includes: I. Read the model file: The software interface for automatically counting the glue - applying length designed in this embodiment is as Figure 3 shown. During operation, first, it is necessary to read the product model file. Click the "Select Product Model" button on the interface. This software calls the COM interface through the API function, opens the CATIA system interface for product model design, selects the product model node to be reviewed, and this software reads the node number information for input.
[0022] After selecting the product model, it is necessary to select the "Glue - applying Identification Mark" and "Glue - applying Type Identification Mark" in the interface. Among them, the glue - applying type identification mark can be filled in according to the actual situation and multiple selections are allowed. For example, sealant, expansion glue, edge - wrapping glue, etc. can be selected simultaneously. The optional items provided by the "Glue - applying Identification Mark" and "Glue - applying Type Identification Mark" exist in the corresponding data tables of the database of this software. If the glue - applying identification mark or glue - applying type identification mark in the selected product model node does not exist in the database, this software cannot provide the corresponding option, and the corresponding identification mark can be added through the [New] button, and it will be uploaded and added to the database at the same time.
[0023] After selecting the "Glue - applying Identification Mark" and "Glue - applying Type Identification Mark", this software drives the CATIA system to identify the glue - applying data node, extracts the glue - applying attribute number under this node, and records and displays it in the corresponding interface of this software in sequence. For example, in the interface table, "The glue - applying type is edge - wrapping glue, and the glue - applying number is A001; the glue - applying type is expansion glue, and the glue - applying number is A032". These are all the data of the extracted and displayed glue - applying nodes, and the non - glue - applying part sets are hidden.
[0024] Next, the "Measure Model Length" button on the software interface can be clicked. This software automatically counts the glue - applying length according to the execution logic. After statistics, the information of each glue - applying model feature is displayed, and a report of the counted glue - applying length is output, which is convenient for designers to view and download. Designers can also filter in the glue - applying model and glue - applying length columns to view detailed information.
[0025] II. Execution logic: The execution logic can be seen Figure 2For the logical relationship of "identifying the gluing model" and subsequent steps, the identification method is to drive the CATIA system and use the CATISpecObject interface and the GetType method to determine the type of the gluing model, specifically including: 1. Identify the gluing model as a line model.
[0026] This software drives the CATIA system to identify the line model under the glue type node. For example, Figure 4 as shown, under the "6101100-QC-TJ" node, the "glue type" node is "expansion glue", and the "line" under the "expansion glue" node is a line model.
[0027] After identifying the line model, number it. The numbering rule is "glue type + feature number". For example, the above line model can be numbered as "expansion glue - straight line 1", and so on. Read, identify, and number the line models one by one.
[0028] During the identification process, if there is no "glue type" node, it can be identified under the "gluing identification" node, and the numbering rule is the same as above.
[0029] After numbering, this software drives the measurement command in CATIA to directly measure the length of the "line model". The measurement result is the gluing length of the line model, and the gluing length is displayed on Figure 3 the software interface.
[0030] 2. Identify the gluing model as a surface model.
[0031] This software drives the CATIA system to identify the surface model under the glue type node. For example, Figure 5 as shown, under the "6101100-QC-TJ" node, the "glue type" node is "sealant", and the "surface" under the "sealant" node is a surface model.
[0032] After identifying the surface model, number it. The numbering rule is "glue type + feature number". For example, Figure 5 the surface models above can be numbered as "sealant - surface 25" and "sealant - surface 26", and so on. Read, identify, and number the surface models one by one.
[0033] After numbering, this software executes the following logic for the surface model: Judge whether the surface has an axis: (1) If there is an axis, it is judged as a cylindrical surface, and the "Define Closed Surface" command of the CATIA system can be called to generate a cylindrical solid. The operation schematic diagram is as Figure 6 shown.
[0034] (2) If there is no axis, it is judged as a general surface, and the "Define Thick Surface" command of the CATIA system can be called to generate a solid with a conforming surface. The operation schematic diagram is asFigure 7 As shown, where the "first offset" is set to 3 mm in this embodiment (this value has no effect on the measurement of the final glue application length).
[0035] Through the above operations, whether the curved surface has an axis or not, it can be processed into a solid. That is, this software processes the curved surface model into a solid model. Next, this software will measure according to the glue application length measurement logic when the glue application model is a solid model.
[0036] 3. Identify that the glue application model is a solid model.
[0037] This software drives the CATIA system to identify the solid model under the glue type node, such as Figure 8 As shown, under the "6101100-QC-TJ" node, the "glue type" node is "expansion glue", and the "volume" under the "expansion glue" node is a solid model.
[0038] After identifying the solid model, number it. The numbering rule is "glue type + feature number". For example, the solid models above Figure 8 can be numbered as "expansion glue - solid 25", "expansion glue - solid 26", "expansion glue - solid 27", and so on. Read, identify, and number the solid models one by one.
[0039] After numbering, the glue application length measurement logic of this software for the solid model is as follows: (1) This software drives the measurement command of the CATIA system to measure the volume V of the solid model.
[0040] (2) Identify the cross-section of the solid model and measure the cross-sectional area S.
[0041] In this step, the method of identifying the cross-section and measuring the cross-sectional area S includes: (2.1) Identify the parts that interfere with the solid model and select one of them at will; Drive the "collision" command of the CATIA system to detect the parts that interfere with the solid model. The process is as follows: Select the part and the solid model for collision detection, and detect the parts that have a collision relationship or contact relationship with the solid model, and use them as the parts that interfere with the solid model; The judgment standard for the collision relationship is that the clearance value of the collision detection between the two is <0 mm; the judgment standard for the contact relationship is that the clearance value of the collision detection between the two is =0 mm.
[0042] (2.2) Make the interference intersection surface of the solid model and the part; After selecting one of the parts that interfere with the solid model, as Figure 9 shown, Figure 9 which contains solid 1 and part 2; Call the "intersection" command to perform intersection processing on the selected part 2 and the solid 1 model to obtain the intersection contour line; Extract the outer surface of the solid model or the interfering part. In this embodiment, the outer surface of the solid model is extracted. Use the intersecting contour lines to divide the outer surface of the solid model to obtain the interfering intersection surface. As Figure 10 shown: The white border lines are the intersecting contour lines, and the red surface is the interfering intersection surface.
[0043] (2.3) Taking the center point of the interfering intersection surface as the reference, make a perpendicular plane 3 of the interfering intersection surface, as Figure 11 shown. The perpendicular plane 3 of the interfering intersection surface divides the solid model to obtain a cross-section, and the cross-sectional area can be measured. However, since it cannot be guaranteed that this cross-sectional area is the smallest, the perpendicular plane rotates around the perpendicular line passing through the center point as the central axis 4 according to a specific step size. After each rotation of a step size, the solid model is cut to obtain the corresponding cross-section, and its area is measured. In this embodiment, the step size is set to 1°.
[0044] (2.4) The cross-section with the smallest area among the cross-sections obtained by cutting the solid model is used as the cross-section of the solid model, and its area is the cross-sectional area S. Through step (2.3), the numerical values of 360 cross-sectional areas are measured, and the minimum value is taken. If there are two minimum values, then make the angular bisecting plane of these two perpendicular planes, and then cut the solid model to measure its cross-sectional area. As Figure 12 shown, the smallest cross-sectional area is 36.004 mm 2 , which is used as the cross-sectional area S.
[0045] (3) According to the volume V and the cross-sectional area S of the solid model, calculate L = V / S as the glue application length of the solid model.
[0046] In this embodiment, according to the glue application identification mark and the glue application type identification mark, traverse the product model structure tree, find the nodes to be measured, read the features of different models and name them; process according to the model features, measure and calculate the glue application lengths of different glue application models respectively, and at the same time Figure 3 display the information of each glue application model feature in the software interface shown, and statistically output the glue application length report, which is convenient for designers to view and download. It can also be used for designers to filter in the glue application model and glue application length columns to view detailed information. The present invention simplifies the operation steps, highlights the key points, greatly reduces the workload of designers, improves work efficiency and accuracy at the same time, and reduces the design cost.
[0047] Embodiment 2: In this Embodiment 2, an automatic glue application length statistical system is proposed, as Figure 13 shown, including: Reading and recognition module: Read the product model file, parse the glue application identification mark and glue application type of the product model file, and identify the glue application model; Wire model module: If the glue - applying model is a wire model, the glue - applying length is directly measured by the "measurement" command to obtain the glue - applying length of the wire model; Solid model module: If the glue - applying model is a solid model, the volume V of the solid is measured by the "measurement" command, then the cross - section of the solid is identified and the cross - section area S is measured, and the glue - applying length L = V / S is calculated; Surface model module: If the glue - applying model is a surface model, a solid is generated according to the axis of the surface, and the glue - applying length is obtained through the solid model module.
[0048] The solid model module includes: Interference recognition unit: Identify the parts that interfere with the solid and select one of them; Intersecting surface unit: Make the interference intersecting surface of the solid and the selected part; Cutting unit: Taking the center point of the interference intersecting surface as a reference, make a perpendicular plane of the interference intersecting surface, and taking the perpendicular line passing through the center point as the central axis, set the step distance to rotate and cut the solid; Cross - section unit: The cross - section with the smallest area among the cross - sections obtained by cutting the solid is used as the solid cross - section, and its area is the cross - section area S.
[0049] The interference recognition unit includes: Perform a collision detection on the selected part and the solid, detect the parts that have a collision relationship or a contact relationship with the solid, and take them as the parts that interfere with the solid; The judgment criterion for the collision relationship is that the clearance value between the two is < 0mm; the judgment criterion for the contact relationship is that the clearance value between the two is = 0mm.
[0050] The intersecting surface unit includes: Call the "intersect" command to perform an intersection process on the selected part and the solid to obtain the intersection contour line; Extract the outer surface of the solid or the interference part, The intersection contour line divides the outer surface of the solid or the interference part to obtain the interference intersecting surface.
[0051] The surface model module includes: Judge whether the surface has an axis; If there is an axis, it is identified as a cylindrical surface, and a cylindrical solid is generated through the "define closed surface" command; If there is no axis, it is identified as a general surface, and a solid is generated through the "define thick surface" command.
[0052] The glue - applying length automatic statistics system proposed in this embodiment can implement the glue - applying length automatic statistics method described in Embodiment 1 and has the same technical effects as Embodiment 1.
[0053] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. An automatic statistical method for glue application length, characterized in that, Including: S1. Read the product model file, parse the glue application identification mark and glue application type of the product model file, and identify the glue application model; S2. If the glue application model is a line model, directly measure the length of the line model through the "measurement" command to obtain the glue application length; S3. If the glue application model is a solid model, measure the volume V of the solid through the "measurement" command, then identify the solid cross-section and measure the cross-sectional area S, and calculate the glue application length L = V / S; S4. If the glue application model is a surface model, generate a solid according to the axis of the surface, and obtain the glue application length through step S3.
2. The automatic glue application length statistics method according to claim 1, characterized in that In step S3, the method for identifying the solid cross-section and measuring the cross-sectional area S includes: S301. Identify the parts that interfere with the solid and select any one of them; S302. Make the interference intersection surface of the solid and the selected part; S303. Taking the center point of the interference intersection surface as the reference, make a perpendicular plane of the interference intersection surface, and use the perpendicular line passing through the center point as the central axis to set the step distance to rotate and cut the solid; S304. The cross-section with the smallest area among the cross-sections obtained by cutting the solid is used as the solid cross-section, and its area is the cross-sectional area S.
3. The automatic statistical method for glue application length according to claim 2, wherein In step S301, the method for identifying the parts that interfere with the solid includes: Select the part and the solid for collision detection, detect the parts with a collision relationship or contact relationship with the solid, and take them as the parts that interfere with the solid; The judgment criterion for the collision relationship is that the clearance value between the two is <0 mm; the judgment criterion for the contact relationship is that the clearance value between the two is =0 mm.
4. The automatic statistical method for glue application length according to claim 2, characterized in that The method of step S302 includes: Call the "intersection" command to perform intersection processing on the selected part and the solid to obtain the intersection contour line; Extract the outer surface of the solid or the interfering part, The intersection contour line divides the outer surface of the solid or the interfering part to obtain the interference intersection surface.
5. The automatic glue application length statistical method according to claim 1, characterized in that In step S4, the method for generating a solid according to the axis of the surface includes: Judge whether the surface has an axis; If there is an axis, it is identified as a cylindrical surface, and a cylindrical solid is generated through the "define closed surface" command; If there is no axis, it is identified as a general surface, and a solid is generated through the "define thick surface" command.
6. An automatic glue application length statistical system, characterized in that, Including: Reading and identification module: Read the product model file, parse the glue application identification mark and glue application type of the product model file, and identify the glue application model; Line model module: If the glue application model is a line model, directly measure the length of the line model through the "measurement" command to obtain the glue application length; Solid model module: If the glue application model is a solid model, measure the volume V of the solid through the "measurement" command, then identify the solid cross-section and measure the cross-sectional area S, and calculate the glue application length L = V / S; Surface model module: If the glue application model is a surface model, generate a solid according to the axis of the surface, and obtain the glue application length through the solid model module.
7. The automatic glue application length statistics system according to claim 6, characterized in that The solid model module includes: Interference identification unit: Identify the parts that interfere with the solid and select any one of them; Intersection surface unit: Make the interference intersection surface of the solid and the selected part; Cutting unit: Taking the center point of the interference intersection surface as the reference, make a perpendicular plane of the interference intersection surface, and use the perpendicular line passing through the center point as the central axis to set the step distance to rotate and cut the solid; Cross-section unit: The cross-section with the smallest area among the cross-sections obtained by cutting the solid is used as the solid cross-section, and its area is the cross-sectional area S.
8. The automatic glue application length statistics system according to claim 7, characterized in that The interference identification unit includes: Select the parts and the solid for collision detection, and detect the parts that have a collision relationship or a contact relationship with the solid, and use them as the parts that interfere with the solid; The judgment criterion for the collision relationship is that the clearance value between the two is <0 mm; the judgment criterion for the contact relationship is that the clearance value between the two is =0 mm.
9. The automatic glue application length statistical system according to claim 7, characterized in that, The intersecting surface elements include: Call the "Intersect" command to perform intersection processing on the selected part and the solid to obtain the intersecting contour line; Extract the outer surface of the solid or the interfering part, The intersecting contour line divides the outer surface of the solid or the interfering part to obtain the interfering intersecting surface.
10. The automatic glue application length statistical system according to claim 6, characterized in that, The surface model module includes: Determine whether the surface has an axis; If there is an axis, it is identified as a cylindrical surface, and a cylindrical solid is generated by the "Define Closed Surface" command; If there is no axis, it is identified as a general surface, and a solid is generated by the "Define Thick Surface" command.
Citation Information
Patent Citations
Coating length measuring device
CN101728516A
Automatic sole gluing method based on shoe type characteristic curve extraction
CN114119765A
Object length detection system and method based on echelette grating
CN116858108A
Welding seam length measuring method and system, electronic equipment and storage medium
CN118918174A
Detection method, system and equipment for gluing process and medium
CN119027407A