A pre-embedded part automatic modeling method, a storage medium and an equipment

By combining the Revit and Dynamo platforms, automatic modeling of embedded parts was achieved, solving the problems of low efficiency and poor accuracy of manual modeling of embedded parts, and improving the application depth and information management level of BIM models.

CN116305433BActive Publication Date: 2026-07-07CHINA NUCLEAR IND HUAXING CONSTR

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA NUCLEAR IND HUAXING CONSTR
Filing Date
2023-02-24
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

The existing BIM models contain a large number of embedded parts with numerous specifications and models. Manual modeling is inefficient and it is difficult to ensure the accuracy of the model, which affects the depth of BIM technology application.

Method used

By using Revit software in conjunction with the Dynamo platform, embedded parts are automatically inserted into the 3D model through graphical and data calculations. This includes creating families of embedded parts, performing collision checks, and writing information, thus achieving automatic modeling of embedded parts.

Benefits of technology

It improves modeling efficiency and accuracy, reduces human error, and realizes the systematization and standardization of embedded part information management, supporting subsequent design and construction applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116305433B_ABST
    Figure CN116305433B_ABST
Patent Text Reader

Abstract

The application provides a kind of pre-embedded part automatic modeling method, storage medium and equipment;First, create the three-dimensional model of building construction in Revit, create the pre-embedded part family and type based on face simultaneously and load into model, organize the coding, specification, model, coordinate and rotation angle of pre-embedded part to form pre-embedded part data table;Then use Dynamo to determine the structure surface where the pre-embedded part is located and the direction of the pre-embedded part according to the coordinates of the pre-embedded part through collision;According to the type, coordinates and structure surface of the pre-embedded part, insert the corresponding family type into the model, and rotate the pre-embedded part according to the rotation angle;Finally, write various information of the pre-embedded part into the model parameters to complete the automatic modeling of the pre-embedded part.The application can accurately and automatically insert the corresponding pre-embedded part type into the three-dimensional model through graphic and data calculation based on the above scheme, improving the modeling efficiency and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of BIM model reconstruction technology, and in particular to an automatic modeling method, storage medium and device for embedded parts. Background Technology

[0002] BIM (Building Information Modeling) is a technology that facilitates digital tools and processes, enabling computers to directly process documents about a building and its performance, planning, construction, and subsequent operation.

[0003] Creating comprehensive 3D project models using BIM technology can greatly assist in the design, construction, and operation and maintenance throughout the entire project lifecycle. The level of detail in the model significantly impacts the depth and breadth of BIM technology's application in a project, thus determining its overall value. However, in China, model sharing and transfer between design, construction, and operation and maintenance departments are not yet fully realized, often requiring remodeling or reverse engineering to meet the application needs of various organizations.

[0004] Existing BIM models can quickly model the civil engineering structural parts (walls, beams, columns, etc.) due to their relatively small quantity. However, for the vast number of embedded parts attached to the structure, manual modeling is extremely slow and difficult to guarantee accuracy, thus further limiting the depth of BIM technology application. Currently, software vendors provide interfaces for secondary development and visual programming to assist in rapid or automatic modeling, such as Dynamo, the tool used in this invention, which is a visual programming plugin provided by Autodesk for Revit. However, because different engineering projects have different characteristics and requirements, it is necessary to develop plugins specifically tailored to business needs.

[0005] The automatic modeling method proposed in this application is based on the background of complex and variable structures, numerous embedded parts with various specifications and models, the need for detailed design of drawings, and a large amount of data for material calculation and semi-finished product processing management. Summary of the Invention

[0006] This invention addresses the shortcomings of existing technologies by providing an automatic modeling method, storage medium, and device for embedded parts. This method enables the accurate and automatic insertion of corresponding embedded part types into 3D models through graphical and data calculations, improving modeling efficiency and accuracy. It greatly facilitates the use of refined models in subsequent detailed design, material calculation, semi-finished product processing, and collision detection. This method is applicable to the automatic modeling of various embedded parts, sleeves, openings, and other components based on surfaces or main structural members such as walls and floors.

[0007] To achieve the above objectives, the present invention adopts the following technical solution:

[0008] An automatic modeling method for embedded parts includes the following steps:

[0009] S1: Based on the design drawings of the building, create the coordinate system of the building in Revit software, and then build a three-dimensional structural model of the building.

[0010] S2: Based on the design drawings of the embedded parts, create the coordinate system of the embedded parts in Revit software, and then create the embedded part model according to the placement rules of the embedded parts inside the building structure to form the embedded part family;

[0011] S3: Compile the data in the design drawings of embedded parts and store them in an Excel spreadsheet;

[0012] S4: In Revit software, open the Dynamo platform, use the ImportExcel node, and import the Excel sheet generated in step S3 by specifying the file path and worksheet name;

[0013] S5: Connect the data from the Excel sheet in step S4 to the List.DropItems node in Revit software, remove the header of the Excel sheet to form the embedded part information data Data; then use the List.GetItemAtIndex node to extract the data with Index 2, 3, and 4 from the embedded part information data Data, which are the spatial coordinates of the embedded part.

[0014] S6: Input the coordinate values ​​extracted in step S5 into the Point.ByCoordinates node in Revit software to generate the center spatial point Point of the embedded part. Using this spatial point as the center of the sphere and the structural modeling deviation as the radius, use the Sphere.ByCenterPointRadius node to create Spheres.

[0015] S7: Use the SelectModelElements or AllElementsOfCategory method in Revit software to obtain the wall, floor, structural frame, structural column, column and stair models of the 3D structural model in step S1. Then use the Element.Face node to obtain the structural surface where each model is located and form a FaceList.

[0016] S8: Input the Spheres generated in step S6 and the Facelist generated in step S7 into the Geometry.DoesIntersect node in Revit software, perform a loop to check for collisions, and then filter the structural surfaces that collide with each sphere according to the collision results, that is, filter the main structural surfaces HostFace of each embedded part.

[0017] S9: Input the embedded part information data Data from step S5, use the List.GetItemAtIndex node to get the data with Index 1, which is the specification model of the embedded part, denoted as FamilyType. Input it into the FamilyType.Byname node to get its family type with the same name in the embedded part family;

[0018] S10: Input the embedded part center point Point generated in step S6, the main structural surface HostFace where the embedded part is located output in step S8, and the embedded part models in each embedded part family type output in step S9 into the input segment of the FamilyInstance.ByFaceAndPoint node in Revit software to generate the corresponding embedded part model for each main structural surface HostFace. This completes the automatic insertion of embedded part family instances, that is, the automatic insertion of embedded parts.

[0019] S11: Input the embedded part information data Data from step S5, use the List.GetItemAtIndex node to get the data with Index 5, which is the rotation angle of the embedded part, and use the SetRotation node to rotate each embedded part to the corresponding angle;

[0020] S12: Input the embedded part information data Data from step S5. Use the List.GetItemAtIndex node to get the data with index 0, 1, 2, 3, 4, 6, which are the name, specifications, X-axis, Y-axis, Z-axis coordinates and rotation angle of the embedded part. Then use the Element.SetParameterByName node to write each piece of information into the corresponding parameters of the embedded part, thus completing the writing of the embedded part information.

[0021] To optimize the above technical solution, the specific measures also include:

[0022] Furthermore, in step S2, the specific scheme for creating a family of embedded parts according to the placement rules of embedded parts within the building structure is as follows:

[0023] Using Revit software, families of embedded parts are created. Each embedded part in a family is a model created based on the structural surfaces of the building or structure, making it suitable for placing embedded parts on the structural surfaces. The outer surfaces of all embedded parts must be flush with the structural surfaces, and the anchor bars must be perpendicular to the outer surfaces of the embedded parts and face towards the interior of the building or structure. Then, corresponding parameters are designed for each embedded part, including its name, specifications, X-axis, Y-axis, Z-axis, and rotation angle. Simultaneously, based on the name and specifications, the embedded parts in the families are categorized, grouping embedded parts with the same name and specifications into a single family type.

[0024] Furthermore, in Revit software, the coordinate system of the 3D structural model is consistent with the coordinate system of the embedded parts, that is, a consistent origin and coordinate axis direction are specified.

[0025] Further, in step S3, the data in the design drawings of the embedded parts, including the name of the embedded parts, the specifications and models of the embedded parts, the X-axis, Y-axis and Z-axis of the embedded parts, and the rotation angle of the embedded parts, are stored in an Excel spreadsheet.

[0026] A computer-readable storage medium storing a computer program that causes a computer to perform the automatic modeling method for embedded parts as described in any of the preceding claims.

[0027] An electronic device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the automatic modeling method for embedded parts as described in any of the preceding claims.

[0028] The beneficial effects of this invention are as follows: Compared with the traditional manual placement of embedded parts, the technical solution of this application eliminates the process of manually calibrating the coordinate matching of embedded parts and manually transcribing the embedded part engineering information on the design drawings. It uses an automated process, reducing labor costs, minimizing errors caused by human factors, and saving time and effort. Secondly, the direct conversion and storage of embedded part drawing information into model information makes the management of embedded part information more systematic, standardized, and regulated. Finally, a more accurate model provides a good foundation for subsequent BIM model utilization, which is conducive to improving the utilization level of the BIM model and its ability to provide information for technical decision-making, solving a series of problems such as numerous position and information errors and data loss in modeling. Attached Figure Description

[0029] Figure 1 This is a schematic diagram of a three-dimensional model of a building created by this invention.

[0030] Figure 2This is a schematic diagram of the family and types of embedded parts created by this invention.

[0031] Figure 3 This is a schematic representation of the embedded part data created by the present invention.

[0032] Figure 4 This is a schematic diagram illustrating the automatic modeling of embedded parts completed by the present invention. Detailed Implementation

[0033] The present invention will now be described in detail with reference to the accompanying drawings.

[0034] An automatic modeling method for embedded parts includes the following steps:

[0035] S1: Based on the building's design drawings, create the building's coordinate system in Revit software, and then build a 3D structural model of the building (see...). Figure 1 );

[0036] S2: Based on the design drawings of the embedded parts, create a coordinate system for the embedded parts in Revit software. Then, according to the placement rules of the embedded parts inside the building structure, create an embedded part model to form an embedded part family (see...). Figure 2 );

[0037] S3: Compile the data from the design drawings of embedded parts and store it in an Excel spreadsheet (see...). Figure 3 );

[0038] S4: In Revit software, open the Dynamo platform, use the ImportExcel node, and import the Excel sheet generated in step S3 by specifying the file path and worksheet name;

[0039] S5: Connect the data from the Excel sheet in step S4 to the List.DropItems node in Revit software, remove the header of the Excel sheet to form the embedded part information data Data; then use the List.GetItemAtIndex node to extract the data with Index 2, 3, and 4 from the embedded part information data Data, which are the spatial coordinates of the embedded part.

[0040] S6: Input the coordinate values ​​extracted in step S5 into the Point.ByCoordinates node in Revit software to generate the center spatial point Point of the embedded part. Using this spatial point as the center of the sphere and the structural modeling deviation as the radius, use the Sphere.ByCenterPointRadius node to create Spheres.

[0041] S7: Use the SelectModelElements or AllElementsOfCategory method in Revit software to obtain the wall, floor, structural frame, structural column, column and stair models of the 3D structural model in step S1. Then use the Element.Face node to obtain the structural surface where each model is located and form a FaceList.

[0042] S8: Input the Spheres generated in step S6 and the Facelist generated in step S7 into the Geometry.DoesIntersect node in Revit software, perform a loop to check for collisions, and then filter the structural surfaces that collide with each sphere according to the collision results, that is, filter the main structural surfaces HostFace of each embedded part.

[0043] S9: Input the embedded part information data Data from step S5, use the List.GetItemAtIndex node to get the data with Index 1, which is the specification model of the embedded part, denoted as FamilyType. Input it into the FamilyType.Byname node to get its family type with the same name in the embedded part family;

[0044] S10: Input the embedded part center point Point generated in step S6, the main structural surface HostFace where the embedded part is located output in step S8, and the embedded part models in each embedded part family type output in step S9 into the input segment of the FamilyInstance.ByFaceAndPoint node in Revit software to generate the corresponding embedded part model for each main structural surface HostFace. This completes the automatic insertion of embedded part family instances, that is, the automatic insertion of embedded parts.

[0045] S11: Input the embedded part information data Data from step S5, use the List.GetItemAtIndex node to get the data with Index 5, which is the rotation angle of the embedded part, and use the SetRotation node to rotate each embedded part to the corresponding angle;

[0046] S12: Input the embedded part information data Data from step S5. Use the List.GetItemAtIndex node to retrieve the data with indices 0, 1, 2, 3, 4, and 6, which represent the name, specifications, X-axis, Y-axis, Z-axis coordinates, and rotation angle of the embedded part. Then, use the Element.SetParameterByName node to write each piece of information into the corresponding parameters of the embedded part, completing the information writing for the embedded part (see [link]). Figure 4 ).

[0047] Furthermore, in step S2, the specific scheme for creating a family of embedded parts according to the placement rules of embedded parts within the building structure is as follows:

[0048] See Figure 2 Using Revit software, embedded part families are created. Each embedded part in the family is a model created based on the structural surface of the building or structure, making it suitable for placing embedded parts on the structural surface. The outer surface of each embedded part must be flush with the structural surface, and the anchor bars of each embedded part must be perpendicular to the outer surface of the embedded part and face the interior of the building or structure. Then, corresponding parameters are designed for each embedded part, including the name of the embedded part, the specifications of the embedded part, the X-axis, Y-axis, and Z-axis of the embedded part, and the rotation angle of the embedded part. At the same time, the embedded parts in the family are classified according to their names and specifications, and embedded parts with the same name and specifications are grouped into one embedded part family type.

[0049] Furthermore, in Revit software, the coordinate system of the 3D structural model is consistent with the coordinate system of the embedded parts, that is, a consistent origin and coordinate axis direction are specified.

[0050] Furthermore, in step S3, the data in the design drawings of the embedded parts, including the name of the embedded parts, the specifications and models of the embedded parts, the X-axis, Y-axis and Z-axis of the embedded parts, and the rotation angle of the embedded parts, are stored in an Excel spreadsheet.

[0051] A computer-readable storage medium storing a computer program, characterized in that the computer program causes a computer to execute the automatic modeling method for embedded parts as described in any of the preceding claims.

[0052] An electronic device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the automatic modeling method for embedded parts as described in any of the preceding claims.

[0053] Furthermore, to further clarify the concept of embedded component families, for example, a "column" is a family; there are many types of columns, such as 600x800 and 600x600, which are respectively called "family types". Then, a building may have many columns of 600x800 and 600x600 specifications, each of which is called a "family instance".

[0054] It should be noted that the terms such as "upper", "lower", "left", "right", "front", and "back" used in the invention are only for clarity of description and are not intended to limit the scope of the invention. Changes or adjustments to their relative relationships, without substantially altering the technical content, should also be considered within the scope of the invention.

[0055] The above are merely preferred embodiments of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should be considered within the scope of protection of the present invention.

Claims

1. An automatic modeling method for embedded parts, characterized in that, Includes the following steps: S1: Based on the design drawings of the building, create the coordinate system of the building in Revit software, and then build a three-dimensional structural model of the building. S2: Based on the design drawings of the embedded parts, create the coordinate system of the embedded parts in Revit software, and then create the embedded part model according to the placement rules of the embedded parts inside the building structure to form the embedded part family; S3: Compile the data in the design drawings of embedded parts and store them in an Excel spreadsheet; S4: In Revit software, open the Dynamo platform, use the ImportExcel node, and import the Excel sheet generated in step S3 by specifying the file path and worksheet name; S5: Connect the data from the Excel sheet in step S4 to the List.DropItems node in Revit software, remove the header of the Excel sheet to form the embedded part information data Data; then use the List.GetItemAtIndex node to extract the data with Index 2, 3, and 4 from the embedded part information data Data, which are the spatial coordinates of the embedded part. S6: Input the coordinate values ​​extracted in step S5 into the Point.ByCoordinates node in Revit software to generate the center spatial point Point of the embedded part. Using this spatial point as the center of the sphere and the structural modeling deviation as the radius, use the Sphere.ByCenterPointRadius node to create Spheres. S7: Use the Select Model Elements or All Elements Of Category method in Revit software to obtain the wall, floor, structural frame, structural column, column and stair models of the 3D structural model in step S1. Then use the Element.Face node to obtain the structural surface where each model is located and form a FaceList. S8: Input the Spheres generated in step S6 and the Facelist generated in step S7 into the Geometry.DoesIntersect node in Revit software, perform a loop to check for collisions, and then filter the structural surfaces that collide with each sphere according to the collision results, that is, filter the main structural surfaces HostFace of each embedded part. S9: Input the embedded part information data Data from step S5, use the List.GetItemAtIndex node to get the data with Index 1, which is the specification model of the embedded part, denoted as FamilyType. Input it into the FamilyType.Byname node to get its family type with the same name in the embedded part family; S10: Input the embedded part center point Point generated in step S6, the main structural surface HostFace where the embedded part is located output in step S8, and the embedded part models in each embedded part family type output in step S9 into the FamilyInstance.ByFaceAndPoint node input segment in Revit software to generate the corresponding embedded part model for each main structural surface HostFace. This completes the automatic insertion of embedded part family instances, that is, the automatic insertion of embedded parts. S11: Input the embedded part information data Data from step S5, use the List.GetItemAtIndex node to get the data with Index 5, which is the rotation angle of the embedded part, and use the SetRotation node to rotate each embedded part to the corresponding angle; S12: Input the embedded part information data Data from step S5. Use the List.GetItemAtIndex node to get the data with index 0, 1, 2, 3, 4, 6, which are the name, specifications, X-axis, Y-axis, Z-axis coordinates and rotation angle of the embedded part. Then use the Element.SetParameterByName node to write each piece of information into the corresponding parameters of the embedded part, thus completing the writing of the embedded part information.

2. The automatic modeling method for embedded parts according to claim 1, characterized in that, In step S2, the specific scheme for creating a family of embedded parts according to the placement rules of embedded parts inside the building structure is as follows: Using Revit software, families of embedded parts are created. Each embedded part in a family is a model created based on the structural surfaces of the building or structure, making it suitable for placing embedded parts on the structural surfaces. The outer surfaces of all embedded parts must be flush with the structural surfaces, and the anchor bars must be perpendicular to the outer surfaces of the embedded parts and face towards the interior of the building or structure. Then, corresponding parameters are designed for each embedded part, including its name, specifications, X-axis, Y-axis, Z-axis, and rotation angle. Simultaneously, based on the name and specifications, the embedded parts in the families are categorized, grouping embedded parts with the same name and specifications into a single family type.

3. The automatic modeling method for embedded parts according to claim 1, characterized in that, In Revit software, the coordinate system of the 3D structural model is consistent with the coordinate system of the embedded parts, that is, a consistent origin and coordinate axis direction are specified.

4. The automatic modeling method for embedded parts according to claim 1, characterized in that, In step S3, the data in the design drawings of the embedded parts are statistically analyzed, including the name of the embedded parts, the specifications and models of the embedded parts, the X-axis, Y-axis and Z-axis of the embedded parts, and the rotation angle of the embedded parts, and stored in an Excel spreadsheet.

5. A computer-readable storage medium storing a computer program, characterized in that, The computer program causes the computer to execute the automatic modeling method for embedded parts as described in any one of claims 1-4.

6. An electronic device, characterized in that, include: The memory, the processor, and the computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the automatic modeling method for embedded parts as described in any one of claims 1-4.