Method, device, equipment and medium for generating dam BIM model

By constructing a slicing surface and performing multiple batch segmentation of the dam BIM model, generating multiple dam segment models and setting relevant parameters, the problem of difficulty in slicing the dam BIM model in traditional modeling methods is solved, and efficient , accurate segmentation process.

CN119026224BActive Publication Date: 2025-02-25THREE GORGES GROUP IND DEVELOPMENT (BEIJING) CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411494141.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-02-25
Estimated Expiration
2044-10-24

AI Technical Summary

Technical Problem

The traditional modeling method of concrete structures in water conservancy engineering cannot realize the automatic segmentation of the dam BIM model, resulting in repetitive work, huge workload and low manual operation efficiency.

Method used

By receiving the slicing command, multiple slicing faces are constructed, the dam BIM model is divided into multiple batches, multiple dam segment models are generated, and the number of each dam segment model, the number of construction units and the start and end elevation are set.

Benefits of technology

The automatic segmentation of the dam BIM model is realized, reducing manual operations, improving segmentation efficiency and accuracy, and adapting to different construction needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119026224B_ABST
    Figure CN119026224B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, equipment and medium for generating a dam BIM model, which relates to the technical field of dam BIM models, and includes: receiving a segmentation command for the dam BIM model, constructing N first segmentation planes based on the segmentation command, segmenting the dam BIM model in multiple batches to obtain N+1 dam section models; for the N+1 dam section models, setting a dam section number, the number of construction unit models, and the start and end elevations of the multiple construction unit models corresponding to each dam section model; for the N+1 dam section models, segmenting the target dam section model according to the dam section number and the number of construction unit models corresponding to the target dam section model to be segmented as needed, and the start and end elevations of the multiple construction unit models corresponding to the target dam section model, to obtain the segmented dam BIM model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of dam BIM models, and in particular to a method, device, equipment and medium for generating a dam BIM model. Background Art

[0002] In recent years, in the field of BIM (Building Information Modeling), the traditional modeling method of concrete structures of water conservancy projects is generally to assemble components one by one to form a complete building. This traditional modeling method cannot realize the automatic segmentation of the dam BIM model, resulting in duplication of work, huge workload and low efficiency of manual operation. Summary of the invention

[0003] In view of this, an embodiment of the present application provides a method for generating a dam BIM model, an electronic device, a computer-readable storage medium and a product, so as to overcome the above-mentioned problems or at least partially solve the above-mentioned problems.

[0004] A first aspect of an embodiment of the present application provides a method for generating a dam BIM model, the method comprising:

[0005] Receive a split command for the dam BIM model;

[0006] Based on the segmentation command, construct N first segmentation planes, where N is an integer and N≥1;

[0007] Based on the N first segmentation planes, the dam BIM model is segmented in multiple batches to obtain N+1 dam section models;

[0008] For the N+1 dam section models, a dam section number corresponding to each dam section model, the number of construction unit models corresponding to each dam section model, and the start and end elevations of multiple construction unit models corresponding to each dam section model are set;

[0009] For the N+1 dam section models, the target dam section models to be segmented are segmented according to the dam section numbers and the number of construction unit models corresponding to the target dam section models to be segmented, and the start and end elevations of the multiple construction unit models corresponding to the target dam section models to be segmented, to obtain the segmented dam BIM models;

[0010] The dam BIM model is segmented in multiple batches based on the N first segmentation planes to obtain N+1 dam section models, including:

[0011] Constructing a first number series for the N first segmentation planes, calling the dam BIM model N times, and segmenting the dam BIM model each time it is called through the N first segmentation planes in the first number series, to obtain N first arrays, wherein the first array includes a first entity and a second entity, the first entity is a first part of the dam BIM model segmented through a first segmentation plane, and the second entity is the remaining part of the dam BIM model except the first part;

[0012] A second number series is formed according to the N first arrays, and the first entity and the 2Nth entity in the second number series are taken out, wherein the second number series contains 2N entities, the first entity represents the dam section model at the head end of the dam BIM model, and the 2Nth entity represents the dam section model at the end of the dam BIM model;

[0013] From the second number sequence, a third number sequence is obtained by starting with 2, a number of N-1, and a step of 2, wherein the third number sequence includes N-1 entities;

[0014] Deleting the first first dividing plane in the first number sequence to obtain a fourth number sequence, wherein the fourth number sequence includes N-1 first dividing planes;

[0015] Using the N-1 first dividing planes of the fourth number series, the N-1 entities in the third number series are divided respectively to obtain a divided third number series, wherein the third number series includes N-1 dam section models;

[0016] The segmented third number series is added to the dam section model at the head end and the dam section model at the tail end to obtain the N+1 dam section models.

[0017] Optionally, constructing N first segmentation planes based on the segmentation command includes:

[0018] According to the project requirement information, determine a segmentation method corresponding to the dam BIM model, wherein the segmentation method represents the type of the first segmentation surface, the number of the first segmentation surfaces, and the start and end elevations of the first segmentation surfaces, and the types of the first segmentation surfaces include: transverse surface, longitudinal surface, curved surface, and spatial surface;

[0019] N first cutting surfaces are constructed according to the type of the first cutting surfaces, the number of the first cutting surfaces, and the start and end elevations of the first cutting surfaces, wherein the boundaries of the N first cutting surfaces exceed the scope of the dam BIM model, and the N first cutting surfaces have no intersection within the scope of the dam BIM model.

[0020] Optionally, for the N+1 dam section models, setting the dam section number corresponding to each dam section model, the number of construction unit models corresponding to each dam section model, and the start and end elevations of the multiple construction unit models corresponding to each dam section model includes:

[0021] Build the table;

[0022] According to the number of the N+1 dam section models, a dam section number corresponding to each dam section model is set, and the first row of the table is set in sequence to the dam section number corresponding to each dam section model;

[0023] According to the starting and ending elevations of the N+1 dam section models, the number of construction unit models corresponding to each dam section model is set, and according to the number of construction unit models, the unit number of each construction unit model is set, and each column of the table is set in sequence to the unit numbers of the multiple construction unit models corresponding to each dam section model;

[0024] For the N+1 dam section models, the start and end elevations of a plurality of construction unit models are set according to the start and end elevations of the N+1 dam section models and the number of construction unit models of the N+1 dam section models.

[0025] Optionally, the dam section number and the number of construction unit models corresponding to the target dam section model to be segmented as needed, and the start and end elevations of multiple construction unit models corresponding to the target dam section model to be segmented, segmenting the target dam section model to be segmented to obtain a segmented dam BIM model, including:

[0026] Selecting the target dam section model, and based on the target dam section model, obtaining a first dam section number corresponding to the target dam section model in the table;

[0027] Based on the first dam section number, determine the number of multiple target construction unit models associated with the first dam section number in the table, and construct multiple second segmentation planes, wherein the multiple second segmentation planes correspond one-to-one to the start and end elevations of the multiple target construction unit models;

[0028] According to the second segmentation plane, multiple target construction unit models of the target dam section model corresponding to the second segmentation plane are segmented to obtain a segmented dam BIM model.

[0029] Optionally, the method further comprises:

[0030] When the start and end elevations of multiple target construction unit models of multiple target dam section models are the same, the multiple target construction unit models with the same start and end elevations are segmented through the same second segmentation plane.

[0031] Optionally, the method further comprises:

[0032] The target format family path, output family name, type and material parameters are configured for the plurality of construction unit models after segmentation.

[0033] A second aspect of an embodiment of the present application provides a device for generating a dam BIM model, the device comprising:

[0034] A receiving module, used for receiving a segmentation command for a dam BIM model;

[0035] A first segmentation facet construction module, used to construct N first segmentation faces based on the segmentation command, where N is an integer and N≥1;

[0036] A first segmentation module is used to segment the dam BIM model in multiple batches based on the N first segmentation planes to obtain N+1 dam section models;

[0037] A setting module is used to set, for the N+1 dam section models, a dam section number corresponding to each dam section model, the number of construction unit models corresponding to each dam section model, and the start and end elevations of multiple construction unit models corresponding to each dam section model;

[0038] The second segmentation module is used to segment the target dam section model to be segmented according to the dam section number and the number of construction unit models corresponding to the target dam section model to be segmented, and the start and end elevations of the multiple construction unit models corresponding to the target dam section model to be segmented, so as to obtain the segmented dam BIM model;

[0039] The first segmentation module includes:

[0040] The first segmentation first subunit is used to construct a first number series for the N first segmentation planes, call the dam BIM model N times, and segment the dam BIM model for each call through the N first segmentation planes in the first number series, to obtain N first arrays, wherein the first array includes a first entity and a second entity, the first entity is a first part of the dam BIM model segmented through a first segmentation plane, and the second entity is the remaining part of the dam BIM model except the first part;

[0041] A first operating unit is used to form a second number series according to the N first arrays, and take out a first entity and a 2Nth entity in the second number series, wherein the second number series contains 2N entities, the first entity represents a dam section model at the head end of the dam BIM model, and the 2Nth entity represents a dam section model at the end of the dam BIM model;

[0042] A second operating unit is used to obtain a third number sequence from the second number sequence by using a starting order of 2, a quantity of N-1, and a step size of 2, wherein the third number sequence includes N-1 entities;

[0043] A third operation unit is used to delete the first first segmentation plane in the first number sequence to obtain a fourth number sequence, wherein the fourth number sequence includes N-1 first segmentation planes;

[0044] The first segmentation second subunit is used to segment the N-1 entities in the third number series respectively through the N-1 first segmentation planes of the fourth number series to obtain a segmented third number series, wherein the third number series includes N-1 dam section models;

[0045] The fourth operation unit is used to add the segmented third number series to the dam section model at the head end and the dam section model at the tail end to obtain the N+1 dam section models.

[0046] Optionally, the first segmentation facet construction module includes:

[0047] A segmentation method determination module is used to determine a segmentation method corresponding to the dam BIM model according to project requirement information, wherein the segmentation method represents the type of the first segmentation surface, the number of the first segmentation surfaces, and the start and end elevations of the first segmentation surfaces, and the types of the first segmentation surfaces include: transverse surface, longitudinal surface, curved surface, and spatial surface;

[0048] The first cutting surface construction unit is used to construct N first cutting surfaces according to the type of the first cutting surface, the number of the first cutting surfaces, and the start and end elevations of the first cutting surfaces, wherein the boundaries of the N first cutting surfaces exceed the scope of the dam BIM model, and the N first cutting surfaces have no intersection within the scope of the dam BIM model.

[0049] Optionally, the setting module includes:

[0050] Construction unit, used to construct tables;

[0051] A first setting unit is used to set the dam section number corresponding to each dam section model according to the number of the N+1 dam section models, and set the first row of the table to the dam section number corresponding to each dam section model in sequence;

[0052] A second setting unit is used to set the number of construction unit models corresponding to each dam section model according to the start and end elevations of the N+1 dam section models, set the unit number of each construction unit model according to the number of construction unit models, and set each column of the table to the unit number of multiple construction unit models corresponding to each dam section model in sequence;

[0053] The third setting unit is used to set the start and end elevations of multiple construction unit models for the N+1 dam section models according to the start and end elevations of the N+1 dam section models and the number of construction unit models of the N+1 dam section models.

[0054] Optionally, the second segmentation module includes:

[0055] a target dam section model selection unit, configured to select the target dam section model, and based on the target dam section model, obtain a first dam section number corresponding to the target dam section model in the table;

[0056] A second segmentation surface construction unit is used to determine the number of multiple target construction unit models associated with the first dam section number in the table based on the first dam section number, and to construct multiple second segmentation surfaces, wherein the multiple second segmentation surfaces correspond to the start and end elevations of the multiple target construction unit models one by one;

[0057] The second segmentation unit is used to segment the multiple target construction unit models of the target dam section model corresponding to the second segmentation plane according to the second segmentation plane to obtain the segmented dam BIM model.

[0058] Optionally, the device further comprises:

[0059] The parallel segmentation module is used to segment the multiple target construction unit models with the same start and end elevations through the same second segmentation plane when the multiple target construction unit models of the multiple target dam section models have the same start and end elevations.

[0060] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method for generating a dam BIM model as described in the first aspect.

[0061] According to a fourth aspect of an embodiment of the present application, a computer program product is provided, including a computer program, which, when executed by a processor, implements the method for generating a dam BIM model as described in the first aspect.

[0062] According to a fifth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the method for generating a dam BIM model as described in the first aspect is implemented.

[0063] Beneficial effects of this application:

[0064] The embodiment of the present application provides a method, device, equipment and medium for generating a dam BIM model. In the technical solution proposed in the present application, a first segmentation plane is first constructed based on the segmentation command. This dynamically generated segmentation plane can ensure that the segmentation scheme is consistent with the structure of the dam and the segmentation requirements required by the segmentation command, which avoids the limitations brought by the static preset segmentation plane and makes the segmentation more accurate. Then, the dam BIM model is segmented in multiple batches according to the first segmentation plane to obtain multiple dam section models. This multi-batch segmentation method can show a detailed dam section model structure. Then, by setting the dam section number, the number of construction unit models and the start and end elevations of the construction unit models of each dam section model, the information of each dam section is made clearer, which is convenient for management and construction scheduling, thereby improving the controllability of the construction process. When it is necessary to segment the target dam section model, the target dam section model can be directly and quickly determined according to the dam section number of the target dam section model, and the segmentation scheme for the target dam section model can be determined according to the number of construction unit models pre-set for the target dam section model and the start and end elevations of each construction unit model corresponding to the target dam section model. The target dam section model can be directly segmented to finally obtain the segmented dam BIM model. This technical means provides targeted segmentation capabilities. At the same time, when the user's segmentation requirements change, this flexibility enables the optimized dam BIM model to better adapt to changes.

[0065] Specifically, in the step of dividing and obtaining multiple (N+1) dam section models, the first dividing surface is managed in the form of a series, and the dam BIM model is called multiple times for division to generate multiple entities, and each entity obtained after calling the dam BIM model is managed in the form of an array, including the beginning and end of the dam section model. Then, entities and dividing surfaces are extracted and deleted through specific rules, the generation process of each dam section model is refined, and finally N+1 dam section models are integrated, which are actually all the dam section models contained in the dam BIM model.

[0066] Through such technical means, the segmentation process of the dam section can be systematically managed, so that the generated dam section model has high accuracy and practicality. Moreover, multi-batch segmentation and dynamic adjustment ensure that the structures of the multiple dam section models obtained are consistent with the segmentation requirements of the user, avoiding the errors that may be caused by manual segmentation. At the same time, the use of series to manage the intermediate process of dam section segmentation not only simplifies the operation steps, but also avoids the situation of combination failure, making the segmentation workflow of the entire dam section model more efficient. More importantly, this method allows users to flexibly respond to different construction needs, adjust the segmentation plan according to actual conditions, improve the segmentation efficiency of the dam BIM model, and then enhance the support and decision-making capabilities for engineering management, ensuring that the final generated segmented dam BIM model achieves the best effect in practicality and structural integrity. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application.

[0068] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the description of the present application 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 any creative labor.

[0069] Figure 1 A schematic diagram of a flow chart of a method for generating a dam BIM model provided in an embodiment of the present application;

[0070] Figure 2 It is a schematic diagram of a BIM model of a hyperbolic arch dam provided in one embodiment of the present application;

[0071] Figure 3 is a schematic diagram of multiple first cutting planes provided in an embodiment of the present application;

[0072] Figure 4 It is a schematic diagram of obtaining N+1 dam section models after segmenting a dam BIM model provided by an embodiment of the present application;

[0073] Figure 5 It is a schematic diagram of a dam BIM model divided into multiple construction unit models provided in one embodiment of the present application;

[0074] Figure 6 It is a schematic diagram of the framework of a device for generating a dam BIM model provided in one embodiment of the present application. DETAILED DESCRIPTION

[0075] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.

[0076] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are 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 are within the scope of protection of this application.

[0077] Figure 1 FIG. 1 is a flow chart of a method for generating a dam BIM model provided in an embodiment of the present application, such as Figure 1 As shown, an embodiment of the present application provides a method for generating a dam BIM model, the method comprising:

[0078] Step S101, receiving a segmentation command for a dam BIM model;

[0079] Step S102: constructing N first segmentation planes based on the segmentation command, where N is an integer and N≥1;

[0080] Step S103, based on the N first segmentation planes, segmenting the dam BIM model in multiple batches to obtain N+1 dam section models;

[0081] Step S104, for the N+1 dam section models, setting the dam section number corresponding to each dam section model, the number of construction unit models corresponding to each dam section model, and the start and end elevations of the multiple construction unit models corresponding to each dam section model;

[0082] Step S105, for the N+1 dam section models, the target dam section model to be segmented is segmented according to the dam section number and the number of construction unit models corresponding to the target dam section model to be segmented, and the start and end elevations of the multiple construction unit models corresponding to the target dam section model to be segmented, to obtain a segmented dam BIM model.

[0083] The step S103 includes:

[0084] Step S103-1, constructing a first sequence for the N first segmentation planes, calling the dam BIM model N times, and segmenting the dam BIM model each time it is called through the N first segmentation planes in the first sequence, to obtain N first arrays, wherein the first array includes a first entity and a second entity, the first entity is a first part of the dam BIM model segmented through a first segmentation plane, and the second entity is the remaining part of the dam BIM model except the first part;

[0085] Step S103-2, forming a second number series according to the N first arrays, taking out the first entity and the 2Nth entity in the second number series, wherein the second number series contains 2N entities, the first entity represents the dam section model at the head end of the dam BIM model, and the 2Nth entity represents the dam section model at the end of the dam BIM model;

[0086] Step S103-3, obtaining a third number sequence from the second number sequence by using a starting order of 2, a number of N-1, and a step size of 2, wherein the third number sequence includes N-1 entities;

[0087] Step S103-4, deleting the first first segmentation plane in the first number sequence to obtain a fourth number sequence, wherein the fourth number sequence includes N-1 first segmentation planes;

[0088] Step S103-5, dividing the N-1 entities in the third number series respectively through the N-1 first dividing planes of the fourth number series to obtain a divided third number series, wherein the third number series includes N-1 dam section models;

[0089] Step S103-6: adding the segmented third number series to the dam section model at the head end and the dam section model at the tail end to obtain the N+1 dam section models.

[0090] Figure 2 : is a schematic diagram of a BIM model of a hyperbolic arch dam provided in an embodiment of the present application, such as Figure 2 shown.

[0091] First of all, in the relevant technology, CATIA, Microstation and Autodesk Revit are commonly used BIM modeling software for water conservancy projects. To solve the problem of segmenting the overall model, secondary development is required. Moreover, CATIA and Microstation are suitable for large-scale design institutes and are expensive to use. Based on this, this application takes into account the low cost of using Autodesk Revit, its high popularity, and the advantages of the visual programming plug-in Dynamo, which can segment the overall model and automatically output the segmented unit model conditions to meet the timeliness of the application. The embodiment of this application utilizes Autodesk Revit and the visual programming plug-in Dynamo to complete the modeling of the dam and the segmentation process of the dam model.

[0092] Taking the dam as a hyperbolic arch dam as an example, in step S101, the BIM model of the dam that needs to be segmented, which is pre-built according to the project requirement information of the hyperbolic arch dam, is obtained from Autodesk Revit. Autodesk Revit is a professional BIM engineer that provides powerful modeling, design and documentation tools to achieve comprehensive building information modeling and project collaboration. Then, through the "Select Model Element" node of the visual programming tool Dynamo (Select ModelElement is a command or function in Autodesk Revit), Figure 2 Taking the hyperbolic arch dam BIM model as an example, the splitting command for the dam BIM model issued by the requesting end is received, and the dam BIM model to be split is obtained, and the dam BIM model is converted into an entity through the "Element.Solids" node to obtain the entity dam BIM model. Among them, converting the entity is a command, which is mainly used to make a copy of the sketch entity or its size in the same plane or another coordinate.

[0093] Further, in step S102, based on the segmentation command for the dam BIM model, N first segmentation planes need to be constructed, where N is the number of first segmentation planes, N is an integer, and N must be greater than or equal to 1. The N first segmentation planes are: multiple non-intersecting planes that can complete the division of the dam BIM model into multiple parts along a fixed direction (for example, a direction parallel to the axis of the dam BIM model), the number of first segmentation planes is determined according to the number of multiple parts that the dam BIM model needs to be segmented, and the coordinates of the first segmentation planes are determined according to the position that needs to be segmented in the dam BIM model. In the process of constructing N first cutting surfaces, it is necessary to determine the cutting scheme in advance, for example, cutting from left to right, cutting from top to bottom, or cutting along a specific angle. When it is necessary to cut from left to right, the N first cutting surfaces are all vertical surfaces. When it is necessary to cut from top to bottom, the N first cutting surfaces are all horizontal surfaces. When it is necessary to consider the design terrain, the shape of the dam is unconventional (such as a curved surface), etc., it can be cut along a specific angle, and the N first cutting surfaces can be set as curved surfaces. When it is necessary to consider the spatial distribution of the dam and the organization of different parts (such as materials, density, etc.), it can also be cut along a specific angle, and the N first cutting surfaces can be set as curved space surfaces. In addition, the coordinates of the N first cutting surfaces (including start and end elevations, angles, sizes, etc.) can be automatically generated and created through the Autodesk Revit API interface according to the structure, spatial position, morphological characteristics, internal structure and other factors of the dam BIM model, and can also be automatically generated by analogy with the cutting schemes of other similar dam BIM models in history.

[0094] Further, in step S103, according to the constructed N first cutting planes, the dam BIM model is cut in multiple batches through the N first cutting planes to obtain N+1 dam section models. In the process of cutting in multiple batches, the cutting can be carried out in sequence according to the order of the coordinates of the N first cutting planes.

[0095] Next, the process of dividing the dam BIM model into multiple batches based on the N first dividing planes in step S103 to obtain N+1 dam section models will be described in detail.

[0096] Specifically, take two batches of segmentation (including the first batch of segmentation and the second batch of segmentation) as an example to illustrate. Figure 3 It is a schematic diagram of multiple first cutting planes provided in one embodiment of the present application.

[0097] First, in step S103-1, for the N first segmentation surfaces constructed, taking the first segmentation surface as a longitudinal surface and a curved surface as an example, the first segmentation surface is as follows: Figure 3 As shown, a first sequence is constructed based on N first segmentation planes, the first sequence includes N first segmentation planes, and the dam BIM model is called N times through the N first segmentation planes, that is, each first segmentation plane will call the dam BIM model once, and each first segmentation plane will segment the called dam BIM model after calling the dam BIM model to obtain a first array. Therefore, after using the "Geometry.Split" node to perform a first batch of segmentation on the N dam BIM models called N times through N first segmentation planes, N first arrays will be obtained. The first array is used to represent the two parts of the dam BIM model after being segmented once through a first segmentation plane (that is, the dam BIM model is segmented into two sections), and each of the obtained first arrays includes a first entity and a second entity, wherein the first entity is the first part of the dam BIM model segmented through a first segmentation plane, and the second entity is the remaining part of the dam BIM model except the first part.

[0098] Further, in step S103-2, according to the N first arrays obtained in the above steps, a second array is formed through the "List.Flatten" node, and the second array is a 2*N array containing N first arrays. Then, the first entity and the 2Nth entity in the second array are taken out, wherein the second array contains 2N entities, the first entity represents the dam section model at the head end of the dam BIM model obtained after the dam BIM model is divided by the first first dividing plane (that is, the first entity in the first array obtained after the dam BIM model is divided by the first first dividing plane), and the 2Nth entity represents the dam section model at the end of the dam BIM model obtained after the dam BIM model is divided by the Nth first dividing plane (that is, the second entity in the first array obtained after the dam BIM model is divided by the Nth first dividing plane).

[0099] Further, in step S103-3, a third number sequence is obtained from the obtained second number sequence by using a starting order of 2, a number of N-1, and a step distance of 2, and the obtained third number sequence includes N-1 entities.

[0100] Further, in step S103-4, the first first segmentation plane in the first number sequence is deleted to obtain a fourth number sequence, which includes N-1 first segmentation planes except the first first segmentation plane.

[0101] Further, in step S103-5, Figure 4 : is a schematic diagram of obtaining N+1 dam section models after segmenting a dam BIM model provided by an embodiment of the present application, such as Figure 4 As shown, the N-1 entities in the third number series are divided in turn through the N-1 first dividing planes of the fourth number series to obtain the divided third number series, which includes N-1 dam section models.

[0102] Finally, in step S103-6, the third series including N-1 dam section models after segmentation is added to the dam section model at the head end and the dam section model at the end obtained in the above step S103-2 to obtain N+1 dam section models, thereby realizing the second batch of segmentation of the dam BIM model.

[0103] Below, an example is used to illustrate the process of dividing the dam BIM model into multiple batches to obtain N+1 dam section models.

[0104] First, assuming that the dam BIM model is 31 meters, 31 dam section models are required. The difference in starting elevations between the dam section models is 1 meter. Therefore, 30 first cutting surfaces are constructed. The first number series is 30 first cutting surfaces. The difference in starting elevations between each first cutting surface is also 1 meter. Then, the dam BIM model is called N times through the 30 first cutting surfaces to obtain 30 first arrays.

[0105] Example:

[0106] The first array obtained after the first segmentation plane is segmented is: the first entity with a length of 0 meter to 1 meter, and the second entity with a length of 1 meter to 31 meters;

[0107] The first array obtained after the second first segmentation plane is segmented is: first entities with lengths of 0 meters to 2 meters and second entities with lengths of 2 meters to 31 meters;

[0108] The first array obtained after the third first segmentation plane is segmented is: the first entity with a length of 0m to 3m and the second entity with a length of 3m to 31m;

[0109] The first array obtained after the fourth first segmentation plane is segmented is: the first entity with a length of 0m to 4m and the second entity with a length of 4m to 31m; ...

[0111] The first array obtained after the 30th first dividing plane is divided is: a first entity with a length of 0 meters to 30 meters and a second entity with a length of 30 meters to 31 meters.

[0112] Therefore, the second sequence is:

[0113] The length of the first entity is 0m~1m, and the length of the second entity is 1m~31m;

[0114] The first entity has a length of 0m to 2m, and the second entity has a length of 2m to 31m;

[0115] The first entity has a length of 0m to 3m, and the second entity has a length of 3m to 31m;

[0116] The first entity has a length of 0m to 4m, and the second entity has a length of 4m to 31m; ...

[0118] A first entity having a length of 0 meters to 30 meters and a second entity having a length of 30 meters to 31 meters.

[0119] Among them, the first entity with a length of 0m~1m is the dam section model at the head end, and the second entity with a length of 30m~31m is the dam section model at the end.

[0120] Further, from the second sequence, a third sequence is obtained by starting with 2, the number is 29, and the step is 2. The third sequence includes 29 entities. The third sequence is:

[0121] The second entity is 1m to 31m in length;

[0122] The second entity is 2m to 31m in length;

[0123] The second entity is 3m to 31m in length;

[0124] The second entity is 4 to 31 meters in length; ...

[0126] A second entity with a length of 30m~31.

[0127] Furthermore, the first first dividing plane in the first number series is deleted to obtain a fourth number series, which includes 29 first dividing planes except the first first dividing plane.

[0128] Furthermore, the third number series including 29 entities are segmented in turn through 29 first segmentations to obtain a segmented third number series, which includes:

[0129] A second entity with a length of 1 to 2 meters;

[0130] A second entity with a length of 2 to 3 meters;

[0131] A second entity with a length of 3 to 4 meters;

[0132] A second entity with a length of 4 to 5 meters; ...

[0134] A second entity with a length of 29 to 30 meters.

[0135] Furthermore, the segmented third series is combined with the dam section model at the head end and the dam section model at the end end to obtain 31 dam section models. The three dam section models are:

[0136] The second entity has a length of 0m~1m;

[0137] A second entity with a length of 1 to 2 meters;

[0138] A second entity with a length of 2 to 3 meters;

[0139] A second entity with a length of 3 to 4 meters;

[0140] A second entity with a length of 4 to 5 meters; ...

[0142] The second entity is 29m to 30m in length;

[0143] A second entity with a length of 30 to 31 meters.

[0144] Through the above embodiment, the dam BIM model can be divided into N+1 dam section models through two batches of segmentation, realizing an automatic segmentation process without manual participation, thereby reducing manpower input and improving the segmentation efficiency of the dam model.

[0145] Further, in step S104, for each of the N+1 dam section models obtained, the corresponding dam section number, the number of construction unit models, and the start and end elevations of the construction unit models are set. The dam section number is a unique identifier of the dam section model, and different dam section models can be distinguished and managed by the dam section number. In order to better carry out the construction plan and progress management of the dam, each dam section model can be divided into multiple construction unit models. Therefore, it is necessary to set the number of construction unit models included in each dam section model. The number of construction unit models can be determined according to the actual construction planning and plan, terrain and structural characteristics, construction technology, and the accuracy and coarseness of the dam BIM model. The start and end elevations of multiple construction unit models are used to determine the location of the construction unit models.

[0146] Finally, in step S105, after obtaining N+1 dam section models and setting the dam section number of each dam section model, the number of construction unit models included and the start and end elevations of each construction unit model included, the dam section model can be segmented. In the process of segmenting the dam section model, one dam section model can be segmented at a time, or multiple dam section models can be segmented at a time. The dam section model to be segmented is the target dam section model. When the target dam section model needs to be segmented, the target dam section model can be determined according to the dam section number. According to the number of construction unit models pre-set for the target dam section model and the start and end elevations of each construction unit model corresponding to the target dam section model, a segmentation scheme for segmenting the target dam section model can be determined, and the target dam section model is segmented. After all the target dam section models are segmented, the segmentation process of the dam BIM model is completed.

[0147] Through the above embodiments, the dam BIM model can be segmented through the first segmentation plane to obtain multiple dam section models, and then by setting the dam section number of each dam section model, the number of construction unit models and the start and end elevations of the construction unit models, when the target dam section model needs to be segmented, the target dam section model can be directly determined according to the dam section number of the target dam section model, and the segmentation scheme for segmenting the target dam section model can be determined according to the number of construction unit models pre-set for the target dam section model and the start and end elevations of each construction unit model corresponding to the target dam section model. The target dam section model is directly segmented to finally obtain the segmented dam BIM model, thereby realizing the automated segmentation of the dam BIM model, reducing manpower input, and improving the segmentation and modeling efficiency of the dam BIM model.

[0148] Optionally, the step S102 includes:

[0149] Step S102-1, according to the project requirement information, determining a segmentation method corresponding to the dam BIM model, wherein the segmentation method represents the type of the first segmentation surface, the number of the first segmentation surfaces, and the start and end elevations of the first segmentation surfaces, and the types of the first segmentation surfaces include: transverse surface, longitudinal surface, curved surface, and spatial surface;

[0150] Step S102-2, constructing N first cutting surfaces according to the type of the first cutting surface, the number of the first cutting surfaces, and the start and end elevations of the first cutting surfaces, wherein the boundaries of the N first cutting surfaces exceed the scope of the dam BIM model, and the N first cutting surfaces have no intersection within the scope of the dam BIM model.

[0151] Specifically, in step S102-1, when it is necessary to construct the first segmentation surface, it is first necessary to determine the segmentation method that is most suitable for the dam BIM model based on the project requirement information of the hyperbolic arch dam. The segmentation method characterizes the type of the first segmentation surface, such as transverse surface, longitudinal surface, curved surface, spatial surface, etc. The transverse surface and longitudinal surface usually refer to the segmentation based on the axis of the dam BIM model (such as the length and width direction of the dam BIM model); the curved surface is used for the curved part of the dam BIM model; the spatial surface can be any shape inside or outside the dam BIM model, which is used to extract the special shape from the three-dimensional space. The first cutting surface is divided at a certain position, and then the number of the first cutting surface is determined. The number of the first cutting surface can be determined according to the complexity of the dam BIM model and the project requirement information (such as the granularity of construction). Finally, the start and end elevations of each first cutting surface need to be determined. The start and end elevations of each first cutting surface are different, and each first cutting surface is spaced apart. The start and end elevations of the first cutting surface represent the exact position in the three-dimensional space where the dam BIM model is located. Each first cutting surface can be set according to the structure, size, material, and density of the dam BIM model.

[0152] Further, in step S102-2, according to the type of the first cutting surface, it can be determined whether the types of the N cutting surfaces are horizontal surfaces, longitudinal surfaces, curved surfaces or spatial surfaces. According to the number of the first cutting surfaces, the value of N can be determined. According to the starting and ending elevations of the first cutting surfaces, the position of each of the N first cutting surfaces in the three-dimensional space of the dam BIM model can be determined, and the boundaries of each determined first cutting surface must all exceed the boundaries of the divided dam BIM model in the three-dimensional space, and each first cutting surface has no intersection within the spatial range covered by the dam BIM model in the three-dimensional space, except for the horizontal plane and the elevation plane.

[0153] like Figure 3 As shown, the first cutting surfaces are longitudinal surfaces and curved surfaces, and there is no intersection between the first cutting surfaces.

[0154] Through the above embodiment, by determining the segmentation method according to the project requirement information, it can be ensured that the dam BIM model is segmented in the expected manner, thereby realizing the precise control of the dam BIM model. The types of the first segmentation planes are set in a variety of ways, including transverse planes, longitudinal planes, curved surfaces, spatial planes, etc., which can ensure that the dam BIM model is segmented in the expected manner, facilitating the subsequent flexible segmentation of the dam BIM model and the precise control of the dam BIM model. In addition, the boundaries of each first segmentation plane must all exceed the boundaries of the segmented dam BIM model in three-dimensional space. Beyond the boundaries of the first segmentation planes of the dam BIM model, more segmentation areas can be provided, thereby making the definition of the dam BIM model more comprehensive. This helps to better express the characteristics and details of the dam BIM model, and each first segmentation plane defines an independent area, and there is no intersection between these first segmentation planes. Such a setting makes the management and analysis of the dam BIM model clearer and simpler, and the dam BIM model can be better operated and processed.

[0155] Optionally, the step S104 includes:

[0156] Step S104-1, constructing a table;

[0157] Step S104-2, according to the number of the N+1 dam section models, setting the dam section number corresponding to each dam section model, and setting the first row of the table to the dam section number corresponding to each dam section model in order;

[0158] Step S104-3, according to the start and end elevations of the N+1 dam section models, the number of construction unit models corresponding to each dam section model is set, and according to the number of construction unit models, the unit number of each construction unit model is set, and each column of the table is set in sequence to the unit number of multiple construction unit models corresponding to each dam section model;

[0159] Step S104-4: for the N+1 dam section models, the start and end elevations of multiple construction unit models are set according to the start and end elevations of the N+1 dam section models and the number of construction unit models of the N+1 dam section models.

[0160] Specifically, in one embodiment, in step S104-1, a table (such as an Excel table) may be constructed, and the format of the table may be constructed according to the number of dam section models and the maximum number of construction unit models that need to be segmented.

[0161] Further, in step S104-2, according to the number of N+1 dam section models, the dam section number corresponding to each dam section model is set, and the first row of the table is set to the dam section number corresponding to each dam section model in sequence (for example, if there are 31 dam section models in total, the dam section numbers can be set to 1 to 31 in sequence).

[0162] Further, in step S104-3, according to the start and end elevations of the N+1 dam section models, the number of corresponding construction unit models is set for each dam section model. For example, the higher the start and end elevations of a dam section model, the more the number of construction unit models corresponding to the dam section model. On the contrary, the lower the start and end elevations of a dam section model, the fewer the number of construction unit models corresponding to the dam section model. A unit number is set for each construction unit model corresponding to each dam section model, so that each construction unit model has a unique unit number. At the same time, each column of the table is sequentially set to the unit number of multiple construction unit models corresponding to each dam section model. Taking the Excel table as an example, B6 is the sixth construction unit of the first dam section model.

[0163] Furthermore, according to the start and end elevations of the N+1 dam section models, the number of construction unit models and the actual construction situation, the start and end elevations of each construction unit model in the multiple construction unit models are set, and a CSV (CommaSeparate Values) format document is formed. In the same dam section model, different construction unit models have different start and end elevations, and the heights of different construction unit models can be the same or different. In different dam section models, the start and end elevations of different construction unit models can be the same or different, and the heights of different construction unit models can be the same or different. The start and end elevations of each construction unit model are the horizontal sections of the dam section model.

[0164] And through the "Data.ImportCSV" node, the edited table is imported into Autodesk Revit.

[0165] Through the above-mentioned embodiments, relevant information of each dam section model and a plurality of construction unit models that need to be segmented from each dam section model can be better managed in a table manner.

[0166] Optionally, the step S105 includes:

[0167] Step S105-1, selecting the target dam section model, and based on the target dam section model, obtaining a first dam section number corresponding to the target dam section model in the table;

[0168] Step S105-2, based on the first dam section number, determining the number of multiple target construction unit models associated with the first dam section number in the table, and constructing multiple second segmentation planes, wherein the multiple second segmentation planes correspond one-to-one to the start and end elevations of the multiple target construction unit models;

[0169] Step S105-3: segment the multiple target construction unit models of the target dam section model corresponding to the second segmentation plane according to the second segmentation plane to obtain a segmented dam BIM model.

[0170] Specifically, when it is necessary to segment multiple dam section models in the dam BIM model, in step S105-1, at least one target dam section model can be selected in turn for segmentation. The target dam section model is the dam section model that currently needs to be segmented. In the process of selecting the target dam section model, the first dam section number corresponding to the target dam section model can be obtained in the table to select the target dam section model.

[0171] Optionally, you can also directly input the dam section number and the number of units of the corresponding construction unit model that needs to be constructed, so as to directly output the corresponding construction unit model. In actual projects, when the construction segmentation basis changes, you can directly change the corresponding data in the table (such as start and end elevations, number of construction unit models, dam section number, unit number, etc.), and you can regenerate the changed content and automatically segment the dam BIM model.

[0172] Further, in step S105-2, according to the first dam section number of the target dam section model, the number of multiple target construction unit models associated with the first dam section number in the table can be determined from the table, and multiple second cutting surfaces can be constructed according to the number of target construction unit models, wherein the multiple second cutting surfaces correspond one-to-one to the start and end elevations of the multiple target construction unit models, and each second cutting surface is used to cut out a target construction unit model. Preferably, the second cutting surface and the first cutting surface can be intersecting and perpendicular.

[0173] Finally, in step S105-3, the target construction unit models of the target dam section model corresponding to the second cutting planes are cut according to the second cutting planes, so that the target dam section model is cut into a plurality of target construction unit models, one target construction unit model corresponds to one of the dam blocks of the dam section model, and after all the dam section models in the dam BIM model are cut, the cut dam BIM model is obtained. Figure 5 is a schematic diagram of a dam BIM model divided into multiple construction unit models provided in an embodiment of the present application, such as Figure 5 As shown in the figure, the segmented dam BIM model contains multiple construction unit models.

[0174] Optionally, in the process of segmenting the target dam section model, two batches of segmentation processes may be performed with reference to the above steps S103 - 1 to S103 - 6 .

[0175] Specifically, the process of segmenting the target dam section model is explained by taking two batches of segmentation (including the third batch and the fourth batch), the second segmentation surface is M, and M+1 target construction unit models need to be obtained as an example.

[0176] First, for the M constructed second cutting surfaces, a fifth sequence is constructed. The fifth sequence contains N second cutting surfaces, and the target dam section model is called M times through the M second cutting surfaces, that is, each second cutting surface will call the target dam section model once. After calling the target dam section model, each second cutting surface divides the called target dam section model to obtain a second array. Therefore, using the "Geometry.Split" node, after performing the third batch of division on the M target dam section models called M times through M second cutting surfaces, M second arrays will be obtained. The second array is used to represent the two parts of the target dam section model after one division through a second cutting surface (that is, the target dam section model is divided into two sections). Each of the obtained second arrays includes a third entity and a fourth entity, wherein the third entity is the first part of the target dam section model divided by a second cutting surface, and the fourth entity is the remaining part of the target dam section model except the first part.

[0177] Further, according to the M first arrays obtained in the above steps, the "List.Flatten" node is used to form a sixth array, which is a 2*M array containing M second arrays. Then, the first entity and the 2Mth entity in the sixth array are taken out, wherein the sixth array contains 2M entities, the first entity represents the target construction unit model at the head end of the target dam section model obtained by dividing the target dam section model through the first second dividing plane (that is, the third entity in the second array obtained by dividing the target dam section model through the first first dividing plane), and the 2Mth entity represents the target construction unit model at the end of the target dam section model obtained by dividing the target dam section model through the Mth second dividing plane (that is, the fourth entity in the second array obtained by dividing the target dam section model through the Mth second dividing plane).

[0178] Furthermore, from the obtained sixth number sequence, a seventh number sequence is obtained by using a starting order of 2, a quantity of M-1, and a step distance of 2. The obtained seventh number sequence includes M-1 entities.

[0179] Furthermore, the first second dividing plane in the fifth number sequence is deleted to obtain an eighth number sequence, which includes M-1 second dividing planes except the first second dividing plane.

[0180] Furthermore, the M-1 entities in the seventh number series are divided in turn through the M-1 second dividing planes of the eighth number series to obtain the divided seventh number series, which includes M-1 target construction unit models.

[0181] Finally, the seventh series including M-1 target construction unit models after segmentation is added to the target construction unit model at the head end and the target construction unit model at the end obtained in the above process to obtain M+1 target construction unit models, thereby realizing the fourth batch of segmentation of the target dam section model.

[0182] Optionally, the method further comprises:

[0183] Step S106: when the start and end elevations of multiple target construction unit models of multiple target dam section models are the same, the multiple target construction unit models with the same start and end elevations are segmented through the same second segmentation plane.

[0184] Specifically, in step S106, when there are multiple construction unit models with the same start and end elevations in different dam section models (such as the construction unit model with unit number B1 of the dam section model with dam section number 1 and the construction unit model with unit number C1 of the dam section model with dam section number 2), the same "second dividing surface" can be used to divide these construction unit models with the same start and end elevations to improve the operational efficiency and consistency of the dividing process.

[0185] Optionally, the method further comprises:

[0186] Step S107, configuring the target format family path, output family name, type and material parameters for the plurality of segmented construction unit models.

[0187] Specifically, in step S107, format configuration is performed on each construction unit model after segmentation, including setting a specific family path (the storage location of the construction unit model in the database), the family name used when outputting the construction unit model, the type (the classification or purpose of the construction unit model), and material parameters (such as color, texture, etc.) to ensure that the construction unit model remains consistent and identifiable during subsequent use.

[0188] Through the above embodiments, the technical solution of the present application can achieve the following technical effects:

[0189] 1. The segmentation method is flexible. Horizontal surfaces, longitudinal surfaces and curved surfaces can all be segmented. The boundaries of each segmented surface must all exceed the segmented dam BIM model, except for horizontal and elevation surfaces, and there is no intersection within the scope of the dam BIM model.

[0190] 2. Through program segmentation, there is no need for modelers to directly operate, which can reduce manpower input and improve modeling efficiency.

[0191] 3. The segmentation process can be used in combination, first longitudinally segmenting and then horizontally segmenting, which can be applied to actual engineering, such as: dividing the hyperbolic arch dam into dam section construction layers, gate chamber construction layers and spillway control section layers, etc., thereby improving the application efficiency of the dam BIM model in engineering.

[0192] Figure 6 : is a schematic diagram of a framework of a device for generating a dam BIM model provided by an embodiment of the present application, such as Figure 6 shown.

[0193] Based on the same inventive concept, another embodiment of the present application further provides a device for generating a dam BIM model, the device comprising:

[0194] A receiving module 11 is used to receive a segmentation command for the dam BIM model;

[0195] A first segmentation facet construction module 12, configured to construct N first segmentation faces based on the segmentation command, where N is an integer and N≥1;

[0196] The first segmentation module 13 is used to segment the dam BIM model in multiple batches based on the N first segmentation planes to obtain N+1 dam section models;

[0197] A setting module 14 is used to set the dam section number corresponding to each dam section model, the number of construction unit models corresponding to each dam section model, and the start and end elevations of the multiple construction unit models corresponding to each dam section model for the N+1 dam section models;

[0198] The second segmentation module 15 is used to segment the target dam section model to be segmented according to the dam section number and the number of construction unit models corresponding to the target dam section model to be segmented, and the start and end elevations of the multiple construction unit models corresponding to the target dam section model to be segmented, so as to obtain the segmented dam BIM model;

[0199] The first segmentation module 13 includes:

[0200] The first segmentation first subunit is used to construct a first number series for the N first segmentation planes, call the dam BIM model N times, and segment the dam BIM model for each call through the N first segmentation planes in the first number series, to obtain N first arrays, wherein the first array includes a first entity and a second entity, the first entity is a first part of the dam BIM model segmented through a first segmentation plane, and the second entity is the remaining part of the dam BIM model except the first part;

[0201] A first operating unit is used to form a second number series according to the N first arrays, and take out a first entity and a 2Nth entity in the second number series, wherein the second number series contains 2N entities, the first entity represents a dam section model at the head end of the dam BIM model, and the 2Nth entity represents a dam section model at the end of the dam BIM model;

[0202] A second operating unit is used to obtain a third number sequence from the second number sequence by using a starting order of 2, a quantity of N-1, and a step size of 2, wherein the third number sequence includes N-1 entities;

[0203] A third operation unit is used to delete the first first segmentation plane in the first number sequence to obtain a fourth number sequence, wherein the fourth number sequence includes N-1 first segmentation planes;

[0204] The first segmentation second subunit is used to segment the N-1 entities in the third number series respectively through the N-1 first segmentation planes of the fourth number series to obtain a segmented third number series, wherein the third number series includes N-1 dam section models;

[0205] The fourth operation unit is used to add the segmented third number series to the dam section model at the head end and the dam section model at the tail end to obtain the N+1 dam section models.

[0206] Optionally, the first segmentation surface construction module 12 includes:

[0207] A segmentation method determination module is used to determine a segmentation method corresponding to the dam BIM model according to project requirement information, wherein the segmentation method represents the type of the first segmentation surface, the number of the first segmentation surfaces, and the start and end elevations of the first segmentation surfaces, and the types of the first segmentation surfaces include: transverse surface, longitudinal surface, curved surface, and spatial surface;

[0208] The first cutting surface construction unit is used to construct N first cutting surfaces according to the type of the first cutting surface, the number of the first cutting surfaces, and the start and end elevations of the first cutting surfaces, wherein the boundaries of the N first cutting surfaces exceed the scope of the dam BIM model, and the N first cutting surfaces have no intersection within the scope of the dam BIM model.

[0209] Optionally, the setting module 14 includes:

[0210] Construction unit, used to construct tables;

[0211] A first setting unit is used to set the dam section number corresponding to each dam section model according to the number of the N+1 dam section models, and set the first row of the table to the dam section number corresponding to each dam section model in sequence;

[0212] A second setting unit is used to set the number of construction unit models corresponding to each dam section model according to the start and end elevations of the N+1 dam section models, set the unit number of each construction unit model according to the number of construction unit models, and set each column of the table to the unit number of multiple construction unit models corresponding to each dam section model in sequence;

[0213] The third setting unit is used to set the start and end elevations of multiple construction unit models for the N+1 dam section models according to the start and end elevations of the N+1 dam section models and the number of construction unit models of the N+1 dam section models.

[0214] Optionally, the second segmentation module 15 includes:

[0215] a target dam section model selection unit, configured to select the target dam section model, and based on the target dam section model, obtain a first dam section number corresponding to the target dam section model in the table;

[0216] A second segmentation surface construction unit is used to determine the number of multiple target construction unit models associated with the first dam section number in the table based on the first dam section number, and to construct multiple second segmentation surfaces, wherein the multiple second segmentation surfaces correspond to the start and end elevations of the multiple target construction unit models one by one;

[0217] The second segmentation unit is used to segment the multiple target construction unit models of the target dam section model corresponding to the second segmentation plane according to the second segmentation plane to obtain a segmented dam BIM model.

[0218] Optionally, the device further comprises:

[0219] The parallel segmentation module is used to segment the multiple target construction unit models with the same start and end elevations through the same second segmentation plane when the multiple target construction unit models of the multiple target dam section models have the same start and end elevations.

[0220] Optionally, the device further comprises:

[0221] The configuration module is used to configure the target format family path, output family name, type and material parameters for the plurality of construction unit models after segmentation.

[0222] Based on the same inventive concept, another embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method for generating a dam BIM model as described in any of the above embodiments.

[0223] Based on the same inventive concept, another embodiment of the present application further provides a computer program product, including a computer program, which is executed by a processor to perform the method for generating a dam BIM model as described in any of the above embodiments.

[0224] Based on the same inventive concept, another embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method for generating a dam BIM model as described in any of the above embodiments is implemented.

[0225] As for the device, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0226] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0227] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0228] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0229] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0230] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0231] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0232] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0233] The above is a detailed introduction to the method, equipment and medium for generating a dam BIM model provided by the present application. 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 technicians 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 dam BIM model, characterized in that: The method comprises: Receive a split command for the dam BIM model; Based on the segmentation command, construct N first segmentation planes, where N is an integer and N≥1; Based on the N first segmentation planes, the dam BIM model is segmented in multiple batches to obtain N+1 dam section models; For the N+1 dam section models, a dam section number corresponding to each dam section model, the number of construction unit models corresponding to each dam section model, and the start and end elevations of multiple construction unit models corresponding to each dam section model are set; For the N+1 dam section models, the target dam section models to be segmented are segmented according to the dam section numbers and the number of construction unit models corresponding to the target dam section models to be segmented, and the start and end elevations of the multiple construction unit models corresponding to the target dam section models to be segmented, to obtain the segmented dam BIM models; The dam BIM model is segmented in multiple batches based on the N first segmentation planes to obtain N+1 dam section models, including: Constructing a first number series for the N first segmentation planes, calling the dam BIM model N times, and segmenting the dam BIM model each time it is called through the N first segmentation planes in the first number series, to obtain N first arrays, wherein the first array includes a first entity and a second entity, the first entity is a first part of the dam BIM model segmented through a first segmentation plane, and the second entity is the remaining part of the dam BIM model except the first part; A second number series is formed according to the N first arrays, and the first entity and the 2Nth entity in the second number series are taken out, wherein the second number series contains 2N entities, the first entity represents the dam section model at the head end of the dam BIM model, and the 2Nth entity represents the dam section model at the end of the dam BIM model; From the second number sequence, a third number sequence is obtained by starting with 2, a number of N-1, and a step of 2, wherein the third number sequence includes N-1 entities; Deleting the first first dividing plane in the first number sequence to obtain a fourth number sequence, wherein the fourth number sequence includes N-1 first dividing planes; Using the N-1 first dividing planes of the fourth number series, the N-1 entities in the third number series are divided respectively to obtain a divided third number series, wherein the third number series includes N-1 dam section models; The segmented third number series is added to the dam section model at the head end and the dam section model at the tail end to obtain the N+1 dam section models.

2. The method for generating a dam BIM model according to claim 1, characterized in that: The step of constructing N first segmentation planes based on the segmentation command includes: According to the project requirement information, determine a segmentation method corresponding to the dam BIM model, wherein the segmentation method represents the type of the first segmentation surface, the number of the first segmentation surfaces, and the start and end elevations of the first segmentation surfaces, and the types of the first segmentation surfaces include: transverse surface, longitudinal surface, curved surface, and spatial surface; N first cutting surfaces are constructed according to the type of the first cutting surfaces, the number of the first cutting surfaces, and the start and end elevations of the first cutting surfaces, wherein the boundaries of the N first cutting surfaces exceed the scope of the dam BIM model, and the N first cutting surfaces have no intersection within the scope of the dam BIM model.

3. The method for generating a dam BIM model according to claim 1, characterized in that: The step of setting the dam section number corresponding to each dam section model, the number of construction unit models corresponding to each dam section model, and the start and end elevations of the multiple construction unit models corresponding to each dam section model for the N+1 dam section models includes: Build the table; According to the number of the N+1 dam section models, a dam section number corresponding to each dam section model is set, and the first row of the table is set in sequence to the dam section number corresponding to each dam section model; According to the starting and ending elevations of the N+1 dam section models, the number of construction unit models corresponding to each dam section model is set, and according to the number of construction unit models, the unit number of each construction unit model is set, and each column of the table is set in sequence to the unit numbers of the multiple construction unit models corresponding to each dam section model; For the N+1 dam section models, the start and end elevations of a plurality of construction unit models are set according to the start and end elevations of the N+1 dam section models and the number of construction unit models of the N+1 dam section models.

4. The method for generating a dam BIM model according to claim 3, characterized in that: According to the dam section number and the number of construction unit models corresponding to the target dam section model to be segmented as needed, and the start and end elevations of multiple construction unit models corresponding to the target dam section model to be segmented, the target dam section model to be segmented is segmented to obtain a segmented dam BIM model, including: Selecting the target dam section model, and based on the target dam section model, obtaining a first dam section number corresponding to the target dam section model in the table; Based on the first dam section number, determine the number of multiple target construction unit models associated with the first dam section number in the table, and construct multiple second segmentation planes, wherein the multiple second segmentation planes correspond one-to-one to the start and end elevations of the multiple target construction unit models; According to the second segmentation plane, multiple target construction unit models of the target dam section model corresponding to the second segmentation plane are segmented to obtain a segmented dam BIM model.

5. The method for generating a dam BIM model according to claim 4, characterized in that: The method further comprises: When the start and end elevations of multiple target construction unit models of multiple target dam section models are the same, the multiple target construction unit models with the same start and end elevations are segmented through the same second segmentation plane.

6. The method for generating a dam BIM model according to any one of claims 1 to 5, characterized in that: The method further comprises: The target format family path, output family name, type and material parameters are configured for the plurality of target construction unit models after segmentation.

7. A device for generating a dam BIM model, characterized in that: The device comprises: A receiving module, used for receiving a segmentation command for a dam BIM model; A first segmentation facet construction module, used to construct N first segmentation faces based on the segmentation command, where N is an integer and N≥1; A first segmentation module is used to segment the dam BIM model in multiple batches based on the N first segmentation planes to obtain N+1 dam section models; A setting module is used to set, for the N+1 dam section models, a dam section number corresponding to each dam section model, the number of construction unit models corresponding to each dam section model, and the start and end elevations of multiple construction unit models corresponding to each dam section model; The second segmentation module is used to segment the target dam section model to be segmented according to the dam section number and the number of construction unit models corresponding to the target dam section model to be segmented, and the start and end elevations of the multiple construction unit models corresponding to the target dam section model to be segmented, so as to obtain the segmented dam BIM model; The first segmentation module includes: The first segmentation first subunit is used to construct a first number series for the N first segmentation planes, call the dam BIM model N times, and segment the dam BIM model for each call through the N first segmentation planes in the first number series, to obtain N first arrays, wherein the first array includes a first entity and a second entity, the first entity is a first part of the dam BIM model segmented through a first segmentation plane, and the second entity is the remaining part of the dam BIM model except the first part; A first operating unit is used to form a second number series according to the N first arrays, and take out a first entity and a 2Nth entity in the second number series, wherein the second number series contains 2N entities, the first entity represents a dam section model at the head end of the dam BIM model, and the 2Nth entity represents a dam section model at the end of the dam BIM model; A second operation unit is used to obtain a third number sequence from the second number sequence by using a starting order of 2, a quantity of N-1, and a step size of 2, wherein the third number sequence includes N-1 entities; A third operation unit is used to delete the first first segmentation plane in the first number sequence to obtain a fourth number sequence, wherein the fourth number sequence includes N-1 first segmentation planes; The first segmentation second subunit is used to segment the N-1 entities in the third number series respectively through the N-1 first segmentation planes of the fourth number series to obtain a segmented third number series, wherein the third number series includes N-1 dam section models; The fourth operation unit is used to add the segmented third number series to the dam section model at the head end and the dam section model at the tail end to obtain the N+1 dam section models.

8. The device for generating a dam BIM model according to claim 7, characterized in that: The first segmentation facet construction module comprises: A segmentation method determination module is used to determine a segmentation method corresponding to the dam BIM model according to project requirement information, wherein the segmentation method represents the type of the first segmentation surface, the number of the first segmentation surfaces, and the start and end elevations of the first segmentation surfaces, and the types of the first segmentation surfaces include: transverse surface, longitudinal surface, curved surface, and spatial surface; The first cutting surface construction unit is used to construct N first cutting surfaces according to the type of the first cutting surface, the number of the first cutting surfaces, and the start and end elevations of the first cutting surfaces, wherein the boundaries of the N first cutting surfaces exceed the scope of the dam BIM model, and the N first cutting surfaces have no intersection within the scope of the dam BIM model.

9. The device for generating a dam BIM model according to claim 7, characterized in that: The setting module includes: Construction unit, used to construct tables; A first setting unit is used to set the dam section number corresponding to each dam section model according to the number of the N+1 dam section models, and set the first row of the table to the dam section number corresponding to each dam section model in sequence; A second setting unit is used to set the number of construction unit models corresponding to each dam section model according to the start and end elevations of the N+1 dam section models, set the unit number of each construction unit model according to the number of construction unit models, and set each column of the table to the unit number of multiple construction unit models corresponding to each dam section model in sequence; The third setting unit is used to set the start and end elevations of multiple construction unit models for the N+1 dam section models according to the start and end elevations of the N+1 dam section models and the number of construction unit models of the N+1 dam section models.

10. The device for generating a dam BIM model according to claim 9, characterized in that: The second segmentation module includes: a target dam section model selection unit, configured to select the target dam section model, and based on the target dam section model, obtain a first dam section number corresponding to the target dam section model in the table; A second segmentation surface construction unit is used to determine the number of multiple target construction unit models associated with the first dam section number in the table based on the first dam section number, and to construct multiple second segmentation surfaces, wherein the multiple second segmentation surfaces correspond to the start and end elevations of the multiple target construction unit models one by one; The second segmentation unit is used to segment the multiple target construction unit models of the target dam section model corresponding to the second segmentation plane according to the second segmentation plane to obtain the segmented dam BIM model.

11. The device for generating a dam BIM model according to claim 10, characterized in that: The device also includes: The parallel segmentation module is used to segment the multiple target construction unit models with the same start and end elevations through the same second segmentation plane when the multiple target construction unit models of the multiple target dam section models have the same start and end elevations.

12. The device for generating a dam BIM model according to any one of claims 7 to 11, characterized in that: The device also includes: The configuration module is used to configure the target format family path, output family name, type and material parameters for the plurality of target construction unit models after segmentation.

13. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the method for generating a dam BIM model according to any one of claims 1 to 6.

14. A computer-readable storage medium, characterized in that: A computer program is stored thereon, wherein when the computer program is executed by a processor, the method for generating a dam BIM model as described in any one of claims 1 to 6 is implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for generating a dam BIM model as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Method for BIM assisted dam cabin surface designing

    CN106326588A

  • Water conservancy and hydropower engineering BIM family library construction method

    CN111209623A