Prefabricated building BIM model generation method and related equipment
By analyzing the basic information and block annotation information of CAD drawings, the BIM unit model of the prefabricated building is generated, which solves the problem of low efficiency caused by manual intervention in the existing technology and achieves efficient BIM model generation.
Patent Information
- Application Number
- CN202111173434.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-09-30
AI Technical Summary
The existing BIM model generation method for prefabricated buildings requires a lot of manual intervention, which results in long time consumption and low efficiency.
By obtaining the CAD drawings of the BIM unit model to be built, the basic information, block label information and coordinate information are obtained through analysis. Based on this information, the parameter information of the prefabricated parts is determined, the BIM unit model is generated, and then the BIM unit model family and the overall model are generated. The entire The process requires no manual intervention.
It improves the efficiency of BIM model generation, reduces manual participation, and shortens the generation time.
Smart Images

Figure CN113901550B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of prefabricated buildings, and in particular to a method for generating a BIM model of a prefabricated building and related equipment. Background Art
[0002] Prefabricated buildings refer to buildings assembled from prefabricated building components. They transfer a large amount of on-site work in traditional construction methods to factories, and are characterized by high speed and low production costs. The core of prefabricated building solutions is usually to encode prefabricated components and then map them with on-site codes. Based on this core idea, some solutions use the information of prefabricated components to manually build BIM (Building Information Modeling) models. Since a large amount of manpower is required, building BIM models takes a long time and is inefficient. Summary of the invention
[0003] To solve the above problems, the present application provides a method for generating a BIM model of an assembled building and related equipment, which is conducive to improving the generation efficiency of the BIM model of an assembled building.
[0004] A first aspect of an embodiment of the present application provides a method for generating a BIM model of an assembled building, the method comprising:
[0005] Obtain the CAD drawings of the BIM unit model to be constructed;
[0006] Parse the CAD drawing to obtain basic information of the CAD drawing, annotation information of each block in the CAD drawing, and first coordinate information;
[0007] Determine parameter information of each prefabricated component among a plurality of prefabricated components corresponding to each block according to basic information of the CAD drawing, annotation information of each block and first coordinate information;
[0008] A BIM unit model is generated based on at least some of the parameter information of the prefabricated components.
[0009] In combination with the first aspect, in a possible implementation manner, the parameter information of each prefabricated component includes a unique identifier and second coordinate information, and the parameter information of each prefabricated component among a plurality of prefabricated components corresponding to each block is determined according to the basic information of the CAD drawing, the annotation information of each block, and the first coordinate information, including:
[0010] Determine the serial number of each prefabricated component among the plurality of prefabricated components corresponding to each of the blocks based on the basic information of the CAD drawing and the annotation information of each block;
[0011] Determine a unique identifier of each prefabricated component based on the basic information of the CAD drawing, the annotation information of each block, and the serial number of each prefabricated component;
[0012] The second coordinate information of each prefabricated component is determined based on the basic information of the CAD drawing and the first coordinate information of each block.
[0013] In combination with the first aspect, in a possible implementation manner, determining the unique identifier of each prefabricated component based on the basic information of the CAD drawing, the annotation information of each block, and the serial number of each prefabricated component includes:
[0014] Based on the annotation information of each block, a standard number or a translation number of the prefabricated component type corresponding to each block is obtained;
[0015] The unique identification of each prefabricated component is determined based on the basic information of the CAD drawing, the standard number or translation number of the prefabricated component type corresponding to each block and the serial number of each prefabricated component, and the translation number is generated according to the standard number.
[0016] In combination with the first aspect, in a possible implementation manner, the method further includes:
[0017] Determine the association relationship between each prefabricated component according to the unique identifier and the second coordinate information;
[0018] Based on the association relationship, a BIM unit model family is generated from multiple BIM unit models;
[0019] The BIM unit model family is used to carry out overall modeling of the prefabricated building to obtain the BIM overall model.
[0020] In combination with the first aspect, in a possible implementation manner, the CAD drawing is parsed to obtain basic information of the CAD drawing and annotation information and first coordinate information of each block in the CAD drawing, including:
[0021] Extracting the layer where each block is located, and printing the layer where each block is located as a drawing to be identified, wherein the drawing to be identified includes at least one block;
[0022] Performing target detection on the drawing to be identified, obtaining a detection frame of each block in at least one block, and obtaining a rectangular frame to be identified based on the detection frame;
[0023] Detect whether there is text in the rectangular box to be identified. If so, use the background color in the rectangular box to be identified to cover the image element in the rectangular box to be identified, retain the text in the rectangular box to be identified and identify the text, and obtain the first annotation information of the block in the rectangular box to be identified; if not, scale the rectangular box to be identified, obtain the annotation line of the block in the rectangular box to be identified based on the scaled rectangular box to be identified, identify the text within the preset range of the annotation line, and obtain the second annotation information of the block in the rectangular box to be identified and the first coordinate information of the block in the rectangular box to be identified;
[0024] Determine the first annotation information and the second annotation information as the annotation information of the image block within the rectangular frame to be identified;
[0025] Determine the prefabricated part corresponding to the block in the to-be-identified rectangular frame according to the first marking information and the second marking information;
[0026] The information management table of the prefabricated parts corresponding to the blocks in the rectangular frame to be identified is queried to obtain the basic information of the CAD drawing.
[0027] In combination with the first aspect, in a possible implementation, obtaining the labeling line of the image block in the rectangular frame to be identified based on the scaled rectangular frame to be identified includes:
[0028] Check whether there are any graphics elements that intersect or overlap with the frame line of the scaled rectangular frame to be identified;
[0029] If yes, determine whether the graphic element intersecting or overlapping with the frame line belongs to a block adjacent to the block in the rectangular frame to be identified in the drawing to be identified;
[0030] If the graphic element intersecting or overlapping with the frame line does not belong to the block adjacent to the block in the rectangular frame to be identified in the drawing to be identified, and the graphic element intersecting or overlapping with the frame line or the straight line bisecting the graphic element intersects with the block in the rectangular frame to be identified, then the graphic element intersecting or overlapping with the frame line will be determined as the annotation line.
[0031] In combination with the first aspect, in a possible implementation manner, the method further includes:
[0032] A QR code is generated for each prefabricated component based on the unique identifier, and the QR code is printed on the entity of each prefabricated component, so that the assembly worker can obtain the entry information and assembly information of each prefabricated component by scanning the QR code on the entity.
[0033] A second aspect of an embodiment of the present application provides a device for generating a BIM model of an assembled building, the device comprising an acquisition unit and a processing unit;
[0034] Acquisition unit, used to obtain the CAD drawing of the BIM unit model to be constructed;
[0035] A processing unit, used to parse the CAD drawing to obtain basic information of the CAD drawing, annotation information of each block in the CAD drawing, and first coordinate information;
[0036] The processing unit is further used to determine parameter information of each prefabricated component among a plurality of prefabricated components corresponding to each block according to the basic information of the CAD drawing, the annotation information of each block and the first coordinate information;
[0037] The processing unit is further used to generate a BIM unit model based on at least some of the parameter information of the prefabricated components.
[0038] A third aspect of an embodiment of the present application provides an electronic device, the electronic device comprising an input device and an output device, and also comprising a processor adapted to implement one or more instructions; and
[0039] A computer storage medium storing one or more instructions, wherein the one or more instructions are suitable for being loaded by the processor and executing the steps in the method described in the first aspect.
[0040] A fourth aspect of an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing the steps in the method described in the first aspect above.
[0041] Compared with the prior art, the embodiment of the present application obtains the CAD drawing of the BIM unit model to be constructed; parses the CAD drawing to obtain the basic information of the CAD drawing, the annotation information of each block in the CAD drawing, and the first coordinate information; determines the parameter information of each prefabricated part corresponding to each block according to the basic information of the CAD drawing, the annotation information of each block, and the first coordinate information; generates the BIM unit model based on the parameter information of at least some prefabricated parts. In this way, the basic information of the CAD drawing is obtained by drawing analysis, and the annotation information and coordinate information of each block of the basic information of the CAD drawing are used to obtain the parameter information of the prefabricated parts, and the BIM unit model is constructed based on the parameter information of some prefabricated parts. The whole process has a fast drawing analysis speed and does not require manual intervention, which is conducive to improving the generation efficiency of the BIM unit model. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1A network system architecture diagram provided for an embodiment of the present application;
[0044] Figure 2 A schematic diagram of a process for generating a BIM model of an assembled building provided in an embodiment of the present application;
[0045] Figure 3 A schematic diagram of a marking line provided in an embodiment of the present application;
[0046] Figure 4 A schematic diagram of a standard number and a translated number provided in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of a flow chart of another method for generating a BIM model of an assembled building provided in an embodiment of the present application;
[0048] Figure 6 A schematic diagram of the structure of a BIM model generation device for an assembled building provided in an embodiment of the present application;
[0049] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0051] The terms "including" and "having" and any variations thereof that appear in the specification, claims and drawings of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices. In addition, the terms "first", "second" and "third" are used to distinguish different objects, rather than to describe a specific order.
[0052] The embodiment of the present application provides a BIM model generation scheme for prefabricated buildings to improve the generation or construction efficiency of BIM models in prefabricated buildings. When the BIM unit model needs to be constructed, the scheme first obtains the CAD (Computer Aided Design) drawing corresponding to the BIM unit model, and then parses the CAD drawing to obtain the basic information of the CAD drawing, the annotation information of each block in the CAD drawing, the first coordinate information, etc. Among them, the basic information of the CAD drawing includes information such as project, building, floor, unit, and floor height. Further, according to the basic information of the CAD drawing, the annotation information of each block and the first coordinate information, the parameter information of each prefabricated part corresponding to each block is determined; and the BIM unit model is generated based on the parameter information of at least some prefabricated parts, and the unique code of the prefabricated part is generated in each BIM unit model, and the BIM unit model family is generated from the BIM unit model based on the association relationship between the prefabricated parts in each BIM unit model, and the entire BIM unit model is generated from each BIM unit model family. The entire process does not require manual exclusive coding of BIM unit models, which reduces manual participation. While generating a BIM unit model, a BIM unit model family can also be generated. The BIM unit model family is used to complete the construction of the entire BIM model, which is conducive to improving the generation efficiency of BIM models of prefabricated buildings.
[0053] Specifically, the prefabricated building BIM model generation solution can be based on Figure 1 The network system architecture shown is implemented as follows: Figure 1As shown, the network system architecture includes at least a user terminal, an electronic device and a database. The entire network system is connected through a network, which can be a virtual private network, a local area network, a wide area network, etc., and the specific communication transmission protocol is not limited. The user terminal is used to provide a human-computer interaction interface, input CAD drawings, BIM model building requests, basic information of the engineering project corresponding to the BIM model, etc. to the electronic device, and can display the BIM model output by the electronic device, or adjust parameters and update data for each engineering project through the client of the engineering project management. The electronic device is used to provide an operating environment for the intelligent drawing review system. The intelligent drawing review system has the function of parsing and reviewing CAD drawings. When receiving a BIM model building request, the electronic device can execute the above-mentioned prefabricated building BIM model generation solution, and output the generated BIM unit model, BIM unit model family and BIM complete model to the user terminal for display. The database can be a local database of the electronic device, or a database independent of the electronic device. It is usually used to store relevant information of the engineering project, such as the information management table of prefabricated components, bill of materials, drawings, production and distribution information, etc., and it returns corresponding information in response to the query request of the electronic device. It should be understood that the user terminal in the present application can be a computer, a tablet computer, a smart phone, a smart terminal and other devices, and the electronic device can be a local server, a cloud server, or a server cluster. Figure 1 Just an example.
[0054] based on Figure 1 The network system architecture shown in FIG. 1 is a block diagram of a prefabricated building. The method for generating a BIM model of a prefabricated building proposed in the embodiment of the present application is described in detail below in conjunction with the relevant drawings. Figure 2 , Figure 2 A flow chart of a method for generating a BIM model of an assembled building provided in an embodiment of the present application is provided, and the method is applied to electronic equipment, such as Figure 2 As shown, steps S21-S25 are included:
[0055] S21, obtaining a CAD drawing of the BIM unit model to be constructed.
[0056] In an embodiment of the present application, the BIM unit model to be constructed refers to a BIM model of a unit or module to be constructed, such as stairs, walls, spaces, floors, buildings, etc. For each BIM unit model to be constructed, the electronic device can obtain the corresponding CAD drawing from the database, or the user can provide the CAD drawing through interaction with the user terminal.
[0057] S22, parsing the CAD drawing to obtain basic information of the CAD drawing, annotation information of each block in the CAD drawing, and first coordinate information.
[0058] In the embodiment of the present application, the electronic device may execute a drawing parsing algorithm to parse the CAD drawing, or may parse the CAD drawing through an intelligent drawing review system.
[0059] Exemplarily, parsing a CAD drawing to obtain basic information of the CAD drawing, annotation information of each block in the CAD drawing, and first coordinate information includes steps AF:
[0060] A: Extract the layer where each block is located, and print the layer where each block is located as a drawing to be identified, wherein the drawing to be identified includes at least one block.
[0061] It should be understood that a CAD drawing usually includes multiple blocks, each of which is composed of different primitives. Depending on the designer's preference or the quality of the drawing, the primitives of a block may exist in one layer or in multiple layers. If the primitives that constitute a block are only in one layer, then the layer is printed as a drawing to be identified, that is, an image to be identified. If the primitives that constitute a block exist in multiple layers, such as layer 0, layer 1, and layer 2, then the layers 0, 1, and 2 are printed as drawings to be identified to ensure that a block can appear completely in the drawing to be identified. It should be understood that the primitives of some blocks may appear in the same layer, then these blocks will be printed in the same drawing to be identified, that is, the drawing to be identified includes at least one block.
[0062] B: Perform target detection on the drawing to be identified, obtain a detection frame for each block in at least one block, and obtain a rectangular frame to be identified based on the detection frame.
[0063] Among them, target detection can use trained Faster R-CNN (Faster Region-Convolutional Neural Networks, faster candidate region convolutional neural network detector), YOLO (You Only Look Once, at a glance target detector) and other detectors, with each tile as the detection image, and the detector will output a rectangular detection frame for each tile. Exemplarily, the rectangular frame to be identified is obtained based on the detection frame, including: based on the coordinates of the detection frame of each tile, the regional image of each tile is cut out from the drawing to be identified, the regional image is converted into a binary image, the binary image is traversed pixel by pixel to obtain the contour line of each tile, the minimum circumscribed rectangle of the contour line is obtained, and the overlapping area of the minimum circumscribed rectangle and the detection frame is determined as the rectangular frame to be identified. In this embodiment, the detector may mistakenly identify marked lines and graphics elements that do not belong to the tile into the detection frame. In order to avoid interference caused by these elements when identifying the prefabricated components corresponding to the tile, the overlapping area between the minimum circumscribed rectangle and the detection frame is determined as the rectangular frame to be identified, and the image of the area covered by the rectangular frame to be identified is used for subsequent matching, which is beneficial to improving the accuracy of identifying the prefabricated components corresponding to the tile.
[0064] C: Detect whether there is text in the rectangular box to be identified. If so, use the background color of the rectangular box to be identified to cover the image element in the rectangular box to be identified, retain the text in the rectangular box to be identified and identify the text, and obtain the first annotation information of the block in the rectangular box to be identified; otherwise, scale the rectangular box to be identified, obtain the annotation line of the block in the rectangular box to be identified based on the scaled rectangular box to be identified, identify the text within the preset range of the annotation line, and obtain the second annotation information of the block in the rectangular box to be identified and the first coordinate information of the block in the rectangular box to be identified.
[0065] Among them, for the block representing the space, there may be text inside it. In order to improve the accuracy of text recognition, the present application uses the background color in the rectangular box to be recognized to cover the primitives constituting the block, so that only the text exists in the rectangular box to be recognized, and then uses optical character technology to recognize the text. The recognition result of the text can be used as the first annotation information of the block in the rectangular box to be recognized, such as the text of bedroom, balcony, etc. Exemplarily, in order to make the primitives constituting the block closer to the background, the present application adopts an adaptive covering method, logarithmically samples the background pixels in the rectangular box to be recognized (background pixels refer to non-primitive and non-text pixels) to obtain N background pixels, N is an integer greater than 1, calculates the average value of the N background pixels, repeats the operation of logarithmically sampling the background pixels in the rectangular box to be recognized M times, obtains N background pixels, and calculates the average value of the N background pixels, obtains M average values, M is an integer greater than 1, and takes the color corresponding to the average value of the M average values as the background color. In this implementation, in order to make the color of the covered primitive closer to the background and appear more natural, the primitive is covered with the background color obtained in the above manner. In order to eliminate the sampling imbalance caused by logarithmic sampling, an operation of repeated sampling M times is introduced.
[0066] If there is no text in the rectangular frame to be identified, the annotation line of the block in the rectangular frame to be identified is found by scaling the rectangular frame to be identified, and the annotation information of the block is usually near the annotation line. Specifically, the rectangular frame to be identified is enlarged each time according to the preset pixels, for example, the preset pixels can be 2 pixels. For the rectangular frame to be identified after each enlargement, it is detected whether there are graphics elements that intersect or overlap with its frame line, such as intersecting or overlapping straight lines, arcs, etc. If such graphics elements exist, it is determined whether the graphics elements belong to the graphics elements of adjacent blocks (for the case where there are multiple graphics elements in the drawing to be identified, if there is only one graphics element, this step does not need to be performed). If the graphics elements do not belong to adjacent blocks, it is detected whether the graphics elements intersect with the graphics elements in the rectangular frame to be identified, or whether the bisect lines of the graphics elements intersect with the graphics elements in the rectangular frame to be identified. If the graphics elements intersect with the graphics elements in the rectangular frame to be identified, or the bisect lines of the graphics elements intersect with the graphics elements in the rectangular frame to be identified, it is determined that the graphics elements are the annotation lines of the graphics elements in the rectangular frame to be identified. The annotation lines in this application include dimension lines, dimension boundaries, arrows, angle arcs, and center and radius lines, etc. Figure 3 As shown, for the annotation line parallel to the rectangular block, its starting point or the extended line of the starting point usually intersects with the block, for the annotation line perpendicular to the rectangular block, its bisector line usually intersects with the block, and for the arc of the annotation angle, its bisector line usually intersects with the block. Based on the above method, the annotation line corresponding to the block in the rectangular frame to be identified can be found.
[0067] It should be understood that if after the first zooming in, there is no primitive that intersects or overlaps with the frame line of the enlarged rectangular frame to be identified, the next zooming in operation is performed on the enlarged rectangular frame to be identified according to the preset pixels until the annotation line of the block in the rectangular frame to be identified is found. It should be understood that there are usually texts within the preset range of the annotation line, such as Figure 3 "This is a mark" in the text box, and the second mark information of the block in the rectangular box to be identified is obtained. It should be understood that the coordinates of the blocks in the CAD drawings are usually marked, that is, the coordinate information of the blocks will also exist near the mark line, and the coordinate information of the corresponding blocks will also be obtained when the text within the preset range of the mark line is identified, that is, the first coordinate information.
[0068] D: Determine the first labeling information and the second labeling information as labeling information of the image block within the rectangular frame to be identified.
[0069] The first annotation information in the rectangular frame to be identified and the second annotation information attached to the annotation line can basically be determined as all the annotation information of the block in the rectangular frame to be identified. In this embodiment, the annotation information of the block in the rectangular frame to be identified is obtained in the manner in step C, which is conducive to ensuring the integrity of its annotation information.
[0070] E: Determine the prefabricated part corresponding to the block in the to-be-identified rectangular frame according to the first marking information and the second marking information.
[0071] Among them, the first annotation information and the second annotation information are used to match the database, and the components corresponding to the parameters are used as the prefabricated parts corresponding to the blocks in the rectangular frame to be identified. For example, if the width, thickness, name, etc. of the wall can be matched, it is considered that the prefabricated components corresponding to the blocks are various walls.
[0072] F: Query the information management table of the prefabricated parts corresponding to the blocks in the rectangular frame to be identified to obtain the basic information of the CAD drawing.
[0073] It should be understood that an information management table of prefabricated parts is stored in the database, which records various information such as the properties, materials, production, construction, and projects of the prefabricated parts. By querying the information management table of the prefabricated parts corresponding to each block, and then integrating the information in all the information management tables, the basic information of the CAD drawings to be constructed can be obtained, such as: the project, building, floor, unit, floor height and other information.
[0074] S23, determining parameter information of each prefabricated component among a plurality of prefabricated components corresponding to each block according to the basic information of the CAD drawing, the annotation information of each block and the first coordinate information.
[0075] S24, generating a BIM unit model based on at least some of the parameter information of the prefabricated components.
[0076] In the embodiment of the present application, the parameter information of each prefabricated part includes at least a unique identifier and the second coordinate information of the prefabricated part. Exemplarily, the parameter information of each prefabricated part among the plurality of prefabricated parts corresponding to each block is determined according to the basic information of the CAD drawing, the annotation information of each block and the first coordinate information, including:
[0077] Determine the serial number of each prefabricated component among the plurality of prefabricated components corresponding to each of the blocks based on the basic information of the CAD drawing and the annotation information of each block;
[0078] Determine a unique identifier of each prefabricated component based on the basic information of the CAD drawing, the annotation information of each block, and the serial number of each prefabricated component;
[0079] The second coordinate information of each prefabricated component is determined based on the basic information of the CAD drawing and the first coordinate information of each block.
[0080] Each block in the CAD drawing may correspond to one type of prefabricated part or a combination of multiple types of prefabricated parts. For example, a stair block may include a stair prefabricated part and a platform prefabricated part, and a wall block may correspond to a wall prefabricated part. When constructing a BIM model, the spatial position information of each prefabricated part corresponding to each block in the BIM model can be determined based on the basic information of the CAD drawing (project, building, unit, floor, floor height, etc.) and the first coordinate information of the block, and the serial number of each prefabricated component can be determined based on the spatial position information of each prefabricated part, and then the unique identification and second coordinate information of each prefabricated part can be determined. Among them, the second coordinate information is determined based on the first coordinate information and the spatial position information of each prefabricated part in the BIM model.
[0081] Specifically, the database records the standard numbers of various types of prefabricated parts. The standard number of the corresponding prefabricated part type can be matched according to the annotation information of each block, such as Figure 4 The standard number is a unified number for prefabricated components specified in certain standards in the industry. Then, a unique identifier can be generated based on the basic information of the CAD drawing, the standard number of the prefabricated component type corresponding to each block, and the serial number of each prefabricated component.
[0082] In some embodiments, different project developers will set corresponding translation numbers according to the standard number of each prefabricated component type. The translation number is a custom number for a certain prefabricated component by the project developer. The translation numbers of the same type of prefabricated component in the databases of different developers may be different, but they all have corresponding standard numbers. Therefore, the translation number of the prefabricated component can be determined by the standard number, such as Figure 4The translation number corresponding to 30-01.10.30.01.01 is PCB4. Further, if the user needs to query the relevant information of the prefabricated part, it can be obtained by clicking the drop-down control in the standard number, such as Figure 4 The component type of PCB4 is a composite floor, which includes length, width, height, volume, weight, etc.
[0083] In an embodiment of the present application, for example, the translation number of the prefabricated part corresponding to a block is PCB5, the basic information of the CAD drawing is project L, building 01, floor 02, unit A, and the serial number of a prefabricated part corresponding to the block is 06, then the unique identifier of the prefabricated part can be L0102PCB5A06.
[0084] Among them, the second coordinate information refers to the coordinate information of the prefabricated component in the BIM unit model, expressed as (x, y, z), where the x-coordinate and the y-coordinate can be replaced by the first coordinate information in the CAD drawing, and the z-coordinate can be obtained according to the floor and floor height information. Exemplarily, when there are multiple prefabricated components of the same type in the same unit on the same floor, the unique identification of the prefabricated component can be further encoded, such as adding a serial number after the unique identification. With the unique identification and the second coordinate information of the prefabricated component, the parameters for generating the BIM unit model corresponding to the prefabricated component are obtained, based on which multiple BIM unit models in prefabricated buildings can be generated.
[0085] Exemplarily, the method further includes:
[0086] Determine the association relationship between each prefabricated component according to the unique identifier and the second coordinate information;
[0087] Based on the association relationship, a BIM unit model family is generated from multiple BIM unit models;
[0088] The BIM unit model family is used to carry out overall modeling of the prefabricated building to obtain the BIM overall model.
[0089] In the embodiment of the present application, the association relationship between prefabricated parts includes horizontal parallel relationship, vertical parallel relationship, subordinate relationship, etc. For example, the adjacent prefabricated parts inside, outside and in all directions can be determined according to the unique identification and second coordinate information of each prefabricated part. Based on this spatial association relationship, a BIM unit model family can be generated from multiple BIM unit models. For example: there are 10 BIM unit models, BIM unit model 1, BIM unit model 2 and BIM unit model 5 can constitute BIM unit model family 1, BIM unit model 3, BIM unit model 4, BIM unit model 6 and BIM unit model 9 can constitute BIM unit model family 2, BIM unit model 7, BIM unit model 8 and BIM unit model 10 can constitute BIM unit model family 3, then the BIM unit model family 1, BIM unit model family 2 and BIM unit model family 3 are used to perform overall modeling of the prefabricated building, and a BIM overall model can be obtained. In this implementation, based on the association relationship between prefabricated parts, the construction of the BIM unit model family can be completed while generating multiple BIM unit models, and the BIM overall model can be generated from the BIM unit model family. There is no need to spend extra time assembling the BIM unit models into a BIM whole, which is conducive to improving the generation efficiency of the BIM overall model.
[0090] Exemplarily, the method further includes:
[0091] A QR code is generated for each prefabricated component based on the unique identifier, and the QR code is printed on the entity of each prefabricated component, so that the assembly worker can obtain the entry information and assembly information of each prefabricated component by scanning the QR code on the entity.
[0092] In an embodiment of the present application, after obtaining the unique identification of the prefabricated part, a QR code generation technology is used to obtain a QR code corresponding to the unique identification, and the QR code is printed on the entity of the prefabricated part. The assembly workers can obtain the entry information and assembly information of the corresponding prefabricated part by scanning the QR code.
[0093] For example, through the project progress management system, the prefabricated parts that have been assembled in the BIM overall model can be displayed in blue, and the prefabricated parts that have not been assembled in the BIM overall model can be displayed in black, so as to dynamically display the construction progress.
[0094] It can be seen that the embodiment of the present application obtains the CAD drawing of the BIM unit model to be constructed; parses the CAD drawing to obtain the basic information of the CAD drawing, the annotation information of each block in the CAD drawing, and the first coordinate information; determines the parameter information of each prefabricated part corresponding to each block according to the basic information of the CAD drawing, the annotation information of each block, and the first coordinate information; generates the BIM unit model based on at least some of the parameter information of the prefabricated parts. In this way, the basic information of the CAD drawing is obtained by drawing analysis, and then the annotation information and coordinate information of each block of the basic information of the CAD drawing are used to obtain the parameter information of the prefabricated part, and the BIM unit model is constructed based on part of the parameter information. The whole process of drawing analysis is fast and does not require manual intervention, which is conducive to improving the generation efficiency of the BIM unit model.
[0095] See also Figure 5 , Figure 5 A flow chart of another method for generating a BIM model of an assembled building provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, steps S51-S55 are included:
[0096] S51, obtaining a CAD drawing of a BIM unit model to be constructed;
[0097] S52, parsing the CAD drawing to obtain basic information of the CAD drawing, annotation information of each block in the CAD drawing, and first coordinate information;
[0098] S53, generating a unique identifier for each prefabricated component among a plurality of prefabricated components corresponding to each block based on the basic information of the CAD drawing, the annotation information of each block, and the first coordinate information of each block;
[0099] S54, obtaining second coordinate information of each prefabricated component among a plurality of prefabricated components corresponding to each block based on the basic information of the CAD drawing and the first coordinate information of each block;
[0100] S55: Generate a BIM unit model based on the unique identifier of each prefabricated component and the second coordinate information of each prefabricated component.
[0101] The specific implementation of the above steps S51-S55 is as follows: Figure 2 The illustrated embodiments have been described in detail and will not be described again here to avoid repetition.
[0102] It can be seen that the embodiment of the present application obtains the CAD drawing of the BIM unit model to be constructed; parses the CAD drawing to obtain the basic information of the CAD drawing, the annotation information of each block in the CAD drawing, and the first coordinate information; determines the parameter information of each prefabricated part corresponding to each block according to the basic information of the CAD drawing, the annotation information of each block, and the first coordinate information; generates the BIM unit model based on at least some of the parameter information of the prefabricated parts. In this way, the basic information of the CAD drawing is obtained by drawing analysis, and then the annotation information and coordinate information of each block of the basic information of the CAD drawing are used to obtain the parameter information of the prefabricated part, and the BIM unit model is constructed based on part of the parameter information. The whole process of drawing analysis is fast and does not require manual intervention, which is conducive to improving the generation efficiency of the BIM unit model.
[0103] Based on the description of the above method embodiment, the present application embodiment also provides a prefabricated building BIM model generation device, which can be a computer program (including program code) running in a terminal. The prefabricated building BIM model generation device can execute Figure 2 or Figure 5 See the method shown in Figure 6 , the device includes an acquisition unit 601 and a processing unit 602;
[0104] An acquisition unit 601 is used to acquire a CAD drawing of a BIM unit model to be constructed;
[0105] The processing unit 602 is used to parse the CAD drawing to obtain basic information of the CAD drawing, annotation information of each block in the CAD drawing, and first coordinate information;
[0106] The processing unit 602 is further used to determine parameter information of each prefabricated component among a plurality of prefabricated components corresponding to each block according to the basic information of the CAD drawing, the annotation information of each block and the first coordinate information;
[0107] The processing unit 602 generates a BIM unit model based on at least some parameter information of the prefabricated components.
[0108] In an optional implementation, the parameter information of each prefabricated component includes a unique identifier and second coordinate information. In determining the parameter information of each prefabricated component among a plurality of prefabricated components corresponding to each block according to the basic information of the CAD drawing, the annotation information of each block, and the first coordinate information, the processing unit 602 is specifically configured to:
[0109] Determine the serial number of each prefabricated component among the plurality of prefabricated components corresponding to each of the blocks based on the basic information of the CAD drawing and the annotation information of each block;
[0110] Determine a unique identifier of each prefabricated component based on the basic information of the CAD drawing, the annotation information of each block, and the serial number of each prefabricated component;
[0111] The second coordinate information of each prefabricated component is determined based on the basic information of the CAD drawing and the first coordinate information of each block.
[0112] In an optional implementation, in terms of generating a unique identifier based on basic information of the CAD drawing, annotation information of each block, and first coordinate information of each block, the processing unit 602 is specifically configured to:
[0113] Based on the annotation information of each block, a standard number or a translation number of the prefabricated component type corresponding to each block is obtained;
[0114] The unique identification of each prefabricated component is determined based on the basic information of the CAD drawing, the standard number or translation number of the prefabricated component type corresponding to each block and the serial number of each prefabricated component. The translation number is generated based on the standard number.
[0115] In an optional implementation, the processing unit 602 is further configured to:
[0116] Determine the association relationship between each prefabricated component according to the unique identifier and the second coordinate information;
[0117] Based on the association relationship, a BIM unit model family is generated from multiple BIM unit models;
[0118] The BIM unit model family is used to carry out overall modeling of the prefabricated building to obtain the BIM overall model.
[0119] In an optional implementation, in terms of parsing the CAD drawing to obtain basic information of the CAD drawing and annotation information and first coordinate information of each block in the CAD drawing, the processing unit 602 is specifically configured to:
[0120] Extracting the layer where each block in each block is located, and printing the layer where each block is located as a drawing to be identified, wherein the drawing to be identified includes at least one block;
[0121] Performing target detection on the drawing to be identified, obtaining a detection frame of each block in at least one block, and obtaining a rectangular frame to be identified based on the detection frame;
[0122] Detect whether there is text in the rectangular box to be identified. If so, use the background color in the rectangular box to be identified to cover the image element in the rectangular box to be identified, retain the text in the rectangular box to be identified and identify the text, and obtain the first annotation information of the block in the rectangular box to be identified; if not, scale the rectangular box to be identified, obtain the annotation line of the block in the rectangular box to be identified based on the scaled rectangular box to be identified, identify the text within the preset range of the annotation line, and obtain the second annotation information of the block in the rectangular box to be identified and the first coordinate information of the block in the rectangular box to be identified;
[0123] Determine the first annotation information and the second annotation information as the annotation information of the image block within the rectangular frame to be identified;
[0124] Determine the prefabricated part corresponding to the block in the to-be-identified rectangular frame according to the first marking information and the second marking information;
[0125] The information management table of the prefabricated parts corresponding to the blocks in the rectangular frame to be identified is queried to obtain the basic information of the CAD drawing.
[0126] In an optional implementation, in terms of obtaining the labeling lines of the image blocks within the rectangular frame to be identified based on the scaled rectangular frame to be identified, the processing unit 602 is specifically configured to:
[0127] Check whether there are any graphics elements that intersect or overlap with the frame line of the scaled rectangular frame to be identified;
[0128] If yes, determine whether the graphic element intersecting or overlapping with the frame line belongs to a block adjacent to the block in the rectangular frame to be identified in the drawing to be identified;
[0129] If the graphic element intersecting or overlapping with the frame line does not belong to the block adjacent to the block in the rectangular frame to be identified in the drawing to be identified, and the graphic element intersecting or overlapping with the frame line or the straight line bisecting the graphic element intersects with the block in the rectangular frame to be identified, then the graphic element intersecting or overlapping with the frame line will be determined as the annotation line.
[0130] In an optional implementation, the processing unit 602 is further configured to:
[0131] A QR code is generated for each prefabricated component based on the unique identifier, and the QR code is printed on the entity of each prefabricated component, so that the assembly worker can obtain the entry information and assembly information of each prefabricated component by scanning the QR code on the entity.
[0132] It can be seen that in Figure 6In the assembly-type building BIM model generation device shown, the CAD drawing of the BIM unit model to be constructed is obtained; the CAD drawing is parsed to obtain the basic information of the CAD drawing, the annotation information of each block in the CAD drawing, and the first coordinate information; the parameter information of each prefabricated part corresponding to each block is determined according to the basic information of the CAD drawing, the annotation information of each block, and the first coordinate information; the BIM unit model is generated based on at least part of the parameter information of the prefabricated parts. In this way, the basic information of the CAD drawing is obtained by parsing the drawing, and the parameter information of the prefabricated parts is obtained by using the annotation information and coordinate information of each block of the basic information of the CAD drawing, and the BIM unit model is constructed based on part of the parameter information. The whole process of drawing parsing is fast and does not require manual intervention, which is conducive to improving the generation efficiency of the BIM unit model.
[0133] According to one embodiment of the present application, Figure 6 The various units in the illustrated prefabricated building BIM model generation device can be separately or completely combined into one or several other units to form a structure, or one (or some) of the units can be further divided into multiple functionally smaller units to form a structure, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be realized by multiple units, or the functions of multiple units can be realized by one unit. In other embodiments of the present invention, the prefabricated building BIM model generation device can also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.
[0134] According to another embodiment of the present application, the program can be executed by running on a general computing device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM), and other processing elements and storage elements. Figure 2 or Figure 5 A computer program (including program code) for each step involved in the corresponding method shown in Figure 6 The apparatus and device shown in the figure are used to implement the above method of the embodiment of the present invention. The computer program can be recorded on a computer-readable recording medium, for example, and loaded into the above computing device through the computer-readable recording medium and run therein.
[0135] Based on the description of the above method embodiment and device embodiment, the present invention also provides an electronic device. Figure 7The electronic device at least includes a processor 71, an input device 72, an output device 73, and a computer storage medium 74. The processor 71, the input device 72, the output device 73, and the computer storage medium 74 in the electronic device may be connected via a bus or other means.
[0136] The computer storage medium 74 may be stored in the memory of the electronic device, the computer storage medium 74 is used to store a computer program, the computer program includes program instructions, and the processor 71 is used to execute the program instructions stored in the computer storage medium 74. The processor 71 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device, which is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function.
[0137] In one embodiment, the processor 71 of the electronic device provided in the embodiment of the present application can be used to perform a series of prefabricated building BIM model generation processes, including:
[0138] Obtain the CAD drawings of the BIM unit model to be constructed;
[0139] Parse the CAD drawing to obtain basic information of the CAD drawing, annotation information of each block in the CAD drawing, and first coordinate information;
[0140] Determine parameter information of each prefabricated component among a plurality of prefabricated components corresponding to each block according to basic information of the CAD drawing, annotation information of each block and first coordinate information;
[0141] A BIM unit model is generated based on at least some of the parameter information of the prefabricated components.
[0142] In another embodiment, the parameter information of each prefabricated component includes a unique identifier and second coordinate information, and the processor 71 determines the parameter information of each prefabricated component among the plurality of prefabricated components corresponding to each block according to the basic information of the CAD drawing, the annotation information of each block and the first coordinate information, including:
[0143] Determine the serial number of each prefabricated component among the plurality of prefabricated components corresponding to each of the blocks based on the basic information of the CAD drawing and the annotation information of each block;
[0144] Determine a unique identifier of each prefabricated component based on the basic information of the CAD drawing, the annotation information of each block, and the serial number of each prefabricated component;
[0145] The second coordinate information of each prefabricated component is determined based on the basic information of the CAD drawing and the first coordinate information of each block.
[0146] In another embodiment, the processor 71 determines the unique identification of each prefabricated component based on the basic information of the CAD drawing, the annotation information of each block, and the serial number of each prefabricated component, including:
[0147] Based on the annotation information of each block, a standard number or a translation number of the prefabricated component type corresponding to each block is obtained;
[0148] The unique identification of each prefabricated component is determined based on the basic information of the CAD drawing, the standard number or translation number of the prefabricated component type corresponding to each block and the serial number of each prefabricated component, and the translation number is generated according to the standard number.
[0149] In another embodiment, the processor 71 is further configured to:
[0150] Determine the association relationship between each prefabricated component according to the unique identifier and the second coordinate information;
[0151] Based on the association relationship, a BIM unit model family is generated from multiple BIM unit models;
[0152] The BIM unit model family is used to carry out overall modeling of the prefabricated building to obtain the BIM overall model.
[0153] In another embodiment, the processor 71 performs parsing on the CAD drawing to obtain basic information of the CAD drawing and annotation information and first coordinate information of each block in the CAD drawing, including:
[0154] Extracting the layer where each block is located, and printing the layer where each block is located as a drawing to be identified, wherein the drawing to be identified includes at least one block;
[0155] Performing target detection on the drawing to be identified, obtaining a detection frame of each block in at least one block, and obtaining a rectangular frame to be identified based on the detection frame;
[0156] Detect whether there is text in the rectangular box to be identified. If so, use the background color in the rectangular box to be identified to cover the image element in the rectangular box to be identified, retain the text in the rectangular box to be identified and identify the text, and obtain the first annotation information of the block in the rectangular box to be identified; if not, scale the rectangular box to be identified, obtain the annotation line of the block in the rectangular box to be identified based on the scaled rectangular box to be identified, identify the text within the preset range of the annotation line, and obtain the second annotation information of the block in the rectangular box to be identified and the first coordinate information of the block in the rectangular box to be identified;
[0157] Determine the first annotation information and the second annotation information as the annotation information of the image block within the rectangular frame to be identified;
[0158] Determine the prefabricated part corresponding to the block in the to-be-identified rectangular frame according to the first marking information and the second marking information;
[0159] The information management table of the prefabricated parts corresponding to the blocks in the rectangular frame to be identified is queried to obtain the basic information of the CAD drawing.
[0160] In another embodiment, the processor 71 obtains the labeling line of the image block in the to-be-identified rectangular frame based on the scaled to-be-identified rectangular frame, including:
[0161] Check whether there are any graphics elements that intersect or overlap with the frame line of the scaled rectangular frame to be identified;
[0162] If yes, determine whether the graphic element intersecting or overlapping with the frame line belongs to a block adjacent to the block in the rectangular frame to be identified in the drawing to be identified;
[0163] If the graphic element intersecting or overlapping with the frame line does not belong to the block adjacent to the block in the rectangular frame to be identified in the drawing to be identified, and the graphic element intersecting or overlapping with the frame line or the straight line bisecting the graphic element intersects with the block in the rectangular frame to be identified, then the graphic element intersecting or overlapping with the frame line will be determined as the annotation line.
[0164] In another embodiment, the processor 71 is further configured to:
[0165] A QR code is generated for each prefabricated component based on the unique identifier, and the QR code is printed on the entity of each prefabricated component, so that the assembly worker can obtain the entry information and assembly information of each prefabricated component by scanning the QR code on the entity.
[0166] Exemplarily, the electronic device may include but is not limited to a processor 71, an input device 72, an output device 73, and a computer storage medium 74. Those skilled in the art will appreciate that the schematic diagram is merely an example of an electronic device and does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or different components.
[0167] It should be noted that since the processor 71 of the electronic device implements the steps in the above-mentioned method for generating a BIM model of an assembled building when executing a computer program, the embodiments of the above-mentioned method for generating a BIM model of an assembled building are all applicable to the electronic device and can achieve the same or similar beneficial effects.
[0168] The embodiment of the present application also provides a computer storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It is understandable that the computer storage medium here can include both the built-in storage medium in the terminal and the extended storage medium supported by the terminal. The computer storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor 71 are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory; optionally, it can also be at least one computer storage medium located away from the aforementioned processor 71. In one embodiment, the processor 71 can load and execute one or more instructions stored in the computer storage medium to implement the corresponding steps of the above-mentioned method for generating a BIM model of an assembled building.
[0169] It should be noted that, since the computer program of the computer storage medium implements the steps in the above-mentioned method for generating a BIM model of an assembled building when executed by the processor, all embodiments or implementation methods of the above-mentioned method for generating a BIM model of an assembled building are applicable to the computer storage medium and can achieve the same or similar beneficial effects.
[0170] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for generating a BIM model for an assembled building. It is characterized in that The method comprises: Obtain the CAD drawings of the BIM unit model to be constructed; Parsing the CAD drawing to obtain basic information of the CAD drawing, annotation information of each block in the CAD drawing, and first coordinate information; Determine parameter information of each prefabricated component among a plurality of prefabricated components corresponding to each block according to the basic information of the CAD drawing, the annotation information of each block and the first coordinate information; Generating the BIM unit model based on at least part of the parameter information of the prefabricated components; The parameter information of each prefabricated component includes a unique identifier and second coordinate information, and the parameter information of each prefabricated component among a plurality of prefabricated components corresponding to each block is determined according to the basic information of the CAD drawing, the annotation information of each block and the first coordinate information, including: Determine the serial number of each prefabricated component among the plurality of prefabricated components corresponding to each of the blocks based on the basic information of the CAD drawing and the annotation information of each block; Determine a unique identifier of each prefabricated component based on the basic information of the CAD drawing, the annotation information of each block, and the serial number of each prefabricated component; Determine the second coordinate information of each prefabricated part based on the basic information of the CAD drawing and the first coordinate information of each block; The step of parsing the CAD drawing to obtain basic information of the CAD drawing, annotation information of each block in the CAD drawing, and first coordinate information includes: Extracting the layer where each block is located, and printing the layer where each block is located as a drawing to be identified, wherein the drawing to be identified includes at least one block; Performing target detection on the drawing to be identified, obtaining a detection frame of each block in the at least one block, and obtaining a rectangular frame to be identified based on the detection frame; Detect whether there is text in the rectangular frame to be identified, if yes, use the background color in the rectangular frame to be identified to cover the image element in the rectangular frame to be identified, retain the text in the rectangular frame to be identified and identify the text, and obtain the first annotation information of the block in the rectangular frame to be identified; if no, scale the rectangular frame to be identified, obtain the annotation line of the block in the rectangular frame to be identified based on the scaled rectangular frame to be identified, identify the text within a preset range of the annotation line, and obtain the second annotation information of the block in the rectangular frame to be identified and the first coordinate information of the block in the rectangular frame to be identified; Determine the first labeling information and the second labeling information as labeling information of the image block within the rectangular frame to be identified; Determine the prefabricated part corresponding to the block in the to-be-identified rectangular frame according to the first marking information and the second marking information; Query the information management table of the prefabricated parts corresponding to the block in the rectangular frame to be identified to obtain the basic information of the CAD drawing; The method further comprises: Determine the association relationship between each prefabricated component according to the unique identifier and the second coordinate information; Based on the association relationship, a BIM unit model family is generated from the plurality of BIM unit models; The BIM unit model family is used to perform overall modeling of the prefabricated building to obtain a BIM overall model.
2. The method according to claim 1, It is characterized in that The determining the unique identification of each prefabricated component based on the basic information of the CAD drawing, the annotation information of each block and the serial number of each prefabricated component includes: Obtaining a standard number or a translated number of a prefabricated component type corresponding to each block based on the annotation information of each block; The unique identification of each prefabricated component is determined based on the basic information of the CAD drawing, the standard number or translation number of the prefabricated component type corresponding to each block and the serial number of each prefabricated component, and the translation number is generated according to the standard number.
3. The method according to claim 1, It is characterized in that The obtaining the labeling line of the image block in the rectangular frame to be identified based on the scaled rectangular frame to be identified includes: Detecting whether there is a graphic element that intersects or overlaps with the frame line of the scaled rectangular frame to be identified; If yes, determining whether the graphic element intersecting or overlapping with the frame line belongs to a block in the drawing to be identified that is adjacent to the block in the rectangular frame to be identified; If the graphic element that intersects or overlaps with the frame line does not belong to the block adjacent to the block in the rectangular frame to be identified in the drawing to be identified, and the graphic element that intersects or overlaps with the frame line or the straight line that bisects the graphic element intersects with the block in the rectangular frame to be identified, then the graphic element that intersects or overlaps with the frame line is determined as the annotation line.
4. The method according to claim 1, It is characterized in that The method further comprises: A two-dimensional code is generated for each prefabricated component based on the unique identifier, and the two-dimensional code is printed on the entity of each prefabricated component, so that an assembler can obtain the entry information and assembly information of each prefabricated component by scanning the two-dimensional code on the entity.
5. A device for generating a BIM model of an assembled building, It is characterized in that The device comprises an acquisition unit and a processing unit; The acquisition unit is used to acquire the CAD drawing of the BIM unit model to be constructed; The processing unit is used to parse the CAD drawing to obtain basic information of the CAD drawing, annotation information of each block in the CAD drawing, and first coordinate information; The processing unit is further used to determine parameter information of each prefabricated part among a plurality of prefabricated parts corresponding to each block according to the basic information of the CAD drawing, the annotation information of each block and the first coordinate information; The processing unit is further configured to generate the BIM unit model based on at least part of the parameter information of the prefabricated components; The parameter information of each prefabricated component includes a unique identifier and second coordinate information. In determining the parameter information of each prefabricated component among a plurality of prefabricated components corresponding to each block according to the basic information of the CAD drawing, the annotation information of each block and the first coordinate information, the processing unit is specifically used to: Determine the serial number of each prefabricated component among the plurality of prefabricated components corresponding to each of the blocks based on the basic information of the CAD drawing and the annotation information of each block; Determine a unique identifier of each prefabricated component based on the basic information of the CAD drawing, the annotation information of each block, and the serial number of each prefabricated component; Determine the second coordinate information of each prefabricated part based on the basic information of the CAD drawing and the first coordinate information of each block; In parsing the CAD drawing to obtain basic information of the CAD drawing, annotation information of each block in the CAD drawing, and first coordinate information, the processing unit is specifically used to: Extracting the layer where each block is located, and printing the layer where each block is located as a drawing to be identified, wherein the drawing to be identified includes at least one block; Performing target detection on the drawing to be identified, obtaining a detection frame of each block in the at least one block, and obtaining a rectangular frame to be identified based on the detection frame; Detect whether there is text in the rectangular frame to be identified, if yes, use the background color in the rectangular frame to be identified to cover the image element in the rectangular frame to be identified, retain the text in the rectangular frame to be identified and identify the text, and obtain the first annotation information of the block in the rectangular frame to be identified; if no, scale the rectangular frame to be identified, obtain the annotation line of the block in the rectangular frame to be identified based on the scaled rectangular frame to be identified, identify the text within a preset range of the annotation line, and obtain the second annotation information of the block in the rectangular frame to be identified and the first coordinate information of the block in the rectangular frame to be identified; Determine the first labeling information and the second labeling information as labeling information of the image block within the rectangular frame to be identified; Determine the prefabricated part corresponding to the block in the to-be-identified rectangular frame according to the first marking information and the second marking information; Query the information management table of the prefabricated parts corresponding to the block in the rectangular frame to be identified to obtain the basic information of the CAD drawing; The processing unit is also used for: Determine the association relationship between each prefabricated component according to the unique identifier and the second coordinate information; Based on the association relationship, a BIM unit model family is generated from the plurality of BIM unit models; The BIM unit model family is used to perform overall modeling of the prefabricated building to obtain a BIM overall model.
6. An electronic device comprising an input device and an output device, It is characterized in that Also includes: a processor adapted to implement one or more instructions; as well as, A computer storage medium storing one or more instructions, wherein the one or more instructions are suitable for being loaded by the processor and executing the steps in the method according to any one of claims 1 to 4.
7. A computer storage medium, It is characterized in that The computer storage medium stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing the steps in any one of the methods of claims 1-4.
