A method, device, storage medium and terminal for automatically generating a BOM file of a steel structure
By utilizing IFC model files to automatically generate steel structure part attributes and processing parameters, the problem of low BOM file generation efficiency in existing technologies has been solved, realizing fully digital BOM file generation.
Patent Information
- Application Number
- CN202111482402.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-06
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2041-12-06
AI Technical Summary
In existing technologies, the generation of steel structure BOM files relies on manual identification and specific BIM software, resulting in low efficiency and difficulty in achieving full-process digitalization.
By using IFC model files to automatically generate a set of part attributes for steel structures, analyzing the geometry of the parts and generating processing parameters, a BOM file is finally constructed.
It enables efficient and automatic generation of steel structure BOM files, improving generation efficiency.
Smart Images

Figure CN114493394B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of steel structure technology, and in particular to a method, apparatus, storage medium, and terminal for automatically generating steel structure BOM files. Background Technology
[0002] The Bill of Material (BOM) document is a crucial document in steel structure manufacturing. Factories need to use the BOM for material procurement, production, and logistics. With the continuous development of intelligent automation, researchers increasingly desire to achieve the automatic generation of steel structure BOM documents.
[0003] In existing technical solutions, BOM (Bill of Materials) files are primarily created manually by extracting the parts list from drawings and then supplementing and refining it according to process rules. This method relies on manual identification and is inefficient. Meanwhile, with the application of BIM (Building Information Modeling) technology, some factories also use plugins to export BOMs from BIM software. This method depends on specific BIM software, has weak versatility, and struggles to achieve full-process digitization, thus reducing the efficiency of steel structure BOM file generation. Summary of the Invention
[0004] This application provides a method, apparatus, storage medium, and terminal for automatically generating steel structure BOM files. To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general description, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its sole purpose is to present some concepts in a simple form as a prelude to the detailed description that follows.
[0005] In a first aspect, embodiments of this application provide a method for automatically generating a steel structure BOM file, the method comprising:
[0006] Generate a set of part attributes for each component of the steel structure based on the IFC model file;
[0007] Analyze the part geometry in the part attribute set to generate part machining parameters;
[0008] The set of part attributes for each part and its corresponding part processing parameters are combined to generate the BOM data set for the steel structure.
[0009] Construct the BOM file for the steel structure based on the BOM data set.
[0010] Optionally, generate a set of part attributes for each component of the steel structure based on the IFC model file, including:
[0011] Read and open the IFC model file;
[0012] Obtain the set of steel structure components from the opened IFC model file;
[0013] Iterate through the component collection to obtain multiple parts for each component;
[0014] Extract the part attributes of each part from the multiple parts of each component, and generate a set of part attributes for each part.
[0015] Optionally, obtain the set of steel structure components from the opened IFC model file, including:
[0016] Read the data in the IFC model file line by line after opening it;
[0017] The read data is parsed to obtain the parsed data;
[0018] When the parsed data is of type IfcElementAssembly, obtain an object of type IfcElementAssembly.
[0019] Identify objects of type IfcElementAssembly as components of the steel structure;
[0020] Once the data in the IFC model file has been read, a set of steel structure components is generated.
[0021] Optionally, analyze the part geometry in the part attribute set to generate part machining parameters, including:
[0022] Obtain the pre-set processing model;
[0023] Input the part geometry from the part attribute set into the machining model, and output the part machining parameters corresponding to the part geometry.
[0024] Optionally, the processing model includes a data extraction layer, a data analysis layer, a rule mapping layer, and a processing parameter output layer;
[0025] Input the part geometry from the part attribute set into the machining model, and output the part machining parameters, including:
[0026] The data extraction layer obtains the shape parameters corresponding to the part geometry from the part attribute set;
[0027] The data analysis layer determines whether the shape parameters are within a pre-defined parameter range, generates a judgment result, and obtains the final shape parameters based on the judgment result;
[0028] The rule mapping layer obtains the parameter identifier corresponding to the final shape parameter, loads the processing rule function corresponding to the parameter identifier and associates it with the corresponding shape parameter, and generates the part processing parameters after executing the processing rule function of the associated parameter.
[0029] The machining parameter output layer outputs the machining parameters of the part.
[0030] Optionally, the final shape parameters are obtained based on the judgment result, including:
[0031] When the judgment result is the first identifier, the shape parameter is determined to be within the preset parameter range, and the shape parameter is determined as the final shape parameter;
[0032] or,
[0033] When the judgment result is the second identifier, it is determined that the shape parameter is not within the preset parameter range, and the shape parameter is adjusted. The adjusted shape parameter is then determined as the final shape parameter.
[0034] Optionally, construct the BOM file for the steel structure based on the BOM data set, including:
[0035] Initialize the pre-defined BOM template;
[0036] Identify the target part identifiers one by one from the initialized BOM template;
[0037] The BOM data set is mapped and filled with the target part identifiers one by one to generate the BOM file for the steel structure.
[0038] Secondly, embodiments of this application provide an apparatus for automatically generating steel structure BOM files, the apparatus comprising:
[0039] The part attribute set generation module is used to generate a set of part attributes for each part of the steel structure based on the IFC model file.
[0040] The part machining parameter generation module is used to analyze the part geometry in the part attribute set and generate part machining parameters;
[0041] The BOM data set generation module is used to combine the set of part attributes of each part with its corresponding part processing parameters to generate the BOM data set of the steel structure.
[0042] The BOM file generation module is used to construct the BOM file for steel structures based on the BOM data set.
[0043] Thirdly, embodiments of this application provide a computer storage medium storing multiple instructions adapted for loading and execution of the above-described method steps by a processor.
[0044] Fourthly, embodiments of this application provide a terminal that may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and executed by the above-described method steps.
[0045] The technical solutions provided in this application embodiment may include the following beneficial effects:
[0046] In this embodiment, the apparatus for automatically generating steel structure BOM files first generates a set of part attributes for each component of the steel structure based on the IFC model file. Then, it analyzes the geometry of the components in the attribute sets to generate machining parameters. Next, it combines the attribute set of each component with its corresponding machining parameters to generate a BOM data set for the steel structure. Finally, it constructs the BOM file for the steel structure based on the BOM data set. Because this application automatically generates the BOM using the IFC model file on the Web, it achieves efficient automatic BOM generation, thus improving the efficiency of steel structure BOM file generation.
[0047] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description
[0048] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0049] Figure 1 This is a flowchart illustrating a method for automatically generating a steel structure BOM file according to an embodiment of this application;
[0050] Figure 2 This is a schematic block diagram illustrating a process for automatically generating a steel structure BOM file, as provided in an embodiment of this application.
[0051] Figure 3 This is a system architecture diagram for automatically generating steel structure BOM files, provided in an embodiment of this application.
[0052] Figure 4 This is a schematic diagram of a device for automatically generating steel structure BOM files provided in an embodiment of this application;
[0053] Figure 5 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application. Detailed Implementation
[0054] The following description and accompanying drawings fully illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
[0055] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0056] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0057] In the description of this invention, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of these terms in this invention based on the specific circumstances. Furthermore, in the description of this invention, unless otherwise stated, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0058] This application provides a method, apparatus, storage medium, and terminal for automatically generating steel structure BOM files to solve the problems existing in the aforementioned related technologies. The technical solution provided in this application achieves efficient automatic BOM generation by automatically generating the BOM using IFC model files on the Web, thereby improving the generation efficiency of steel structure BOM files. The following detailed description uses exemplary embodiments.
[0059] The following will be combined with the appendix Figure 1 -Appendix Figure 2 This application provides a detailed description of the method for automatically generating steel structure BOM files according to embodiments. This method can be implemented using a computer program and can run on a device for automatically generating steel structure BOM files based on the von Neumann architecture. This computer program can be integrated into applications or run as a standalone utility application.
[0060] Please see Figure 1 This is a flowchart illustrating a method for automatically generating a steel structure BOM file, as provided in this application embodiment. Figure 1 As shown, the method in this application embodiment may include the following steps:
[0061] S101, Generate a set of part attributes for each component of the steel structure based on the IFC model file;
[0062] The IFC (Industry Foundation Classes, Data Exchange Standard) model files are stored on a file server.
[0063] In this embodiment of the application, when generating the set of part attributes of each part of the steel structure based on the IFC model file, a file download request is first sent to the file server. After receiving the IFC model file, the IFC model file is read and opened. Then, the set of steel structure components is obtained from the opened IFC model file. Next, multiple parts of each component in the set of components are obtained through traversal. Finally, the part attributes of each part in the multiple parts of each component are extracted to generate the set of part attributes of each part.
[0064] Specifically, this application requests the download of the project IFC model file from the file server and opens the downloaded IFC model file. This server uses the Hadoop Distributed File System, which improves the efficiency of model file download.
[0065] Furthermore, when obtaining the steel structure component set in the opened IFC model file, the data in the IFC model file is first read line by line, and then the read data is parsed to obtain the parsed data. Then, when the data type of the parsed data is IfcElementAssembly, an IfcElementAssembly object is obtained. Next, the IfcElementAssembly object is identified as a steel structure component. Finally, after the data in the IFC model file is read, the steel structure component set is generated.
[0066] In one possible implementation, the data in the opened IFC model file is read line by line. The read data is parsed and its type (IfcElementAssembly) is determined. If it is, the IsDefinedBy property of the IfcElementAssembly object is retrieved to obtain the collection of steel structure components, such as component code, component name, and component weight. The IsDecomposedBy property of the IfcElementAssembly object is then retrieved to obtain a collection of parts of type IfcRelAggregates. One or more parts can then be obtained from the RelatedObjects property of the IfcRelAggregates object. Each part is iterated through, and its attributes, such as component code, part code, part cross-section, part length, and part geometry, are extracted to generate a set of part attributes for each part.
[0067] S102, Analyze the part geometry in the part attribute set and generate part machining parameters;
[0068] Among these, processing parameters include drilling and chamfering. The part geometry is a specific part attribute within the part attribute set.
[0069] In this embodiment, a pre-set machining model is first obtained, then the part geometry in the part attribute set is input into the machining model, and the part machining parameters corresponding to the part geometry are output.
[0070] Specifically, the processing model includes a data extraction layer, a data analysis layer, a rule mapping layer, and a processing parameter output layer.
[0071] In one possible implementation, the data extraction layer obtains the shape parameters corresponding to the part geometry in the part attribute set; the data analysis layer determines whether the shape parameters are within a pre-defined parameter range, generates a judgment result, and obtains the final shape parameters based on the judgment result; the rule mapping layer obtains the parameter identifier corresponding to the final shape parameters, loads the processing rule function corresponding to the parameter identifier and associates it with the corresponding shape parameter, and generates part processing parameters after executing the processing rule function of the associated parameter; the processing parameter output layer outputs the part processing parameters.
[0072] Furthermore, when obtaining the final shape parameters based on the judgment result, if the judgment result is the first identifier, the shape parameter is determined to be within a pre-set parameter range, and the shape parameter is determined as the final shape parameter; or, if the judgment result is the second identifier, the shape parameter is determined not to be within a pre-set parameter range, and the shape parameter is adjusted, and the adjusted shape parameter is determined as the final shape parameter.
[0073] It should be noted that this application can automatically analyze the geometry of the part to obtain the machining parameters based on the machining model, avoiding the defects of errors that exist when manually analyzing the geometry and improving the accuracy of the machining parameters.
[0074] S103, combine the set of part attributes of each part with its corresponding part processing parameters to generate the BOM data set of the steel structure;
[0075] In one possible implementation, step S102 ultimately ensures that each part's set of attributes has corresponding processing parameters. Finally, the set of attributes of each part and its corresponding processing parameters are combined to generate a list of BOM data sets for the steel structure.
[0076] Further, when combining the part attribute set of each part with its corresponding part processing parameters, first, the part attribute set of each part is determined as the key, then the corresponding part processing parameters are determined as the value, and finally, multiple key-value pairs are created based on the key and the value, and the multiple key-value pairs are determined as the BOM data set list. For example, the first key-value pair is: <key1 = "part attribute set 1", value = "part processing parameter 1">.
[0077] S104. Construct a BOM file for the steel structure based on the BOM data set.
[0078] In a possible implementation, first initialize the preset BOM template, then identify the target part identifiers one by one from the initialized BOM template, and finally map and fill the part identifiers in the BOM data set with the target part identifiers one by one to generate the BOM file of the steel structure.
[0079] For example Figure 2 as shown Figure 2 is a schematic block diagram of a process for automatically generating a BOM file for a steel structure provided by this application. First, read the IFC model file from the file server, obtain the object of IfcElementAssembly type in the IFC model file, extract the component attributes and store them in the data list, and then, through the IsDecomposedBy attribute of the IfcElementAssembly object, obtain all the parts contained in the object, traverse each part, and extract its associated attributes, such as component code, part code, part cross-section, part length, and part geometry, etc. When reaching the end of the IFC model file, generate the BOM file according to the part attributes and the BOM template.
[0080] In the embodiment of this application, the device for automatically generating a BOM file for a steel structure first generates the part attribute set of each part of the steel structure according to the IFC model file, then analyzes the part geometry in the part attribute set to generate part processing parameters, secondly combines the part attribute set of each part with its corresponding part processing parameters to generate the BOM data set of the steel structure, and finally constructs the BOM file of the steel structure according to the BOM data set. Since this application automatically generates the BOM by using the IFC model file on the Web, the efficient automatic generation of the BOM is realized, and the generation efficiency of the BOM file for the steel structure is improved.
[0081] Please refer to Figure 3 , which shows the system architecture for automatically generating a BOM file for a steel structure provided by an exemplary embodiment of the present invention. The system includes:
[0082] A file management module, a file parsing module, and a BOM generation module.
[0083] File Management Module: Connects to the file server to receive uploaded IFC model files and store them on the file server, or accepts requests from the file parsing module to download the IFC model files and pass them to the file parsing module.
[0084] File parsing module: Connected to the file management module, it receives IFC model files from the file management module, parses the files to obtain component and part attributes, and forms a BOM data set.
[0085] BOM generation module: Connected to the file parsing module, it receives the BOM data set and outputs the BOM file according to the BOM template.
[0086] In this embodiment, the apparatus for automatically generating steel structure BOM files first generates a set of part attributes for each component of the steel structure based on the IFC model file. Then, it analyzes the geometry of the components in the attribute sets to generate machining parameters. Next, it combines the attribute set of each component with its corresponding machining parameters to generate a BOM data set for the steel structure. Finally, it constructs the BOM file for the steel structure based on the BOM data set. Because this application automatically generates the BOM using the IFC model file on the Web, it achieves efficient automatic BOM generation, thus improving the efficiency of steel structure BOM file generation.
[0087] The following are embodiments of the apparatus of the present invention, which can be used to execute embodiments of the method of the present invention. For details not disclosed in the embodiments of the apparatus of the present invention, please refer to the embodiments of the method of the present invention.
[0088] Please see Figure 4 This diagram illustrates a structural schematic of an apparatus for automatically generating steel structure BOM files, provided by an exemplary embodiment of the present invention. This apparatus for automatically generating steel structure BOM files can be implemented as all or part of a terminal through software, hardware, or a combination of both. The apparatus 1 includes a part attribute set generation module 10, a part processing parameter generation module 20, a BOM data set generation module 30, and a BOM file generation module 40.
[0089] The part attribute set generation module 10 is used to generate the part attribute set of each part of the steel structure based on the IFC model file.
[0090] The part machining parameter generation module 20 is used to analyze the part geometry in the part attribute set and generate part machining parameters.
[0091] The BOM data set generation module 30 is used to combine the part attribute set of each part with its corresponding part processing parameters to generate the BOM data set of the steel structure.
[0092] BOM file generation module 40 is used to construct the BOM file for the steel structure based on the BOM data set.
[0093] It should be noted that the apparatus for automatically generating steel structure BOM files provided in the above embodiments is only illustrated by the division of the above functional modules when executing the method for automatically generating steel structure BOM files. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the equipment can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus for automatically generating steel structure BOM files and the method for automatically generating steel structure BOM files provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.
[0094] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0095] In this embodiment, the apparatus for automatically generating steel structure BOM files first generates a set of part attributes for each component of the steel structure based on the IFC model file. Then, it analyzes the geometry of the components in the attribute sets to generate machining parameters. Next, it combines the attribute set of each component with its corresponding machining parameters to generate a BOM data set for the steel structure. Finally, it constructs the BOM file for the steel structure based on the BOM data set. Because this application automatically generates the BOM using the IFC model file on the Web, it achieves efficient automatic BOM generation, thus improving the efficiency of steel structure BOM file generation.
[0096] The present invention also provides a computer-readable medium having program instructions stored thereon, which, when executed by a processor, implement the method for automatically generating a steel structure BOM file provided in the above-described method embodiments. The present invention also provides a computer program product containing instructions that, when run on a computer, causes the computer to execute the method for automatically generating a steel structure BOM file as described in the above-described method embodiments.
[0097] Please see Figure 5 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application. Figure 5 As shown, terminal 1000 may include: at least one processor 1001, at least one network interface 1004, user interface 1003, memory 1005, and at least one communication bus 1002.
[0098] The communication bus 1002 is used to realize the connection and communication between these components.
[0099] The user interface 1003 may include a display screen and a camera. Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface.
[0100] The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0101] The processor 1001 may include one or more processing cores. The processor 1001 connects to various parts within the electronic device 1000 using various interfaces and lines. It executes various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and by calling data stored in the memory 1005. Optionally, the processor 1001 may be implemented using at least one hardware form selected from Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of the following: a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), and a modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip, without being integrated into the processor 1001.
[0102] The memory 1005 may include random access memory (RAM) or read-only memory. Optionally, the memory 1005 may include a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 1005 may also be at least one storage device located remotely from the aforementioned processor 1001. Figure 5 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program that automatically generates steel structure BOM files.
[0103] exist Figure 5 In the terminal 1000 shown, the user interface 1003 is mainly used to provide an input interface for the user and to obtain the user's input data; while the processor 1001 can be used to call the application program that automatically generates the steel structure BOM file stored in the memory 1005, and specifically perform the following operations:
[0104] Generate a set of part attributes for each component of the steel structure based on the IFC model file;
[0105] Analyze the part geometry in the part attribute set to generate part machining parameters;
[0106] The set of part attributes for each part and its corresponding part processing parameters are combined to generate the BOM data set for the steel structure.
[0107] Construct the BOM file for the steel structure based on the BOM data set.
[0108] In one embodiment, when the processor 1001 generates a set of part attributes for each component of the steel structure based on the IFC model file, it specifically performs the following operations:
[0109] Read and open the IFC model file;
[0110] Obtain the set of steel structure components from the opened IFC model file;
[0111] Iterate through the component collection to obtain multiple parts for each component;
[0112] Extract the part attributes of each part from the multiple parts of each component, and generate a set of part attributes for each part.
[0113] In one embodiment, when processor 1001 retrieves the steel structure component set from the opened IFC model file, it specifically performs the following operations:
[0114] Read the data in the IFC model file line by line after opening it;
[0115] The read data is parsed to obtain the parsed data;
[0116] When the parsed data is of type IfcElementAssembly, obtain an object of type IfcElementAssembly.
[0117] Identify objects of type IfcElementAssembly as components of the steel structure;
[0118] Once the data in the IFC model file has been read, a set of steel structure components is generated.
[0119] In one embodiment, when the processor 1001 performs analysis of the part geometry in the part attribute set and generates part machining parameters, it specifically performs the following operations:
[0120] Obtain the pre-set processing model;
[0121] Input the part geometry from the part attribute set into the machining model, and output the part machining parameters corresponding to the part geometry.
[0122] In one embodiment, when processor 1001 inputs the part geometry from the part attribute set into the machining model and outputs part machining parameters, it specifically performs the following operations:
[0123] The data extraction layer obtains the shape parameters corresponding to the part geometry from the part attribute set;
[0124] The data analysis layer determines whether the shape parameters are within a pre-defined parameter range, generates a judgment result, and obtains the final shape parameters based on the judgment result;
[0125] The rule mapping layer obtains the parameter identifier corresponding to the final shape parameter, loads the processing rule function corresponding to the parameter identifier and associates it with the corresponding shape parameter, and generates the part processing parameters after executing the processing rule function of the associated parameter.
[0126] The machining parameter output layer outputs the machining parameters of the part.
[0127] In one embodiment, when the processor 1001 executes the operation to obtain the final shape parameters based on the judgment result, it specifically performs the following operations:
[0128] When the judgment result is the first identifier, the shape parameter is determined to be within the preset parameter range, and the shape parameter is determined as the final shape parameter;
[0129] or,
[0130] When the judgment result is the second identifier, it is determined that the shape parameter is not within the preset parameter range, and the shape parameter is adjusted. The adjusted shape parameter is then determined as the final shape parameter.
[0131] In one embodiment, when the processor 1001 executes the BOM file for constructing the steel structure based on the BOM data set, it specifically performs the following operations:
[0132] Identify multiple vehicles within the warning fence;
[0133] Initialize the pre-defined BOM template;
[0134] Identify the target part identifiers one by one from the initialized BOM template;
[0135] The BOM data set is mapped and filled with the target part identifiers one by one to generate the BOM file for the steel structure.
[0136] In this embodiment, the apparatus for automatically generating steel structure BOM files first generates a set of part attributes for each component of the steel structure based on the IFC model file. Then, it analyzes the geometry of the components in the attribute sets to generate machining parameters. Next, it combines the attribute set of each component with its corresponding machining parameters to generate a BOM data set for the steel structure. Finally, it constructs the BOM file for the steel structure based on the BOM data set. Because this application automatically generates the BOM using the IFC model file on the Web, it achieves efficient automatic BOM generation, thus improving the efficiency of steel structure BOM file generation.
[0137] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program for automatically generating steel structure BOM files can be stored in a computer-readable storage medium. When executed, the program can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory, or random access memory, etc.
[0138] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A method for automatically generating steel structure BOM files, characterized in that, The method includes: Generate a set of part attributes for each component of the steel structure based on the IFC model file; the generation of the set of part attributes for each component of the steel structure based on the IFC model file includes: Read and open the IFC model file; Obtain the set of steel structure components from the opened IFC model file; Iterate through the component set to obtain multiple parts for each component; Extract the part attributes of each part from the multiple parts of each component to generate a set of part attributes for each part; The process of obtaining the steel structure component set from the opened IFC model file includes: Read the data in the IFC model file line by line after opening it; The read data is parsed to obtain the parsed data; When the parsed data is of type IfcElementAssembly, obtain an object of type IfcElementAssembly; The IfcElementAssembly type object is identified as a component of the steel structure; After the data in the IFC model file is read, a set of steel structure components is generated; Analyze the part geometry in the part attribute set to generate part machining parameters; wherein, The process of analyzing the part geometry in the part attribute set and generating part machining parameters includes: Obtain the pre-set processing model; The part geometry from the part attribute set is input into the machining model, and the machining parameters corresponding to the part geometry are output; wherein, the machining model includes a data extraction layer, a data analysis layer, a rule mapping layer, and a machining parameter output layer; The set of part attributes for each part and its corresponding part processing parameters are combined to generate a BOM data set for the steel structure. The part geometry from the part attribute set is input into the machining model, and the machining parameters corresponding to the part geometry are output, including... The data extraction layer obtains the shape parameters corresponding to the part geometry from the part attribute set; The data analysis layer determines whether the shape parameters are within a pre-defined parameter range, generates a determination result, and obtains the final shape parameters based on the determination result; The rule mapping layer obtains the parameter identifier corresponding to the final shape parameter, loads the processing rule function corresponding to the parameter identifier and associates it with the shape parameter, and generates part processing parameters after executing the processing rule function of the associated parameter. The machining parameter output layer outputs the machining parameters of the part; The BOM file for the steel structure is constructed based on the BOM data set.
2. The method according to claim 1, characterized in that, The process of obtaining the final shape parameters based on the judgment result includes: When the judgment result is the first identifier, it is determined that the shape parameter is located in a preset parameter range, and the shape parameter is determined as the final shape parameter; or, When the judgment result is the second identifier, it is determined that the shape parameter is not within the preset parameter range, and the shape parameter is adjusted, and the adjusted shape number is determined as the final shape parameter.
3. The method according to claim 1, characterized in that, The step of constructing the BOM file for the steel structure based on the BOM data set includes: Initialize the pre-defined BOM template; Identify the target part identifiers one by one from the initialized BOM template; The part identifiers in the BOM data set are mapped and filled one by one with the target part identifiers to generate the BOM file for the steel structure.
4. An apparatus for automatically generating steel structure BOM files using the method described in any one of claims 1-3, characterized in that, The device includes: The part attribute set generation module is used to generate a set of part attributes for each part of the steel structure based on the IFC model file. The part machining parameter generation module is used to analyze the part geometry in the part attribute set and generate part machining parameters; The BOM data set generation module is used to combine the set of part attributes of each part with the corresponding part processing parameters to generate the BOM data set of the steel structure. The BOM file generation module is used to construct the BOM file of the steel structure based on the BOM data set.
5. A computer storage medium, characterized in that, The computer storage medium stores a plurality of instructions adapted for loading by a processor and executing the method steps as claimed in any one of claims 1-3.
6. A terminal, characterized in that, include: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the method steps as claimed in any one of claims 1-3.
Citation Information
Patent Citations
Method and device for generating bill-of-materials structure of product
CN107967582A
BIM-based fabricated-technology-design data processing method and device
CN108427784A