Bill of material generation method and device, equipment and medium
By automatically obtaining and inserting images of body white parts, the problems of low efficiency and errors in the prior art are solved, and more efficient and accurate BOM generation is achieved.
Patent Information
- Application Number
- CN202410890115.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-11-12
AI Technical Summary
In the prior art, the storage efficiency of pictures of car body white parts in the BOM table is low, resulting in low BOM table generation efficiency and prone to manual errors.
By determining the traversal order of assembly and parts based on the assembly structure tree of the target simulation model of the body white body, automatically obtain and insert the assembly and part images into the prefabricated bill of materials, avoiding manual screenshot import.
It improves the efficiency of storing pictures of body parts into BOM tables, enhances the accuracy and efficiency of BOM table generation, and reduces manual errors.
Smart Images

Figure CN118941218A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile research and development, and in particular to a method, device, equipment and medium for generating a bill of materials. Background Art
[0002] BOM (Bill of Materials) is a file that describes the product structure in a data format and is a product structure data file that can be recognized by a computer. In the design of the automobile body in white, it is also necessary to configure the BOM table, and the pictures of the corresponding parts need to be reflected in the BOM table.
[0003] In the related art, each part is manually screenshoted and saved and then imported into the BOM table, which is inefficient. Therefore, how to improve the efficiency of storing the pictures of the body-in-white parts into the BOM table is an urgent problem to be solved. Summary of the invention
[0004] The embodiments of the present application provide a method, device, equipment and medium for generating a bill of materials, thereby solving the technical problem that the prior art mainly relies on manually taking screenshots of each part and saving them before importing them into the BOM table, and this method has the problem of low BOM table generation efficiency. The embodiments of the present application achieve the technical effect of improving the efficiency of storing images of body-in-white parts into the BOM table, thereby improving the efficiency of BOM table generation efficiency.
[0005] In a first aspect, the present application provides a method for generating a bill of materials, the method comprising:
[0006] According to the assembly structure tree corresponding to the target simulation model of the body-in-white, determine the assembly traversal order between the various assembly simulation models contained in the target simulation model, and determine the part traversal order between the various part simulation models corresponding to each assembly simulation model;
[0007] According to the assembly traversal order and the parts traversal order, the assembly images corresponding to the respective assembly simulation models are obtained, and the parts images of the respective parts simulation models corresponding to the respective assembly simulation models are obtained;
[0008] Insert each assembly image and each part image into the corresponding position in the prefabricated material list to obtain the target material list of the body in white.
[0009] Furthermore, after obtaining the assembly images corresponding to the respective assembly simulation models, and obtaining the part images of the respective part simulation models corresponding to the respective assembly simulation models, the method further includes:
[0010] Create a specified folder for storing images corresponding to the target simulation model;
[0011] Create assembly folders in the specified folder for storing the corresponding assembly simulation models;
[0012] The assembly images corresponding to the respective assembly simulation models are saved in the assembly folders corresponding to the respective assembly simulation models, and the name identification of the assembly folder is the same as the name identification of the corresponding assembly simulation part model;
[0013] In an assembly folder corresponding to each assembly simulation model, a part folder is created for storing part images of each part simulation model corresponding to the assembly simulation model;
[0014] The part images of each part simulation model corresponding to each assembly simulation model are respectively saved in the part folders corresponding to each part simulation model, and the name identifier of the part folder is the same as the name identifier of the corresponding part simulation part model.
[0015] Furthermore, according to the assembly traversal order and the parts traversal order, assembly images corresponding to each assembly simulation model are obtained, including:
[0016] According to the assembly traversal order, each assembly simulation model of the target simulation model is sequentially determined as the target assembly simulation model;
[0017] Calling each component simulation model corresponding to the target assembly simulation model for assembly, and outputting the initial assembly image corresponding to the target assembly simulation model in the display interface;
[0018] Control the initial assembly image to be centered in the display interface and adjusted to an axonometric view;
[0019] The screenshot command is called to take a screenshot of the initial assembly image that is centered and is an axonometric view, and an assembly image corresponding to the target assembly simulation model is obtained.
[0020] Further, obtaining the part images of each part simulation model corresponding to each assembly simulation model includes:
[0021] According to the parts traversal order, each part simulation model corresponding to the target assembly simulation model is sequentially determined as the target part simulation model;
[0022] Controlling the initial assembly image to hide other part simulation models except the target part simulation model in the display interface, and outputting the initial part image of the target part simulation model in the display interface;
[0023] Control the initial part image to be centered in the display interface and adjusted to an axonometric view;
[0024] Call the screenshot command to take a screenshot of the initial part image that is centered and is an isometric view, and obtain the part image corresponding to the simulation model of the target part.
[0025] Furthermore, according to the assembly structure tree corresponding to the target simulation model of the body-in-white, the assembly traversal order between the assembly simulation models included in the target simulation model is determined, including:
[0026] According to the top-to-bottom or left-to-right order of each assembly simulation model in the assembly structure tree in the display interface, the assembly traversal order of each assembly simulation model is determined.
[0027] Further, determining the parts traversal order between the various parts simulation models corresponding to each assembly simulation model includes:
[0028] According to the assembly traversal order of each assembly simulation model, each assembly simulation model is sequentially determined as an assembly simulation model to be processed;
[0029] According to the order of each part simulation model of the assembly simulation model to be processed in the assembly structure tree from left to right in the display interface, the corresponding part simulation model on each tree branch is traversed in turn to determine the part traversal order of each part simulation model of the assembly simulation model to be processed.
[0030] Furthermore, each assembly image and each part image is inserted into the corresponding position in the prefabrication bill of materials to obtain the target bill of materials of the body in white, including:
[0031] According to the assembly name identifiers corresponding to the assembly images, the assembly illustration positions corresponding to the assembly name identifiers are searched in the prefabrication material list, and the assembly images are respectively inserted into the assembly illustration positions corresponding to the assembly image in the prefabrication material list;
[0032] According to the part name identification corresponding to each part image, the part illustration position corresponding to each part name identification is searched in the prefabricated material list, and each part image is inserted into the corresponding part illustration position in the prefabricated material list.
[0033] In a second aspect, the present application provides a bill of materials generation device, the device comprising:
[0034] A sequence determination module is used to determine the assembly traversal sequence between the various assembly simulation models included in the target simulation model, and to determine the part traversal sequence between the various part simulation models corresponding to each assembly simulation model, according to the assembly structure tree corresponding to the target simulation model of the body-in-white;
[0035] An image acquisition module, used to acquire assembly images corresponding to each assembly simulation model and to acquire part images of each part simulation model corresponding to each assembly simulation model according to the assembly traversal order and the part traversal order;
[0036] The image insertion module is used to insert each assembly image and each part image into the corresponding position in the prefabricated material list to obtain the target material list of the white body.
[0037] Furthermore, the device also includes an image saving module, which is used to:
[0038] After obtaining the assembly images corresponding to the respective assembly simulation models, and obtaining the part images of the respective part simulation models corresponding to the respective assembly simulation models, creating a designated folder for storing the images corresponding to the target simulation model;
[0039] Create assembly folders in the specified folder for storing the corresponding assembly simulation models;
[0040] The assembly images corresponding to the respective assembly simulation models are saved in the assembly folders corresponding to the respective assembly simulation models, and the name identification of the assembly folder is the same as the name identification of the corresponding assembly simulation part model;
[0041] In an assembly folder corresponding to each assembly simulation model, a part folder is created for storing part images of each part simulation model corresponding to the assembly simulation model;
[0042] The part images of each part simulation model corresponding to each assembly simulation model are respectively saved in the part folders corresponding to each part simulation model, and the name identifier of the part folder is the same as the name identifier of the corresponding part simulation part model.
[0043] Furthermore, the image acquisition module is used to:
[0044] According to the assembly traversal order, each assembly simulation model of the target simulation model is sequentially determined as the target assembly simulation model;
[0045] Calling each component simulation model corresponding to the target assembly simulation model for assembly, and outputting the initial assembly image corresponding to the target assembly simulation model in the display interface;
[0046] Control the initial assembly image to be centered in the display interface and adjusted to an axonometric view;
[0047] The screenshot command is called to take a screenshot of the initial assembly image that is centered and is an axonometric view, and an assembly image corresponding to the target assembly simulation model is obtained.
[0048] Furthermore, the image acquisition module is used to:
[0049] According to the parts traversal order, each part simulation model corresponding to the target assembly simulation model is sequentially determined as the target part simulation model;
[0050] Controlling the initial assembly image to hide other part simulation models except the target part simulation model in the display interface, and outputting the initial part image of the target part simulation model in the display interface;
[0051] Control the initial part image to be centered in the display interface and adjusted to an axonometric view;
[0052] Call the screenshot command to take a screenshot of the initial part image that is centered and is an isometric view, and obtain the part image corresponding to the simulation model of the target part.
[0053] Furthermore, the sequence determination module is used to:
[0054] According to the top-to-bottom or left-to-right order of each assembly simulation model in the assembly structure tree in the display interface, the assembly traversal order of each assembly simulation model is determined.
[0055] Furthermore, the sequence determination module is used to:
[0056] According to the assembly traversal order of each assembly simulation model, each assembly simulation model is sequentially determined as an assembly simulation model to be processed;
[0057] According to the order of each part simulation model of the assembly simulation model to be processed in the assembly structure tree from left to right in the display interface, the corresponding part simulation model on each tree branch is traversed in turn to determine the part traversal order of each part simulation model of the assembly simulation model to be processed.
[0058] Furthermore, the image insertion module is used to:
[0059] According to the assembly name identifiers corresponding to the assembly images, the assembly illustration positions corresponding to the assembly name identifiers are searched in the prefabrication material list, and the assembly images are respectively inserted into the assembly illustration positions corresponding to the assembly image in the prefabrication material list;
[0060] According to the part name identification corresponding to each part image, the part illustration position corresponding to each part name identification is searched in the prefabricated material list, and each part image is inserted into the corresponding part illustration position in the prefabricated material list.
[0061] In a third aspect, the present application provides an electronic device, including:
[0062] processor;
[0063] a memory for storing processor-executable instructions;
[0064] The processor is configured to execute to implement a method for generating a bill of materials as provided in the first aspect.
[0065] In a fourth aspect, the present application provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to implement a method for generating a bill of materials as provided in the first aspect.
[0066] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0067] According to the assembly structure tree corresponding to the target simulation model of the body-in-white, this embodiment determines the assembly traversal order between each assembly simulation model contained in the target simulation model, and determines the part traversal order between each part simulation model corresponding to each assembly simulation model; then, according to the assembly traversal order and the part traversal order, obtains the assembly images corresponding to each assembly simulation model, and obtains the part images of each part simulation model corresponding to each assembly simulation model; finally, each assembly image and each part image are respectively inserted into the corresponding position in the prefabricated material list to obtain the target material list of the body-in-white. It can be seen that this embodiment avoids the method of manually taking screenshots of each part and then importing it into the BOM table in the related art, and automatically captures the images of each assembly simulation model and each part simulation model, and then automatically inserts them into the prefabricated material list, thereby improving the efficiency of storing the images of the body-in-white parts into the BOM table, and also improving the efficiency of generating the BOM table. In addition, this embodiment also avoids the occurrence of errors in manually taking screenshots and importing them into the BOM table, and improves the accuracy of the image data in the BOM table. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0069] Figure 1 A schematic diagram of a process flow of a method for generating a bill of materials provided in this embodiment;
[0070] Figure 2 A schematic diagram of an assembly structure tree provided in this embodiment;
[0071] Figure 3 A schematic diagram of the structure of a bill of materials generating device provided in this embodiment;
[0072] Figure 4 A schematic diagram of the structure of an electronic device provided in this embodiment. DETAILED DESCRIPTION
[0073] The embodiment of the present application provides a method for generating a bill of materials, which solves the technical problem that the prior art mainly relies on manually taking screenshots of each part and saving them before importing them into the BOM table, and this method has low efficiency in generating the BOM table.
[0074] The technical solution of the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:
[0075] According to the assembly structure tree corresponding to the target simulation model of the body-in-white, this embodiment determines the assembly traversal order between each assembly simulation model contained in the target simulation model, and determines the part traversal order between each part simulation model corresponding to each assembly simulation model; then, according to the assembly traversal order and the part traversal order, obtains the assembly images corresponding to each assembly simulation model, and obtains the part images of each part simulation model corresponding to each assembly simulation model; finally, each assembly image and each part image are respectively inserted into the corresponding position in the prefabricated material list to obtain the target material list of the body-in-white. It can be seen that this embodiment avoids the method of manually taking screenshots of each part and then importing it into the BOM table in the related art, and automatically captures the images of each assembly simulation model and each part simulation model, and then automatically inserts them into the prefabricated material list, thereby improving the efficiency of storing the images of the body-in-white parts into the BOM table, and also improving the efficiency of generating the BOM table. In addition, this embodiment also avoids the occurrence of errors in manually taking screenshots and importing them into the BOM table, and improves the accuracy of the image data in the BOM table.
[0076] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0077] First of all, the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0078] This embodiment provides Figure 1 A method for generating a bill of materials is shown, and the method includes steps S11 to S13.
[0079] Step S11, determining an assembly traversal order between various assembly simulation models included in the target simulation model, and determining a part traversal order between various part simulation models corresponding to each assembly simulation model, according to the assembly structure tree corresponding to the target simulation model of the body-in-white;
[0080] Step S12, acquiring assembly images corresponding to each assembly simulation model and acquiring part images of each part simulation model corresponding to each assembly simulation model according to the assembly traversal order and the part traversal order;
[0081] Step S13, inserting each assembly image and each part image into the corresponding position in the prefabrication material list, to obtain the target material list of the body in white.
[0082] The bill of materials generation method provided in this embodiment can be executed by a terminal for making a target simulation model of a body-in-white, or can be executed by other devices connected to the terminal for making the target simulation model, and this embodiment does not limit this.
[0083] Regarding step S11, according to the assembly structure tree corresponding to the target simulation model of the body-in-white, the assembly traversal order between the various assembly simulation models contained in the target simulation model is determined, and the part traversal order between the various part simulation models corresponding to each assembly simulation model is determined.
[0084] Body in White refers to the body of a vehicle that has been welded but not yet painted. In the process of developing the body in white, it is necessary to first make a virtual simulation model of the body in white, that is, to make a 3D virtual simulation model of the body in white through 3D software, and then you can get the target simulation model of the body in white.
[0085] The target body-in-white is composed of multiple different assemblies, which may include body-in-white welding assembly, engine hood, front and rear doors, trunk lid, back door, fender, etc., wherein the body-in-white welding assembly may include front cabin assembly, floor assembly, side assembly, top cover assembly, rear assembly, etc. Each different assembly includes multiple different parts. The target simulation model consists of the simulation models corresponding to the aforementioned assemblies (referred to as assembly simulation models) and the simulation models corresponding to each part of each assembly (referred to as part simulation models).
[0086] The assembly structure tree corresponding to the target simulation model is a tree data diagram obtained by connecting each assembly simulation model and each part simulation model according to the connection relationship of the assembly structure, such as Figure 2 shown.
[0087] Generally speaking, each assembly simulation model belongs to a brother node in the assembly structure tree, so each assembly simulation model is usually relatively independent. Therefore, the assembly traversal order of each assembly simulation model can be determined according to the order of each assembly simulation model from top to bottom or from left to right in the display interface in the assembly structure tree. For example, when Figure 2When A is the root node of the target body-in-white, and B and C are assembly simulation models, the order between B and C can be determined from left to right, that is, B is in front and C is in the back. It should be noted that the assembly traversal order can also be determined in other ways, such as from the front to the rear of each assembly simulation model on the body-in-white, or from the top to the bottom of each assembly simulation model on the body-in-white. The specific determination method can be selected according to the actual situation.
[0088] After the assembly traversal order of each assembly simulation model is determined, the part traversal order between each part simulation model corresponding to each assembly simulation model may be further determined, including step S1111 to step S1112.
[0089] Step S1111, according to the assembly traversal order of each assembly simulation model, each assembly simulation model is sequentially determined as an assembly simulation model to be processed;
[0090] Step S1112, traverse the corresponding part simulation models on each tree branch in sequence from left to right in the display interface according to the various part simulation models of the assembly simulation model to be processed in the assembly structure tree, and determine the part traversal order of the various part simulation models of the assembly simulation model to be processed.
[0091] First, the assembly traversal order of each assembly simulation model is determined, and then each assembly simulation model is used as the assembly simulation model to be processed in turn to execute step S1112, and then the part traversal order of each part simulation model corresponding to each assembly simulation model to be processed is determined.
[0092] For example, Figure 2 Among them, B and C are assembly simulation models. First, take B as the assembly simulation model to be processed. B includes three part simulation models of D, G, and H, including two tree branches, namely DG and DH. D and G are traversed first, and then D and H are traversed. Then D, G, and H are determined as the part traversal order.
[0093] Then take C as the assembly simulation model to be processed. C includes three part simulation models of E, F, and I, including two tree branches, namely EI and F. E and I are traversed first, and then F is traversed. Then E, I, and F are determined as the part traversal order.
[0094] Regarding step S12, according to the assembly traversal order and the part traversal order, the assembly images corresponding to each assembly simulation model are obtained, and the part images of each part simulation model corresponding to each assembly simulation model are obtained.
[0095] The assembly images of each assembly simulation model and the part images of each part simulation model are obtained in sequence according to the assembly traversal order and the part traversal order.
[0096] Specifically, according to the assembly traversal order and the parts traversal order, assembly images corresponding to each assembly simulation model are obtained, including steps S1211 to S1214.
[0097] Step S1211, according to the assembly traversal order, each assembly simulation model of the target simulation model is sequentially determined as the target assembly simulation model;
[0098] Step S1212, calling each component simulation model corresponding to the target assembly simulation model for assembly, and outputting an initial assembly image corresponding to the target assembly simulation model in a display interface;
[0099] Step S1213, controlling the initial assembly image to be centered in the display interface and adjusting it to an axonometric view;
[0100] Step S1214, calling a screenshot instruction, taking a screenshot of the initial assembly image that is centered and is an isometric view, and obtaining an assembly image corresponding to the target assembly simulation model.
[0101] According to the assembly traversal order, each assembly simulation model is determined as the target assembly simulation model in turn.
[0102] Steps S1212 to S1214 are executed for each target assembly simulation model. The simulation models of each part corresponding to the target assembly simulation model are called, and these part simulation models are used for assembly to obtain a schematic diagram of the target assembly simulation model, and the corresponding initial assembly image is output in the display interface of the 3D software. Then the centering command and axonometric command of the 3D software are called to control the initial assembly image to be centered in the display interface and adjusted to an axonometric view. Finally, the screenshot command of the 3D software is called to take a screenshot of the initial assembly image that is centered and in an axonometric view to obtain an assembly image corresponding to the target assembly simulation model.
[0103] After obtaining the assembly image of the current target assembly simulation model, before assembling the next target assembly simulation model, continue to determine the part images of each part simulation model of the current target assembly simulation model, that is, execute steps S1221 to S1224.
[0104] Step S1221, according to the parts traversal order, each part simulation model corresponding to the target assembly simulation model is sequentially determined as the target part simulation model;
[0105] Step S1222, controlling the initial assembly image to hide other part simulation models except the target part simulation model in the display interface, and outputting the initial part image of the target part simulation model in the display interface;
[0106] Step S1223, controlling the initial part image to be centered in the display interface and adjusting it to an axonometric view;
[0107] Step S1224, calling a screenshot instruction, taking a screenshot of the centered initial part image in an isometric view, and obtaining a part image corresponding to the target part simulation model.
[0108] According to the part traversal order of each part simulation model corresponding to the target assembly simulation model, each part simulation model is sequentially determined as the target part simulation model.
[0109] Steps S1222 to S1224 are performed for each target part simulation model. After the initial assembly image is captured, the other part simulation models except the target part simulation model in the initial assembly image are hidden, and only the target part simulation model is left on the display interface to obtain the corresponding initial part image.
[0110] Then, the centering command and isometric command of the 3D software are called to control the initial part image to be centered in the display interface and adjusted to an isometric view. Finally, the screenshot command of the 3D software is called to take a screenshot of the initial part image that is centered and is an isometric view, and obtain the part image corresponding to the simulation model of the target part.
[0111] After obtaining the part images corresponding to all part simulation models corresponding to the current target part simulation model, then execute steps S1212-S1214 for the next target part simulation model, and then continue to execute steps S1221-S1224, and repeat this cycle until images of all assembly simulation models and all part simulation models are obtained.
[0112] like Figure 2 As shown, B and C are respectively used as target assembly simulation models. When B is used as the target assembly simulation model first, steps S1212-S1214, and steps S1221-S1224 are sequentially executed to obtain the assembly image of B and the corresponding part images of each part simulation model. Then, when C is used as the target assembly simulation model, steps S1212-S1214, and steps S1221-S1224 are sequentially executed to obtain the assembly image of C and the corresponding part images of each part simulation model.
[0113] Regarding step S13, each assembly image and each part image are respectively inserted into the corresponding position in the prefabrication material list to obtain the target material list of the body in white.
[0114] The prefabricated material list refers to a BOM table that contains assembly categories of different assembly categories, parts of each part simulation model corresponding to each assembly category, and attribute parameters of each part simulation model, but does not contain part images or assembly images. Attribute parameters can include material thickness parameters, weight parameters, standard parts parameters, spot welding quantity, second welding length, target rubber strip length and other information.
[0115] In the process of executing step S12, step S13 is executed once after each assembly image or part image is obtained, so that the prefabricated material list can be updated in real time while screenshots are taken and illustrations are added. In addition, after all assembly images and all part images are obtained, each image can be inserted into the prefabricated material list, that is, after all assembly images and all part images are obtained, step S13 is executed again. In addition, after each image of an assembly simulation model and all its corresponding part simulation models are obtained, the images of the assembly simulation model and all its corresponding part simulation models are inserted into the prefabricated material list and step S13 is executed once. In actual operation, it can be selected according to actual needs.
[0116] Inserting each assembly image and each part image into corresponding positions in the prefabrication material list respectively to obtain a target material list of the body in white includes steps S1311 and S1312.
[0117] Step S1311, according to the assembly name identifiers corresponding to the assembly images, respectively, query the assembly illustration positions corresponding to the assembly name identifiers in the prefabrication material list, and insert the assembly images into the assembly illustration positions corresponding to the assembly image in the prefabrication material list;
[0118] Step S1312, according to the part name identifiers corresponding to the part images, the part illustration positions corresponding to the part name identifiers are searched in the prefabricated material list, and the part images are inserted into the corresponding part illustration positions in the prefabricated material list.
[0119] The same assembly name identifier is set for each assembly simulation model and its corresponding assembly image, and the assembly name identifier is the same as the corresponding assembly name identifier in the prefabricated material list. Therefore, the corresponding assembly illustration position in the prefabricated material list can be queried according to the assembly name identifier corresponding to each assembly image, and then the assembly image can be inserted into the corresponding assembly illustration position in the prefabricated material list.
[0120] Similarly, each part simulation model and its corresponding part image are set with the same part name identification, which is the same as the corresponding part name identification in the prefabricated material list. Therefore, the corresponding part illustration position in the prefabricated material list can be queried according to the part name identification corresponding to each part image, and then the part image can be inserted into the corresponding part illustration position in the prefabricated material list.
[0121] In summary, this embodiment determines the assembly traversal order between each assembly simulation model contained in the target simulation model, and determines the part traversal order between each part simulation model corresponding to each assembly simulation model according to the assembly structure tree corresponding to the target simulation model of the body-in-white; then, according to the assembly traversal order and the part traversal order, obtains the assembly images corresponding to each assembly simulation model, and obtains the part images of each part simulation model corresponding to each assembly simulation model; finally, each assembly image and each part image are respectively inserted into the corresponding position in the prefabricated material list to obtain the target material list of the body-in-white. It can be seen that this embodiment avoids the method of manually taking screenshots of each part and then importing it into the BOM table in the related art, and automatically captures the images of each assembly simulation model and each part simulation model, and then automatically inserts them into the prefabricated material list, thereby improving the efficiency of storing the images of the body-in-white parts into the BOM table, and also improving the efficiency of generating the BOM table. In addition, this embodiment also avoids the occurrence of errors in manually taking screenshots and importing them into the BOM table, and improves the accuracy of the image data in the BOM table.
[0122] Furthermore, after obtaining the assembly images corresponding to the respective assembly simulation models, and obtaining the part images of the respective part simulation models corresponding to the respective assembly simulation models, the method further includes steps S21 to S25.
[0123] Step S21, creating a designated folder for storing images corresponding to the target simulation model;
[0124] Step S22, creating assembly folders in the designated folder for storing the assembly simulation models respectively;
[0125] Step S23, respectively saving the assembly images corresponding to the respective assembly simulation models into the assembly folders corresponding to the respective assembly simulation models, wherein the name identification of the assembly folder is the same as the name identification of the corresponding assembly simulation part model;
[0126] Step S24, creating a part folder for storing part images of each part simulation model corresponding to the assembly simulation model in the assembly folder corresponding to each assembly simulation model;
[0127] Step S25, saving the part images of each part simulation model corresponding to each assembly simulation model into the part folders corresponding to each part simulation model, respectively, the name identifier of the part folder is the same as the name identifier of the corresponding part simulation part model.
[0128] The method of creating a folder can refer to the relevant technology, which is not described in detail in this embodiment.
[0129] Different designated folders store images corresponding to different target simulation models, and the designated folders can be named with model names of the corresponding target simulation models.
[0130] The assembly images belonging to the same target simulation model are stored in the corresponding assembly folder in the specified folder. Different assembly simulation models correspond to different assembly folders. The assembly folder can be named with the assembly name of the corresponding assembly simulation model.
[0131] The images of each part belonging to the same assembly simulation model are stored in a part folder in the assembly folder of the assembly simulation model. Different part simulation models correspond to different part folders. The part folder can be named with the part name of the corresponding part simulation model.
[0132] The assembly images and part images stored in various folders can further improve the information data in the target bill of materials. The assembly images in the target bill of materials can be associated with the corresponding assembly folders so that when browsing in the target bill of materials, you can quickly enter the assembly folder to view the assembly images. Similarly, the part images in the target bill of materials can be associated with the corresponding part folders so that when browsing in the target bill of materials, you can quickly enter the part folder to view the part images.
[0133] Based on the same inventive concept, this embodiment provides Figure 3 A bill of materials generating device is shown, the device comprising:
[0134] The sequence determination module 31 is used to determine the assembly traversal sequence between the assembly simulation models included in the target simulation model and the part traversal sequence between the part simulation models corresponding to each assembly simulation model according to the assembly structure tree corresponding to the target simulation model of the body-in-white;
[0135] An image acquisition module 32, used to acquire assembly images corresponding to each assembly simulation model and to acquire part images of each part simulation model corresponding to each assembly simulation model according to the assembly traversal order and the part traversal order;
[0136] The image insertion module 33 is used to insert each assembly image and each part image into the corresponding position in the prefabrication material list to obtain the target material list of the body in white.
[0137] Furthermore, the device also includes an image saving module, which is used to:
[0138] After obtaining the assembly images corresponding to the respective assembly simulation models, and obtaining the part images of the respective part simulation models corresponding to the respective assembly simulation models, creating a designated folder for storing the images corresponding to the target simulation model;
[0139] Create assembly folders in the specified folder for storing the corresponding assembly simulation models;
[0140] The assembly images corresponding to the respective assembly simulation models are saved in the assembly folders corresponding to the respective assembly simulation models, and the name identification of the assembly folder is the same as the name identification of the corresponding assembly simulation part model;
[0141] In an assembly folder corresponding to each assembly simulation model, a part folder is created for storing part images of each part simulation model corresponding to the assembly simulation model;
[0142] The part images of each part simulation model corresponding to each assembly simulation model are respectively saved in the part folders corresponding to each part simulation model, and the name identifier of the part folder is the same as the name identifier of the corresponding part simulation part model.
[0143] Furthermore, the image acquisition module 32 is used to:
[0144] According to the assembly traversal order, each assembly simulation model of the target simulation model is sequentially determined as the target assembly simulation model;
[0145] Calling each component simulation model corresponding to the target assembly simulation model for assembly, and outputting the initial assembly image corresponding to the target assembly simulation model in the display interface;
[0146] Control the initial assembly image to be centered in the display interface and adjusted to an axonometric view;
[0147] The screenshot command is called to take a screenshot of the initial assembly image that is centered and is an axonometric view, and an assembly image corresponding to the target assembly simulation model is obtained.
[0148] Furthermore, the image acquisition module 32 is used to:
[0149] According to the parts traversal order, each part simulation model corresponding to the target assembly simulation model is sequentially determined as the target part simulation model;
[0150] Controlling the initial assembly image to hide other part simulation models except the target part simulation model in the display interface, and outputting the initial part image of the target part simulation model in the display interface;
[0151] Control the initial part image to be centered in the display interface and adjusted to an axonometric view;
[0152] Call the screenshot command to take a screenshot of the initial part image that is centered and is an isometric view, and obtain the part image corresponding to the simulation model of the target part.
[0153] Furthermore, the sequence determination module 31 is used to:
[0154] According to the top-to-bottom or left-to-right order of each assembly simulation model in the assembly structure tree in the display interface, the assembly traversal order of each assembly simulation model is determined.
[0155] Furthermore, the sequence determination module 31 is used to:
[0156] According to the assembly traversal order of each assembly simulation model, each assembly simulation model is sequentially determined as an assembly simulation model to be processed;
[0157] According to the order of each part simulation model of the assembly simulation model to be processed in the assembly structure tree from left to right in the display interface, the corresponding part simulation model on each tree branch is traversed in turn to determine the part traversal order of each part simulation model of the assembly simulation model to be processed.
[0158] Furthermore, the image insertion module 33 is used to:
[0159] According to the assembly name identifiers corresponding to the assembly images, the assembly illustration positions corresponding to the assembly name identifiers are searched in the prefabrication material list, and the assembly images are respectively inserted into the assembly illustration positions corresponding to the assembly image in the prefabrication material list;
[0160] According to the part name identification corresponding to each part image, the part illustration position corresponding to each part name identification is searched in the prefabricated material list, and each part image is inserted into the corresponding part illustration position in the prefabricated material list.
[0161] Based on the same inventive concept, this embodiment provides Figure 4 An electronic device as shown includes:
[0162] Processor 41;
[0163] A memory 42 for storing instructions executable by the processor 41;
[0164] The processor 41 is configured to execute to implement a method for generating a bill of materials as provided above.
[0165] Based on the same inventive concept, this embodiment provides a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor 41 of the electronic device, the electronic device can execute a method for generating a bill of materials as provided above.
[0166] Since the electronic device introduced in this embodiment is an electronic device used to implement the information processing method in the embodiment of the present application, based on the information processing method introduced in the embodiment of the present application, a person skilled in the art can understand the specific implementation of the electronic device of the present embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present application is not described in detail here. As long as a person skilled in the art implements the electronic device used by the information processing method in the embodiment of the present application, it belongs to the scope of protection of this application.
[0167] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0168] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0169] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0170] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0171] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0172] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for generating a bill of materials, It is characterized in that The method comprises: According to the assembly structure tree corresponding to the target simulation model of the body-in-white, determining the assembly traversal order between the assembly simulation models included in the target simulation model, and determining the part traversal order between the part simulation models respectively corresponding to each of the assembly simulation models; According to the assembly traversal order and the parts traversal order, the assembly images corresponding to the respective assembly simulation models are acquired, and the part images of the respective part simulation models corresponding to the respective assembly simulation models are acquired; Each of the assembly images and each of the parts images are respectively inserted into corresponding positions in the prefabrication material list to obtain the target material list of the body-in-white.
2. The method according to claim 1, It is characterized in that After obtaining the assembly images corresponding to the respective assembly simulation models, and obtaining the part images of the respective part simulation models corresponding to the respective assembly simulation models, the method further includes: Creating a designated folder for storing images corresponding to the target simulation model; Creating, in the designated folder, assembly folders for storing the assembly simulation models respectively corresponding to each other; The assembly images corresponding to the respective assembly simulation models are saved respectively in the assembly folders corresponding to the respective assembly simulation models, wherein the name identification of the assembly folder is the same as the name identification of the corresponding assembly simulation part model; In the assembly folder corresponding to each of the assembly simulation models, a parts folder is created for storing the parts images of each of the parts simulation models corresponding to the assembly simulation model; The part images of each of the part simulation models corresponding to each of the assembly simulation models are respectively saved in the part folders corresponding to each of the part simulation models, and the name identifier of the part folder is the same as the name identifier of the corresponding part simulation part model.
3. The method according to claim 1, It is characterized in that The obtaining, according to the assembly traversal order and the parts traversal order, assembly images corresponding to the respective assembly simulation models comprises: According to the assembly traversal order, each of the assembly simulation models of the target simulation model is sequentially determined as the target assembly simulation model; Calling each of the part simulation models corresponding to the target assembly simulation model for assembly, and outputting an initial assembly image corresponding to the target assembly simulation model in a display interface; Controlling the initial assembly image to be centered in the display interface and adjusted to an axonometric view; The screenshot command is called to take a screenshot of the initial assembly image which is centered and is an isometric view, so as to obtain the assembly image corresponding to the target assembly simulation model.
4. The method according to claim 3, It is characterized in that The step of acquiring the part images of the part simulation models respectively corresponding to the assembly simulation models comprises: According to the part traversal order, each of the part simulation models corresponding to the target assembly simulation model is sequentially determined as a target part simulation model; Controlling the initial assembly image to hide other part simulation models except the target part simulation model in the display interface, and outputting the initial part image of the target part simulation model in the display interface; Controlling the initial part image to be centered in the display interface and adjusted to an axonometric view; The screenshot command is called to take a screenshot of the initial part image which is centered and is an isometric view, so as to obtain the part image corresponding to the simulation model of the target part.
5. The method according to claim 1, It is characterized in that The step of determining the assembly traversal order between the assembly simulation models included in the target simulation model according to the assembly structure tree corresponding to the target simulation model of the body-in-white includes: The assembly traversal order of each assembly simulation model is determined according to the order from top to bottom or from left to right of each assembly simulation model in the assembly structure tree in the display interface.
6. The method according to claim 1, It is characterized in that The determining of the parts traversal order between the parts simulation models corresponding to each of the assembly simulation models comprises: According to the assembly traversal order of each assembly simulation model, each assembly simulation model is sequentially determined as an assembly simulation model to be processed; According to the order of each part simulation model of the assembly simulation model to be processed in the assembly structure tree, the corresponding part simulation model on each tree branch is traversed in sequence from left to right in the display interface to determine the part traversal order of each part simulation model of the assembly simulation model to be processed.
7. The method according to claim 1, It is characterized in that Inserting each of the assembly images and each of the parts images into corresponding positions in the prefabrication bill of materials to obtain the target bill of materials for the body-in-white includes: According to the assembly name identifiers respectively corresponding to the assembly images, the assembly illustration positions respectively corresponding to the assembly name identifiers are searched in the prefabricated material list, and the assembly images are respectively inserted into the assembly illustration positions respectively corresponding to the prefabricated material list; According to the part name identifiers corresponding to each of the part images, the part illustration positions corresponding to each of the part name identifiers are queried in the prefabricated material list, and each of the part images is inserted into the corresponding part illustration positions in the prefabricated material list.
8. A bill of materials generating device, It is characterized in that The device comprises: A sequence determination module is used to determine, according to the assembly structure tree corresponding to the target simulation model of the body-in-white, the assembly traversal sequence between the various assembly simulation models included in the target simulation model, and to determine the part traversal sequence between the various part simulation models corresponding to each of the assembly simulation models; An image acquisition module, used for acquiring assembly images corresponding to each of the assembly simulation models, and acquiring part images of each of the part simulation models corresponding to each of the assembly simulation models, according to the assembly traversal order and the part traversal order; The image insertion module is used to insert each of the assembly images and each of the parts images into corresponding positions in the prefabricated material list to obtain the target material list of the body in white.
9. An electronic device, It is characterized in that include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute to implement a method for generating a bill of materials as claimed in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to implement a method for generating a bill of materials as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Feature thumbnail processing system and method
CN112131669A
Vehicle part inspection method and device based on wind noise and computer equipment
CN116522502A
Bill of material exporting system and electronic equipment
CN118115088A
METHOD AND SYSTEM FOR AUTOMATICALLY CREATING AND ASSIGNING ASSEMBLY LABOR ACTIVITIES (ALAs) TO A BILL OF MATERIALS (BOM)
US20200134745A1
