Method, device, equipment, medium and product for generating three-dimensional graphic structure tree
By identifying the current process of the vehicle manufacturing process and obtaining the sorting results of parts, an accurate three-dimensional graphic structure tree is generated, which solves the problem of inaccurate structure trees in body product design and improves the efficiency of parts management and the accuracy of project development. .
Patent Information
- Application Number
- CN202411232550.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-09-04
AI Technical Summary
During the design of the body product, the grading design of parts leads to inaccurate structure trees, affecting subsequent assembly and production work, and the existing technology is difficult to effectively solve this problem.
By identifying the current process of the vehicle manufacturing process, the order or spatial distribution sorting results of components are obtained, and based on these sorting results, a three-dimensional graphic structure tree of the welding assembly or assembly assembly is generated.
It achieves the generation of accurate three-dimensional graphics structure trees, improves the efficiency of subsequent parts management, reduces workload and rework, and ensures the agility and accuracy of project development.
Smart Images

Figure CN118761159B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a method, device, equipment, medium and product for generating a three-dimensional graphic structure tree. Background Art
[0002] In the process of body product design, the hierarchical design of parts and components, the same product unit contains several parts, the process design plan changes frequently, and the information such as material weight, material, cost, etc. must be output synchronously with the data plan to ensure the agility and accuracy of project development. Since product design does not strictly stipulate that the product structure tree is consistent with the details, it leads to serious rework of material verification, affecting process follow-up and increasing workload.
[0003] CATIA (Computer-Aided Three-Dimensional Interactive Application) software is a widely used 3D design and engineering analysis software in the industry. Although it has certain sorting functions, it can only adjust the order of a single node at a time. For large and complex assemblies like cars, this is obviously not enough to cope with the massive data processing needs. The vehicle assembly structure tree has many levels and tens of thousands of nodes. If you want to manually adjust the order of each node according to specific rules, it will not only be time-consuming, but also difficult to guarantee accuracy. It is easy to make omissions and errors, resulting in deviations in subsequent assembly and production work.
[0004] Related technology 1-"CN105243237B" discloses a method for constructing an assembly process structure tree, including (1) assembly structure management; (2) assembly process design, determining the assembly process route; (3) assembly process model construction, defining an empty process model component node, and completing the process attribute information, including process number, process name, assembly resources, and then adding the process model of the previous process and the supporting parts model of the current process to the newly created process model component node; (4) assembly path simulation; (5) three-dimensional process file output. This method mainly focuses on the definition, characteristics and construction method of the assembly process structure tree, aiming to achieve model-based assembly process information expression. However, its application scenarios are mainly concentrated in the assembly process of complex products. For the problem of inaccurate structure tree caused by the disordered arrangement order of parts in the body product design process, no targeted solution is given.
[0005] Related technology 2 - "CN114943011A" discloses a method and system for screening vehicle configuration data, the method comprising: obtaining the top-level parts of the CATIA product structure tree; wherein the CATIA product structure tree is obtained by loading the vehicle configuration data or assembly data through CATIA. Then, determine whether the top-level part has sub-parts, and if so, obtain the sub-part list of the top-level part. Finally, traverse each sub-part in the sub-part list to determine whether the sub-part is non-current configuration data. If so, delete the structure tree object corresponding to the sub-part, and reconstruct the CATIA product structure tree. This method mainly solves the problem of screening vehicle configuration data. By traversing the sub-parts of each node of the product structure tree, non-current configuration data is automatically removed to obtain accurate vehicle configuration information, but the accuracy of the structure tree is not considered from the order of parts arrangement. Summary of the invention
[0006] One of the purposes of the present invention is to provide a method for generating a three-dimensional graphic structure tree to solve the problems in the related art that the structure tree has low accuracy, is prone to problems in the subsequent management of parts in vehicle manufacturing, and has reduced subsequent work efficiency; a second purpose is to provide a device for generating a three-dimensional graphic structure tree; a third purpose is to provide an electronic device; a fourth purpose is to provide a computer-readable storage medium; a fifth purpose is to provide a computer program product; and a sixth purpose is to provide a vehicle.
[0007] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0008] A method for generating a three-dimensional graphic structure tree comprises the following steps: identifying a current process of a vehicle manufacturing process, wherein the current process comprises a welding assembly and an assembly assembly; if the current process is a welding assembly, obtaining a result of a sequence sorting of parts of the welding assembly, and generating a three-dimensional graphic structure tree of the welding assembly according to the result of the sequence sorting of parts; if the current process is an assembly assembly, obtaining a result of a spatial distribution sorting of parts of the assembly assembly, and generating a three-dimensional graphic structure tree of the assembly assembly according to the result of the spatial distribution sorting of parts.
[0009] According to the above-mentioned technical means, the embodiment of the present application can determine whether to sort the order of parts or the spatial distribution of parts based on the current process in the vehicle manufacturing process, and obtain the order sorting results of the parts of the welding assembly and the spatial distribution sorting results of the parts of the assembly, and generate an accurate three-dimensional graphic structure tree of the welding assembly and a three-dimensional graphic structure tree of the assembly based on the order sorting results and the spatial distribution sorting results, respectively, so that subsequent operators can manage the parts based on the three-dimensional graphic structure tree, thereby improving subsequent work efficiency.
[0010] Further, obtaining the order sorting result of the components of the welding assembly includes: obtaining the type and number of each component subset of the welding assembly; re-ordering each component subset according to the type and number of each component subset to obtain the order sorting result of the components of the welding assembly.
[0011] According to the above technical means, the embodiment of the present application can re-order each component subset according to the type and number of each component subset to obtain the component sequence sorting result of the welding assembly.
[0012] Furthermore, each component subset is reordered according to its type and number, including: reordering each component subset according to its type; and for each component subset of the same type, reordering according to the length of its number.
[0013] According to the above technical means, the embodiment of the present application can sort the components subsets in sequence according to their types, and for each component subset of the same type, sort them in sequence according to the length of the component subset numbers to ensure the rationality of the sorting.
[0014] Furthermore, before reordering each component subset according to the type and number of each component subset, the method further includes: deleting all component subsets of the welding assembly.
[0015] According to the above technical means, the embodiment of the present application deletes all component subsets of the welding assembly before re-ordering, so that the structure tree can be regenerated in the new order later to ensure the accuracy of the structure.
[0016] Furthermore, the type of the component subset includes at least one of a component, a welding point, and a standard part.
[0017] Further, obtaining the spatial distribution sorting result of the components of the assembly includes: determining the spatial distribution of the components of the assembly; and generating the spatial distribution sorting result of the components according to the spatial distribution of the components and the standard parts of each component.
[0018] According to the above technical means, the embodiment of the present application can generate a spatial distribution sorting result of the components according to the spatial distribution of the components and the standard parts of each component. By determining the spatial distribution, the positions of each component can be arranged more reasonably to avoid interference and conflict.
[0019] Furthermore, before generating the component spatial distribution sorting results according to the component spatial distribution and the standard parts of each component, it also includes: setting the three-dimensional target reference of the component; simplifying each component into a regular three-dimensional object; optimizing the component spatial distribution according to the distance between the regular three-dimensional object and the three-dimensional target reference.
[0020] According to the above-mentioned technical means, the embodiments of the present application can optimize the spatial layout and improve the calculation efficiency by setting a three-dimensional target benchmark and simplifying the components into regular three-dimensional objects, while maintaining sufficient accuracy, which is suitable for actual engineering needs.
[0021] Furthermore, the spatial distribution of components is optimized according to the distance between the regular three-dimensional object and the three-dimensional target reference, including: determining whether there is an overlapping area between adjacent components according to the distance between the regular three-dimensional object and the three-dimensional target reference, and optimizing the spatial distribution of components if there is an overlapping area.
[0022] According to the above technical means, the embodiment of the present application can determine whether there is an overlapping area by detecting the distance between regular three-dimensional objects, thereby optimizing the spatial distribution of components.
[0023] A device for generating a three-dimensional graphic structure tree comprises: an identification module for identifying a current process of a vehicle manufacturing process, wherein the current process includes a welding assembly and an assembly assembly; a first generation module for obtaining a result of a sequence sorting of parts of the welding assembly if the current process is the welding assembly, and generating a three-dimensional graphic structure tree of the welding assembly according to the result of the sequence sorting of parts; and a second generation module for obtaining a result of a spatial distribution sorting of parts of the assembly assembly if the current process is the assembly assembly, and generating a three-dimensional graphic structure tree of the assembly assembly according to the result of the spatial distribution sorting of parts.
[0024] Furthermore, the first generation module is further used to: obtain the type and number of each component subset of the welding assembly; re-order each component subset according to the type and number of each component subset to obtain the component ordering result of the welding assembly.
[0025] Furthermore, the first generating module is further used to: sort each component subset in sequence according to the type of each component subset; for each component subset of the same type, sort them in sequence according to the length of the number of each component subset.
[0026] Furthermore, it also includes: a deletion module, which is used to delete all component subsets of the welding assembly before re-ordering each component subset according to the type and number of each component subset.
[0027] Furthermore, the type of the component subset includes at least one of a component, a welding point, and a standard part.
[0028] Furthermore, the second generation module is further used to: determine the spatial distribution of parts of the assembly; and generate a spatial distribution sorting result of the parts according to the spatial distribution of the parts and the standard parts of each part.
[0029] Furthermore, it also includes: an optimization module, which is used to set the three-dimensional target reference of the parts before generating the parts spatial distribution sorting results according to the parts spatial distribution and the standard parts of each part; simplify each part into a regular three-dimensional object; optimize the parts spatial distribution according to the distance between the regular three-dimensional object and the three-dimensional target reference.
[0030] Furthermore, the optimization module is further used to: determine whether there is an overlapping area between adjacent parts based on the distance between the regular three-dimensional object and the three-dimensional target reference, and if there is an overlapping area, optimize the spatial distribution of the parts.
[0031] An electronic device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the program to implement a method for generating a three-dimensional graphic structure tree as in the above embodiment.
[0032] A computer-readable storage medium stores a computer program or instruction thereon, and the computer program or instruction is executed by a processor to implement a method for generating a three-dimensional graphic structure tree as in the above-mentioned embodiment.
[0033] A computer program product includes a computer program or instructions. When the computer program or instructions are executed, the method for generating a three-dimensional graphic structure tree of the above embodiment is implemented.
[0034] A vehicle includes: parts assembled using a three-dimensional graphic structure tree of the method for generating a three-dimensional graphic structure tree of the above embodiment.
[0035] Beneficial effects of this application:
[0036] (1) The embodiment of the present application can determine whether to sort the order of parts or the spatial distribution of parts based on the current process in the vehicle manufacturing process, obtain the order sorting results of the parts of the welding assembly and the spatial distribution sorting results of the parts of the assembly, and generate an accurate three-dimensional graphic structure tree of the welding assembly and a three-dimensional graphic structure tree of the assembly based on the order sorting results and the spatial distribution sorting results, so that subsequent operators can manage the parts based on the three-dimensional graphic structure tree, thereby improving subsequent work efficiency.
[0037] (2) The embodiment of the present application can re-sort each component subset according to the type and number of each component subset to obtain the component sequence sorting result of the welding assembly.
[0038] (3) The embodiments of the present application can sort the component subsets in order according to their types, and for each component subset of the same type, sort them in order according to the length of the component subset numbers to ensure the rationality of the sorting.
[0039] (4) In the embodiment of the present application, all subsets of components of the welding assembly are deleted before re-ordering, so that the structure tree can be regenerated according to the new order to ensure the accuracy of the structure.
[0040] (5) The embodiments of the present application can generate a spatial distribution sorting result of the components according to the spatial distribution of the components and the standard parts of each component. By determining the spatial distribution, the positions of the components can be arranged more reasonably to avoid interference and conflict.
[0041] (6) The embodiments of the present application can optimize the spatial layout and improve the calculation efficiency by setting a three-dimensional target benchmark and simplifying the components into regular three-dimensional objects, while maintaining sufficient accuracy and being suitable for actual engineering needs.
[0042] (7) The embodiments of the present application can determine whether there is an overlapping area by detecting the distance between regular three-dimensional objects, thereby optimizing the spatial distribution of parts.
[0043] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A flowchart of a method for generating a three-dimensional graphics structure tree provided in an embodiment of the present application;
[0045] Figure 2 A schematic diagram of a bubble sort provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of establishing a reference for a space provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of a spatial intersection of components provided in an embodiment of the present application;
[0048] Figure 5 A sorting diagram of parts before optimization of a welding assembly provided in an embodiment of the present application;
[0049] Figure 6 A sorting diagram of parts after optimization of the welding assembly provided in an embodiment of the present application;
[0050] Figure 7 A flowchart of the sequence provided for the embodiments of the present application;
[0051] Figure 8 The spatial distribution arrangement of the parts before the assembly optimization provided in the embodiment of the present application;
[0052] Fig. 9The spatial distribution order of parts after assembly optimization provided in the embodiment of the present application;
[0053] Fig.10 A flowchart of spatial distribution sorting provided for an embodiment of the present application;
[0054] Fig.11 A schematic diagram of a device for generating a three-dimensional graphic structure tree provided in an embodiment of the present application;
[0055] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0057] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0058] Specifically, Figure 1 A schematic flow chart of a method for generating a three-dimensional graphic structure tree provided in an embodiment of the present application.
[0059] like Figure 1 As shown, the method for generating the three-dimensional graphic structure tree includes the following steps:
[0060] In step S101 , the current process of the vehicle manufacturing process is identified.
[0061] Among them, the current process includes welding assembly and assembly assembly. Welding assembly is to permanently connect two or more parts together, and assembly assembly refers to assembling multiple parts or components together.
[0062] In step S102, if the current process is a welding assembly, a result of the order sorting of components of the welding assembly is obtained, and a three-dimensional graphic structure tree of the welding assembly is generated according to the result of the order sorting of components.
[0063] It can be understood that in the embodiment of the present application, if the current process is a welding assembly, a three-dimensional graphic structure tree of the welding assembly is generated based on the component sequence sorting results of the welding assembly, so that subsequent operators can check the welding assembly based on the three-dimensional graphic structure tree of the welding assembly to improve subsequent work efficiency. The specific process is as follows.
[0064] In an embodiment of the present application, obtaining the order sorting result of the components of the welding assembly includes: obtaining the type and number of each component subset of the welding assembly; re-ordering each component subset according to the type and number of each component subset to obtain the order sorting result of the components of the welding assembly.
[0065] The types of the component subset include at least one of components, welding points and standard parts.
[0066] It can be understood that the welding assembly of the embodiment of the present application includes multiple components, and the type and number of each component subset are obtained, and each component subset is re-sorted in order according to the type and number of each component subset to obtain the component sequence sorting result of the welding assembly, so as to achieve a more standard and normative sorting of the components of the welding assembly.
[0067] The sorting in the embodiment of the present application is based on CATIA.
[0068] In an embodiment of the present application, each component subset is reordered according to the type and number of each component subset, including: reordering each component subset according to the type of each component subset; for each component subset of the same type, reordering according to the number length of each component subset.
[0069] Among them, the order can be sorted by bubble sorting. Figure 2 shown.
[0070] It is understandable that the embodiment of the present application can sort each component subset in sequence based on the type of the component subset, and for each component subset of the same type, since the component subsets are numbered differently, they are sorted in sequence according to the length of the number of each component subset.
[0071] It should be noted that, since the number of the component subset is not a number but a text, this application will use a function to convert the "single character" of each string into an ASC code and then compare it until a difference is found and exit.
[0072] For example, "5301130-FL01" and "5301130-FL01_WP" are looped with the shorter string length. If no difference is compared after the loop is completed, the longer string is placed after the shorter string.
[0073] In addition, this application finally sorts the special numbers and adjusts the order of sorting results.
[0074] In the embodiment of the present application, before reordering each component subset according to the type and number of each component subset, the method further includes: deleting all component subsets of the welding assembly.
[0075] Since CATIA sorting only supports single-node exchange sorting, it is difficult to achieve automation. Therefore, the embodiment of the present application can delete all component subsets of all welding assemblies to achieve subsequent re-sequencing.
[0076] In step S103, if the current process is assembly, the spatial distribution sorting result of the parts of the assembly is obtained, and a three-dimensional graphic structure tree of the assembly is generated according to the spatial distribution sorting result of the parts.
[0077] It can be understood that in the embodiment of the present application, if the current process is assembly, a three-dimensional graphic structure tree of the assembly is generated based on the spatial distribution sorting results of the parts of the assembly, so that subsequent operators can check the assembly based on the three-dimensional graphic structure tree of the assembly to improve subsequent work efficiency. The specific process is as follows.
[0078] In an embodiment of the present application, obtaining the spatial distribution sorting results of the components of the assembly includes: determining the spatial distribution of the components of the assembly; and generating the spatial distribution sorting results of the components according to the spatial distribution of the components and the standard parts of each component.
[0079] Among them, standard parts follow spare parts.
[0080] It is understandable that the embodiments of the present application can determine the spatial distribution of the components of the assembly, and generate a spatial distribution sorting result of the components based on the spatial distribution of the components and the standard parts of each component.
[0081] Specifically, the embodiment of the present application can abstract the parts into a rectangular box for simplified measurement, which can meet engineering needs and is highly efficient.
[0082] In an embodiment of the present application, before generating a component spatial distribution sorting result based on the component spatial distribution and the standard parts of each component, it also includes: setting a three-dimensional target reference for the component; simplifying each component into a regular three-dimensional object; and optimizing the component spatial distribution based on the distance between the regular three-dimensional object and the three-dimensional target reference.
[0083] Since CATIA software can provide measurement of the spacing between parts, but the position coordinates of the parts and the space occupied by the parts cannot be obtained, the embodiment of the present application sets the three-dimensional target reference of the parts in the part space (i.e., the rectangular box) as mentioned above, simplifies each part into a regular three-dimensional object, and optimizes the spatial distribution of the parts according to the distance between the regular three-dimensional object and the three-dimensional target reference.
[0084] Specifically, the space setting benchmarks are as follows: Figure 3 As shown, by using component 1 to calculate the distance between each reference, the front and back coordinates X- / X+, left and right coordinates Y- / Y+, and upper and lower coordinates Z- / Z+ of the part can be obtained.
[0085] That is: definition, L1 = distance (component 1, datum X-); L2 = distance (component 1, datum X+); L3 = distance (component 1, datum Y-); L4 = distance (component 1, datum Y+); L5 = distance (component 1, datum Z-); L6 = distance (component 1, datum Z+).
[0086] Then: X- = L1;
[0087] X+ = distance (reference X+, reference X-)-L2;
[0088] Y, Z and so on, we can get a region in the space where the part is located;
[0089] The areas occupied by all subsets in the assembly are calculated and cached in an array. Components and standard parts are distinguished by part number rules. The spatial sorting of components can be done in any direction of X, Y, or Z. Finally, the spatial distribution sorting results of the components are regenerated according to the adjusted order.
[0090] In an embodiment of the present application, the spatial distribution of components is optimized according to the distance between the regular three-dimensional object and the three-dimensional target reference, including: determining whether there is an overlapping area between adjacent components according to the distance between the regular three-dimensional object and the three-dimensional target reference, and if there is an overlapping area, optimizing the spatial distribution of components.
[0091] It is understandable that the embodiment of the present application can determine whether there is an overlapping area between adjacent components based on the distance between the three-dimensional object and the three-dimensional target reference. If there is an overlapping area, the spatial distribution of the components is optimized, as follows:
[0092] like Figure 4 As shown, to determine whether there is a spatial intersection (i.e., overlapping area) between components, take the spatial intersection between component 1 and component 2 as an example, the following formula can be used to determine:
[0093] 1. X2+>= X1-;
[0094] 2. X2-<= X1+;
[0095] 3. Y2+>= Y1-;
[0096] 4. Y2-<= Y1+;
[0097] 5. Z2+>= Z1-;
[0098] 6. Z2-<= Z1+.
[0099] If the above 6 items are met at the same time, component 1 and component 2 are bonded, otherwise component 1 and component 2 are not bonded.
[0100] The following is an example of a specific embodiment to illustrate the sequential sorting method involved in this application.
[0101] 1. Sorting by parts number sequence (used to sort the order of parts of welding assembly).
[0102] It is suitable for welding assembly, because it has fewer subsets, and the order of parts is applied in the normal order. Special parts are processed by identification. For any welding assembly, read the part numbers of all its subsets (parts + welding points + standard parts) to form an initial array, including assembly information, to form a text array, and sort the numbers using bubble sorting. The order of parts in the welding assembly before optimization is as follows Figure 5 As shown, the optimized sorting is as follows Figure 6 shown.
[0103] Since the part number is not a number but a text, the order of this application is as follows: Figure 7 As shown, each string is converted into an ASCII code using a function and then compared until a difference is found and the program exits.
[0104] If the length of each number is different, "5301130-FL01" and "5301130-FL01_WP", loop with the shorter string length; if no difference is compared after the loop, put the long string after the short string; finally, sort the special numbers and adjust the array order.
[0105] Since CATIA sorting only supports single-node exchange sorting, it is difficult to realize automation. Therefore, the reordering is achieved by deleting all subsets and re-sorting by array.
[0106] 2. Spatial distribution sorting of parts (also known as screw connection sorting, used to sort the spatial distribution of parts in an assembly).
[0107] It is suitable for screw connection sorting, because screw connections are composed of parts from different regions, with scattered spatial distribution, and each screw connection has a connection mark. The bill of materials often requires the mark to follow the specified installation parts, so this sorting will be more regular and convenient for subsequent material inspection. Figure 8 As shown, the optimized sorting is as follows Fig. 9 shown.
[0108] CATIA software can provide distance measurement between parts, but the position coordinates of the parts and the space occupied by the parts cannot be obtained. In addition, CATIA distance measurement is an object-oriented interface call, which has been verified to be extremely inefficient. This method abstracts the parts into a rectangular box for simplified measurement. After actual project implementation, it meets engineering needs and is extremely efficient. Figure 8 and Fig. 9 As shown, the three-dimensional space is simplified to two dimensions to describe its working principle. The process of spatial distribution sorting is as follows Fig.10 shown.
[0109] 1. Establish a benchmark in space;
[0110] 2. Use the parts to calculate the distance between each benchmark, and you can get the front and back coordinates X- / X+, left and right coordinates Y- / Y+, and up and down coordinates Z- / Z of the parts;
[0111] 3. Calculate the areas occupied by all subsets in the assembly, cache them in an array, distinguish parts from standard parts by part number rules, sort the parts in space in any direction of X, Y, or Z, and finally reassemble them in the adjusted order;
[0112] 4. The standard part follows the components by judging whether there is any intersection between the components: if component 1 and component 2 have a spatial intersection, then component 1 and component 2 fit together, otherwise component 1 and component 2 do not fit together.
[0113] 5. Obtain an ordered array and reassemble it to achieve sorting.
[0114] According to the method for generating a three-dimensional graphic structure tree proposed in the embodiment of the present application, it is possible to determine whether to sort the order of parts or the spatial distribution of parts based on the current process in the vehicle manufacturing process, to obtain the order sorting results of the parts of the welding assembly and the spatial distribution sorting results of the parts of the assembly, and to generate accurate three-dimensional graphic structure tree of the welding assembly and three-dimensional graphic structure tree of the assembly based on the order sorting results and the spatial distribution sorting results, respectively, so that subsequent operators can manage the parts based on the three-dimensional graphic structure tree, thereby improving subsequent work efficiency.
[0115] Next, a device for generating a three-dimensional graphic structure tree according to an embodiment of the present application will be described with reference to the accompanying drawings.
[0116] Fig.11 It is a block diagram of a device for generating a three-dimensional graphics structure tree according to an embodiment of the present application.
[0117] like Fig.11 As shown, the three-dimensional graphic structure tree generating device 10 includes: a recognition module 100, a first generating module 200 and a second generating module 300.
[0118] Among them, the identification module 100 is used to identify the current process of the vehicle manufacturing process, wherein the current process includes welding assembly and assembly assembly; the first generation module 200 is used to obtain the component sequence sorting result of the welding assembly if the current process is welding assembly, and generate a three-dimensional graphic structure tree of the welding assembly according to the component sequence sorting result; the second generation module 300 is used to obtain the component spatial distribution sorting result of the assembly assembly if the current process is assembly assembly, and generate a three-dimensional graphic structure tree of the assembly assembly according to the component spatial distribution sorting result.
[0119] In an embodiment of the present application, the first generation module 200 is further used to: obtain the type and number of each component subset of the welding assembly; re-order each component subset according to the type and number of each component subset to obtain the component ordering result of the welding assembly.
[0120] In the embodiment of the present application, the first generating module 200 is further used to: sequentially sort each component subset according to the type of each component subset; for each component subset of the same type, sequentially sort according to the number length of each component subset.
[0121] In the embodiment of the present application, the device 10 for generating the three-dimensional graphic structure tree in the embodiment of the present application further includes: a deletion module.
[0122] The deleting module is used to delete all component subsets of the welding assembly before reordering each component subset according to the type and number of each component subset.
[0123] In the embodiment of the present application, the type of the component subset includes at least one of a component, a welding point, and a standard part.
[0124] In the embodiment of the present application, the device 10 for generating the three-dimensional graphic structure tree in the embodiment of the present application further includes: an optimization module.
[0125] Among them, the optimization module is used to set the three-dimensional target reference of the parts before generating the parts spatial distribution sorting results according to the parts spatial distribution and the standard parts of each part; simplify each part into a regular three-dimensional object; and optimize the parts spatial distribution according to the distance between the regular three-dimensional object and the three-dimensional target reference.
[0126] In an embodiment of the present application, the optimization module is further used to determine whether there is an overlapping area between adjacent components based on the distance between the regular three-dimensional object and the three-dimensional target reference, and if there is an overlapping area, optimize the spatial distribution of the components.
[0127] It should be noted that the above explanation of the embodiment of the method for generating a three-dimensional graphic structure tree is also applicable to the device for generating a three-dimensional graphic structure tree of this embodiment, and will not be repeated here.
[0128] According to the device for generating the three-dimensional graphic structure tree proposed in the embodiment of the present application, it is possible to determine whether to sort the order of parts or the spatial distribution of parts based on the current process in the vehicle manufacturing process, to obtain the order sorting results of the parts of the welding assembly and the spatial distribution sorting results of the parts of the assembly, and to generate accurate three-dimensional graphic structure tree of the welding assembly and three-dimensional graphic structure tree of the assembly based on the order sorting results and the spatial distribution sorting results, respectively, so that subsequent operators can manage the parts based on the three-dimensional graphic structure tree, thereby improving subsequent work efficiency.
[0129] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0130] A memory 1201 , a processor 1202 , and a computer program stored in the memory 1201 and executable on the processor 1202 .
[0131] When the processor 1202 executes the program, the method for generating the three-dimensional graphic structure tree provided in the above embodiment is implemented.
[0132] Furthermore, the electronic device further comprises:
[0133] The communication interface 1203 is used for communication between the memory 1201 and the processor 1202 .
[0134] The memory 1201 is used to store computer programs that can be executed on the processor 1202 .
[0135] The memory 1201 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.
[0136] If the memory 1201, the processor 1202 and the communication interface 1203 are implemented independently, the communication interface 1203, the memory 1201 and the processor 1202 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.12 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0137] Optionally, in a specific implementation, if the memory 1201, the processor 1202 and the communication interface 1203 are integrated on a chip, the memory 1201, the processor 1202 and the communication interface 1203 can communicate with each other through an internal interface.
[0138] The processor 1202 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0139] The embodiment of the present application also provides a computer-readable storage medium on which a computer program or instruction is stored. When the computer program or instruction is executed by a processor, the method for generating a three-dimensional graphic structure tree as described above is implemented.
[0140] The embodiment of the present application also provides a computer program product, including a computer program or instructions, which, when executed, implements the above method for generating a three-dimensional graphic structure tree.
[0141] The embodiment of the present application further provides a vehicle, comprising: parts assembled using the three-dimensional graphic structure tree of the three-dimensional graphic structure tree generation method described above.
[0142] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0143] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0144] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0145] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.
[0146] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0147] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for generating a three-dimensional graphic structure tree, characterized in that: The following steps are involved: identifying a current process of a vehicle manufacturing process, wherein the current process includes welding assemblies and assembly of assemblies; If the current process is the welding assembly, the result of the order sorting of the components of the welding assembly is obtained, and a three-dimensional graphic structure tree of the welding assembly is generated according to the result of the order sorting of the components; the obtaining of the result of the order sorting of the components of the welding assembly includes: obtaining the type and number of each component subset of the welding assembly; re-ordering each component subset according to the type and number of each component subset to obtain the result of the order sorting of the components of the welding assembly; If the current process is the assembly, then the spatial distribution sorting results of the parts of the assembly are obtained, and a three-dimensional graphic structure tree of the assembly is generated according to the spatial distribution sorting results of the parts; the obtaining of the spatial distribution sorting results of the parts of the assembly includes: determining the spatial distribution of the parts of the assembly; generating the spatial distribution sorting results of the parts according to the spatial distribution of the parts and the standard parts of each part; before generating the spatial distribution sorting results of the parts according to the spatial distribution of the parts and the standard parts of each part, it also includes: setting a three-dimensional target reference of the parts; simplifying each part into a regular three-dimensional object; optimizing the spatial distribution of the parts according to the distance between the regular three-dimensional object and the three-dimensional target reference.
2. The method for generating a three-dimensional graphic structure tree according to claim 1, characterized in that: The reordering of each component subset according to the type and number of each component subset comprises: sorting each of the component subsets in order according to the type of each of the component subsets; For each component subset of the same type, the components are sorted in order according to the length of the serial number of each component subset.
3. The method for generating a three-dimensional graphic structure tree according to claim 1, characterized in that: Before reordering each of the component subsets according to the type and number of each of the component subsets, the method further comprises: Delete all component subsets of the weld assembly in question.
4. The method for generating a three-dimensional graphic structure tree according to any one of claims 1 to 3, characterized in that: The type of the component subset includes at least one of a component, a welding point and a standard part.
5. The method for generating a three-dimensional graphic structure tree according to claim 1, characterized in that: The step of optimizing the spatial distribution of components according to the distance between the regular three-dimensional object and the three-dimensional target reference comprises: Determine whether there is an overlapping area between adjacent components based on the distance between the regular three-dimensional object and the three-dimensional target reference, and if there is an overlapping area, optimize the spatial distribution of the components.
6. A device for generating a three-dimensional graphic structure tree, characterized in that: include: An identification module (100) is used to identify a current process of a vehicle manufacturing process, wherein the current process includes welding an assembly and assembling an assembly; A first generating module (200) is used for obtaining a result of the order of parts of the welding assembly if the current process is the welding assembly, and generating a three-dimensional graphical structure tree of the welding assembly according to the result of the order of parts; obtaining the result of the order of parts of the welding assembly comprises: obtaining a type and a number of each subset of parts of the welding assembly; re-ordering each subset of parts according to the type and number of each subset of parts, and obtaining a result of the order of parts of the welding assembly; The second generation module (300) is used to obtain the spatial distribution sorting result of the parts of the assembly if the current process is the assembly, and generate a three-dimensional graphic structure tree of the assembly according to the spatial distribution sorting result of the parts; the obtaining of the spatial distribution sorting result of the parts of the assembly includes: determining the spatial distribution of the parts of the assembly; generating the spatial distribution sorting result of the parts according to the spatial distribution of the parts and the standard parts of each part; before generating the spatial distribution sorting result of the parts according to the spatial distribution of the parts and the standard parts of each part, it also includes: setting a three-dimensional target reference of the parts; simplifying each part into a regular three-dimensional object; optimizing the spatial distribution of the parts according to the distance between the regular three-dimensional object and the three-dimensional target reference.
7. An electronic device, characterized in that: include: A memory (1201), a processor (1202), and a computer program stored in the memory (1201) and executable on the processor, wherein the processor (1202) executes the program to implement the method for generating a three-dimensional graphic structure tree according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: The computer program or instruction is executed by a processor to implement the method for generating a three-dimensional graphic structure tree as described in any one of claims 1 to 5.
9. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed, the method for generating a three-dimensional graphic structure tree according to any one of claims 1 to 5 is implemented.
10. A vehicle, characterized in that: include: Parts assembled using the three-dimensional graphic structure tree generated by the method for generating the three-dimensional graphic structure tree described in any one of claims 1-5.
Citation Information
Patent Citations
A construction method of assembly process structure tree
CN105243237B
Assembly technology structure tree and building method thereof
CN105243237A
Method for building modifiable three-dimensional process model
CN108763787A