Method, device, equipment and storage medium for generating BIM model of hyperbolic arch dam

By using the Dynamo programming plug-in on the Autodesk Revit software platform, combining elevation parameter information and parameter equations, the basic shape and target components of the hyperbolic arch dam are created, and by combining code combinations, it is difficult to quickly create high-precision doubles in the existing technology. The problem of the BIM model of Qugong Dam realizes efficient simulation analysis and modeling.

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

Patent Information

Application Number
CN202411494136.2
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

In water conservancy engineering, it is difficult for the existing technology to quickly create a high-precision three-dimensional BIM model of hyperbolic arch dam, resulting in poor simulation analysis and inefficient modeling efficiency.

Method used

By using the Dynamo programming plug-in on the Autodesk Revit software platform, the basic shape is created based on the elevation parameter information and parameter equations of the target arch dam model, and the target components are determined based on the simulation analysis task. By combining the basic shapes and components by combining the code, high-precision BIM model of hyperbolic arch dam.

Benefits of technology

It realizes the rapid creation of high-precision hyperbolic arch dam models, improves the effect of simulation analysis and modeling efficiency, saves time and labor costs, and speeds up the progress of engineering construction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119004641B_ABST
    Figure CN119004641B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of hydraulic engineering modeling, and discloses a method, device, equipment and storage medium for generating a hyperbolic arch dam BIM model. The method comprises: based on the elevation parameter information and parameter equation of the target arch dam model, creating the basic shape of the target arch dam model through a Dynamo programming plug-in; determining the target components required for the target arch dam model according to the simulation analysis tasks to be performed as needed; loading the basic shape and the target components in the Dynamo programming plug-in; when the type of the target component is one or more, running a fusion code, combining the basic shape and the target component, and generating the target arch dam model. The present method can quickly generate high-precision arch dam models of different structures, improve the modeling efficiency and modeling accuracy of the arch dam model, and save time and labor costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In the construction of concrete hyperbolic arch dams in water conservancy projects, it is necessary to create a three-dimensional BIM (Building Information Modeling) model for simulation analysis and apply the simulation model in project management. The three-dimensional model simulation analysis requires the creation of a three-dimensional model of the arch dam first. For different types of simulation analysis, the hyperbolic arch dam model contains different components, so different simulation analyses require re-modeling. In the process of creating an arch dam model, it is necessary to comprehensively consider factors such as modeling software, modeling methods, and model usage scenarios. The accuracy of the created model, the timeliness of the created model, the application scenario, and the consistency of accuracy between the model and the components are key factors affecting the model simulation analysis.

[0003] The hyperbolic arch dam shape model is a special-shaped model. For different simulation analysis tasks, it is necessary to flexibly combine the arch dam shape and different special-shaped components. Its structure is complex, and usually experienced engineers are required to manually create the arch dam model separately. However, when engineers manually create three-dimensional models, there may be problems such as inconsistent precision and inconsistent boundaries between the model and the components, resulting in the combined model failing to meet the simulation accuracy requirements. For example, different engineers use Catia software or Microstation software to separately create hyperbolic arch dams and components for different simulation analysis application scenarios. There are problems of inconsistent precision and boundaries between the obtained models, resulting in the combined arch dam model failing to meet the high-precision requirements of simulation analysis, and the simulation analysis effect is poor. In addition, the manual model creation method is cumbersome and inefficient. Therefore, it is necessary to find a method to quickly create a high-precision arch dam model to improve the effect of simulation analysis. Summary of the invention

[0004] In view of this, the present application aims to propose a method, device, equipment and storage medium for generating a hyperbolic arch dam BIM model, so as to realize the rapid creation of a high-precision arch dam model and improve the effect of simulation analysis.

[0005] To achieve the above objectives, the technical solution of this application is as follows:

[0006] A first aspect of an embodiment of the present application provides a method for generating a BIM model of a hyperbolic arch dam, the method being applied to an Autodesk Revit software platform, comprising:

[0007] Based on the elevation parameter information and parameter equations of the target arch dam model, a basic shape of the target arch dam model is created through a Dynamo programming plug-in;

[0008] Determine the target components required for the target arch dam model according to the simulation analysis tasks to be performed; the target components are at least one of the following types of components: bottom holes, deep holes, surface holes, elevator shafts, expanded foundations, gate piers, corridors, dam top left bank cushions or pump houses;

[0009] Creating the target component in the Autodesk Revit software platform;

[0010] In the Dynamo programming plug-in, loading the basic shape and the target component;

[0011] Determine that the type of the target component is one or more types;

[0012] In the case that the type of the target component is one, running a fusion code, combining the basic shape and the target component, and generating the target arch dam model, specifically includes: determining a corresponding fusion code based on the target component; running the fusion code, combining the basic shape and the target component, and generating the target arch dam model; the fusion code is used to perform a Boolean union operation or a Boolean difference operation;

[0013] In the case that there are multiple types of the target components, a fusion code is run to combine the basic form and the target components to generate the target arch dam model, which specifically includes: selecting any type of target component as the current component to be combined, and determining the corresponding fusion code based on the component to be combined; running the fusion code to combine the basic form with the component to be combined to generate an intermediate model; in the case that the remaining target components are not combined, obtaining any type of target component among the remaining target components as a new component to be combined, and determining a corresponding new fusion code based on the new component to be combined; running the new fusion code to combine the intermediate model with the new component to be combined to generate a new intermediate model; in the case that all target components are combined, the current intermediate model is used as the target arch dam model.

[0014] Optionally, based on the elevation parameter information and parameter equation of the target arch dam model, a basic shape of the target arch dam model is created through a Dynamo programming plug-in, including:

[0015] Acquire the elevation parameter information of the target arch dam model; the elevation parameter information includes: a plurality of elevation parameters and body parameters corresponding to each elevation parameter; the body parameters include: upstream face distance of crown beam, crown thickness, left arch end thickness, right arch end thickness, length of ellipse, length of minor semi-axis, left arch, right arch, left end semi-central angle and right end semi-central angle;

[0016] Read the elevation parameter information through the Dynamo programming plug-in;

[0017] The upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated based on the elevation parameter information and the parameter equation through the Dynamo programming plug-in; the parameter equation includes: the center axis equation of the arch dam and the arch thickness equation; the boundary surface includes: the top surface, the bottom surface, the left surface and the right surface;

[0018] The upstream surface, the downstream surface and the boundary surface are combined through a Dynamo programming plug-in to generate a basic shape of the target arch dam model.

[0019] Optionally, the upstream surface, the downstream surface and the boundary surface of the basic shape are calculated and generated based on the elevation parameter information and the parameter equation by the Dynamo programming plug-in, including:

[0020] By using the Dynamo programming plug-in, according to the centerline equation of the arch dam and the elevation parameter information, multiple points on the centerline of the characteristic elevation are calculated and determined;

[0021] By using the Dynamo programming plug-in, according to the arch thickness equation and the elevation parameter information, the arch thickness corresponding to each point on the axis of the characteristic elevation is calculated;

[0022] Obtain the vertical vector corresponding to each point on the axis of the characteristic elevation, and move each point on the axis of the characteristic elevation forward and backward by half the arch thickness based on the vertical vector to obtain the point on the upstream surface and the point on the downstream surface corresponding to each point on the axis of the characteristic elevation;

[0023] Based on the points on the upstream surface and the points on the downstream surface, respectively generate an upstream curved surface and a downstream curved surface;

[0024] A boundary line of the upstream curved surface and a boundary line of the downstream curved surface are acquired, and the boundary surface is generated based on the boundary lines.

[0025] Optionally, when there are multiple types of the target components, running a fusion code, combining the basic form and the target components, and generating the target arch dam model further includes:

[0026] According to the type of fusion code to be adopted, all target components are grouped to generate multiple component groups; the type of the fusion code is a union type or a difference type;

[0027] Taking all target components in a component group as current components to be combined, and determining corresponding fusion codes based on the components to be combined;

[0028] Running the fusion code to combine the basic shape with the component to be combined to generate an intermediate model;

[0029] In the case that the remaining component groups are not combined, all target components in a component group are used as current components to be combined, and a new fusion code is determined based on the components to be combined; the new fusion code is run to combine the intermediate model with the components to be combined to generate a new intermediate model;

[0030] When all component groups are assembled, the current intermediate model is used as the target arch dam model.

[0031] Optionally, reading the elevation parameter information through a Dynamo programming plug-in includes:

[0032] Based on the elevation parameter information of the target arch dam model, an Excel parameter list is generated;

[0033] The Excel parameter list is read by the Dynamo programming plug-in in units of parameter type to obtain multiple data groups; wherein the amount of data contained in each data group is the same as the number of the elevation parameters;

[0034] Performing an equal division operation on each data in the left-end quasi-half-central angle data group and the right-end quasi-half-central angle data group to expand the data amount in each data group;

[0035] Through the Dynamo programming plug-in, the upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated according to the elevation parameter information after the data volume is expanded and the parameter equation.

[0036] Optionally, the method for generating a BIM model of a hyperbolic arch dam further includes:

[0037] Use the Springs.FamilyInstance.ByGeometry node to output the intermediate model or the target arch dam model according to the preset family path, family name, family type and material parameters;

[0038] In the case that the remaining target components are not combined, the intermediate model and the new components to be combined are loaded into the Dynamo programming plug-in according to the family path.

[0039] According to a second aspect of an embodiment of the present application, a device for generating a BIM model of a hyperbolic arch dam is provided, for implementing the steps in the method provided in the first aspect of the embodiment of the present application, the device comprising:

[0040] A shape generation module is configured to create a basic shape of the target arch dam model through a Dynamo programming plug-in based on elevation parameter information and parameter equations of the target arch dam model;

[0041] A component generation module is configured to determine target components required for a target arch dam model according to the simulation analysis tasks to be performed as needed; the target components are at least one of the following types of components: bottom holes, deep holes, surface holes, elevator shafts, expanded foundations, gate piers, corridors, dam top left bank pads or pump houses; and the target components are created in an Autodesk Revit software platform;

[0042] The fusion module is configured to perform the following steps:

[0043] In the Dynamo programming plug-in, loading the basic shape and the target component;

[0044] Determine that the type of the target component is one or more types;

[0045] In the case that the type of the target component is one, running a fusion code, combining the basic shape and the target component, and generating the target arch dam model, specifically includes: determining a corresponding fusion code based on the target component; running the fusion code, combining the basic shape and the target component, and generating the target arch dam model; the fusion code is used to perform a Boolean union operation or a Boolean difference operation;

[0046] In the case that there are multiple types of the target components, a fusion code is run to combine the basic form and the target components to generate the target arch dam model, which specifically includes: selecting any type of target component as the current component to be combined, and determining the corresponding fusion code based on the component to be combined; running the fusion code to combine the basic form with the component to be combined to generate an intermediate model; in the case that the remaining target components are not combined, obtaining any type of target component among the remaining target components as a new component to be combined, and determining a corresponding new fusion code based on the new component to be combined; running the new fusion code to combine the intermediate model with the new component to be combined to generate a new intermediate model; in the case that all target components are combined, the current intermediate model is used as the target arch dam model.

[0047] Optionally, the shape generation module is specifically configured to perform the following steps:

[0048] Acquire the elevation parameter information of the target arch dam model; the elevation parameter information includes: a plurality of elevation parameters and body parameters corresponding to each elevation parameter; the body parameters include: upstream face distance of crown beam, crown thickness, left arch end thickness, right arch end thickness, length of ellipse, length of minor semi-axis, left arch, right arch, left end semi-central angle and right end semi-central angle;

[0049] Read the elevation parameter information through the Dynamo programming plug-in;

[0050] The upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated based on the elevation parameter information and the parameter equation through the Dynamo programming plug-in; the parameter equation includes: the center axis equation of the arch dam and the arch thickness equation; the boundary surface includes: the top surface, the bottom surface, the left surface and the right surface;

[0051] The upstream surface, the downstream surface and the boundary surface are combined through a Dynamo programming plug-in to generate a basic shape of the target arch dam model.

[0052] Optionally, the shape generation module is configured to calculate and generate the upstream surface, downstream surface and boundary surface of the basic shape based on the elevation parameter information and the parameter equation through the Dynamo programming plug-in, specifically including:

[0053] By using the Dynamo programming plug-in, according to the centerline equation of the arch dam and the elevation parameter information, multiple points on the centerline of the characteristic elevation are calculated and determined;

[0054] By using the Dynamo programming plug-in, according to the arch thickness equation and the elevation parameter information, the arch thickness corresponding to each point on the axis of the characteristic elevation is calculated;

[0055] Obtain the vertical vector corresponding to each point on the axis of the characteristic elevation, and move each point on the axis of the characteristic elevation forward and backward by half the arch thickness based on the vertical vector to obtain the point on the upstream surface and the point on the downstream surface corresponding to each point on the axis of the characteristic elevation;

[0056] Based on the points on the upstream surface and the points on the downstream surface, respectively generate an upstream curved surface and a downstream curved surface;

[0057] A boundary line of the upstream curved surface and a boundary line of the downstream curved surface are acquired, and the boundary surface is generated based on the boundary lines.

[0058] Optionally, when there are multiple types of the target components, the fusion module is configured to run a fusion code, combine the basic form and the target components, and generate the target arch dam model, and further includes:

[0059] According to the type of fusion code to be adopted, all target components are grouped to generate multiple component groups; the type of the fusion code is a union type or a difference type;

[0060] Taking all target components in a component group as current components to be combined, and determining corresponding fusion codes based on the components to be combined;

[0061] Running the fusion code to combine the basic shape with the component to be combined to generate an intermediate model;

[0062] In the case that the remaining component groups are not combined, all target components in a component group are used as current components to be combined, and a new fusion code is determined based on the components to be combined; the new fusion code is run to combine the intermediate model with the components to be combined to generate a new intermediate model;

[0063] When all component groups are assembled, the current intermediate model is used as the target arch dam model.

[0064] Optionally, the shape generation module is configured to read the elevation parameter information through a Dynamo programming plug-in, specifically including:

[0065] Based on the elevation parameter information of the target arch dam model, an Excel parameter list is generated;

[0066] The Excel parameter list is read by the Dynamo programming plug-in in units of parameter type to obtain multiple data groups; wherein the amount of data contained in each data group is the same as the number of the elevation parameters;

[0067] Performing an equal division operation on each data in the left-end quasi-half-central angle data group and the right-end quasi-half-central angle data group to expand the data amount in each data group;

[0068] Through the Dynamo programming plug-in, the upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated according to the elevation parameter information after the data volume is expanded and the parameter equation.

[0069] Optionally, the device for generating a BIM model of a hyperbolic arch dam further includes:

[0070] The output module is configured to use the Springs.FamilyInstance.ByGeometry node to output the intermediate model or the target arch dam model according to the preset family path, family name, family type and material parameters;

[0071] The fusion module is also configured to load the intermediate model and the new component to be combined into the Dynamo programming plug-in according to the family path when the remaining target components are not combined.

[0072] According to a third 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 steps in the method provided in the first aspect of the embodiment of the present application.

[0073] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the method provided in the first aspect of the embodiment of the present application are implemented.

[0074] According to the fifth aspect of the embodiments of the present application, there is provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps in the method provided in the first aspect of the embodiments of the present application are implemented.

[0075] The method for generating a hyperbolic arch dam BIM model provided by the present application is used. The high-precision arch dam foundation form is parametrically created according to the parameter equation and elevation parameter information of the target arch dam model through the visual programming plug-in Dynamo of the Revit software, thereby improving the modeling efficiency and modeling accuracy of the combined arch dam model. Since the foundation form is created parametrically, the foundation form model can be quickly updated when the parameter information of the foundation form is updated, thereby improving the timeliness of modeling. On this basis, according to one or more target components required by the simulation analysis task, the corresponding fusion code is selected in the Dynamo programming plug-in according to different target components to combine the foundation form and the component, and the target arch dam model required for the simulation is generated. By constructing the foundation form and different components separately and combining them using the fusion code, the reuse of the foundation form and the component is realized. When the design drawings are changed, the created foundation form and the component can be reused, and a new target arch dam model is quickly generated based on different combinations. Compared with the traditional manual modeling method, there is no need to repeat the modeling of the foundation form and the target component in the present application, which saves time and labor costs, further improves the modeling efficiency, and speeds up the progress of engineering construction. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments 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.

[0077] Figure 1 It is a flow chart of a method for generating a BIM model of a hyperbolic arch dam proposed in one embodiment of the present application;

[0078] Figure 2 is a flow chart for creating a basic shape in one embodiment of the present application;

[0079] Figure 3 is a flow chart of creating a target arch dam model in one embodiment of the present application;

[0080] Figure 4 It is a schematic diagram of a device for generating a BIM model of a hyperbolic arch dam proposed in one embodiment of the present application;

[0081] Figure 5 is a schematic diagram of an electronic device proposed in one embodiment of the present application;

[0082] Figure 6 This is a schematic diagram of the stages of generating a basic shape in one embodiment of the present application;

[0083] Figure 7 It is a schematic diagram of the stages of a combined arch dam model in one embodiment of the present application. DETAILED DESCRIPTION

[0084] 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.

[0085] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0086] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0087] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects as detailed in the present application.

[0088] 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.

[0089] This method is based on the Autodesk Revit software platform and Revit's visual programming plug-in Dynamo to model the arch dam simulation model. It uses parametric programming modeling to create the basic shape of the arch dam and the components that need to be combined according to the parameters of the design drawings and the arch dam type required for simulation analysis. The basic shape and components are flexibly combined through fusion code to output the target arch dam model for simulation analysis. It meets the requirements of unified datum, parameterization, timeliness and model reuse for arch dam three-dimensional models in engineering construction.

[0090] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0091] Figure 1 FIG. 1 is a flow chart of a method for generating a BIM model of a hyperbolic arch dam according to an embodiment of the present application. Figure 1 As shown, the method is applied to the Autodesk Revit software platform, including:

[0092] S1: Based on the elevation parameter information and parameter equation of the target arch dam model, a basic shape of the target arch dam model is created through a Dynamo programming plug-in;

[0093] S2: Determine the target components required for the target arch dam model according to the simulation analysis task to be performed; the target components are at least one of the following types of components: bottom hole, deep hole, surface hole, elevator shaft, expanded foundation, gate pier, gallery, dam top left bank cushion or pump house;

[0094] S3: creating the target component in the Autodesk Revit software platform;

[0095] S4: loading the basic shape and the target component into the Dynamo programming plug-in;

[0096] S5: Determine that the type of the target component is one or more types;

[0097] S6: When the type of the target component is one, running a fusion code, combining the basic shape and the target component, and generating the target arch dam model, specifically comprising: determining a corresponding fusion code based on the target component; running the fusion code, combining the basic shape and the target component, and generating the target arch dam model; the fusion code is used to perform a Boolean union operation or a Boolean difference operation;

[0098] S7: When there are multiple types of the target components, run the fusion code, combine the basic form and the target components, and generate the target arch dam model, specifically including: selecting any type of target components as the current component to be combined, and determining the corresponding fusion code based on the component to be combined; running the fusion code, combining the basic form with the component to be combined, and generating an intermediate model; when the remaining target components are not combined, obtaining any type of target components among the remaining target components as new components to be combined, and determining the corresponding new fusion code based on the new components to be combined; running the new fusion code, combining the intermediate model with the new component to be combined, and generating a new intermediate model; when all target components are combined, using the current intermediate model as the target arch dam model.

[0099] In this embodiment, the elevation parameter information and parameter equations of the target arch dam model are first obtained, and the basic shape of the arch dam model is created in a parametric manner through the Dynamo programming plug-in. Then, the type of the target arch dam model is determined. Specifically, according to the type of simulation analysis, the combination type of the arch dam model required for the simulation analysis is determined, for example, an arch dam model combining a basic shape with a gate pier, an arch dam model combining a basic shape with a gate pier and an opening, etc. According to the determined type of the target arch dam model, the target component to be created is determined.

[0100] In this embodiment, the combinable construction includes the following types: bottom hole, deep hole, surface hole, elevator shaft, expanded foundation, gate pier, corridor, dam top left bank pad or pump house. Further, the required target component is created on the Autodesk Revit software platform. For example, it can be processed based on CAD format drawings, and the plane, elevation and section drawings of the target component model to be created in the AutoCAD software are imported into the Revit template family, and arranged according to the coordinate elevation parameters in the drawings. In the Revit software, the target component model is quickly created based on the plane, elevation and section using commands such as solid and hollow stretching, lofting, fusion, etc.

[0101] Finally, the basic shape and target components of the arch dam are combined in the Dynamo programming plug-in, and Boolean union or Boolean difference operations are performed on the basic shape and components through fusion code to generate the target arch dam model for simulation.

[0102] In one embodiment, if the target component is only one type of component (for example, bottom hole), all target components are directly imported into the Dynamo programming plug-in, the corresponding fusion code is determined according to the type of the target component, the basic shape is combined with the target component, and the target arch dam model is directly obtained.

[0103] In one embodiment, if the target components include multiple types of components, one type of target components is selected for import each time, and the fusion code to be used is determined according to the type of the target components imported this time. For example, when the target components include gate piers, corridors, and surface holes, three types of target components are imported three times, and the target components are gradually combined into the arch dam model.

[0104] Figure 7 Schematic diagram of the combined arch dam model in one embodiment of the present application. Figure 7 As shown in the figure, firstly, the gate pier components and basic shapes are imported into the Dynamo programming plug-in. Since the gate pier components are auxiliary structures, the corresponding fusion code "Solid.Union" node is selected to perform Boolean union operations on the basic shapes to form an intermediate model, as shown in the figure. Figure 7 (a) is a schematic diagram of the intermediate model of the combination of the foundation shape and the gate pier.

[0105] Furthermore, the intermediate model and the surface hole component are imported into the Dynamo programming plug-in. Since the surface hole component requires a hole structure, the fusion code "Solid.Difference" node is selected to perform a Boolean difference operation on the current intermediate model to combine into a new intermediate model, such as Figure 7 (b) is a schematic diagram of the intermediate model of the combination of the foundation shape, gate pier and surface hole.

[0106] Furthermore, the new intermediate model and the corridor components are imported into the Dynamo programming plug-in. Since the corridor components need to be excavated, the fusion code "Solid.Difference" node is selected to perform Boolean difference operations on the basis of the current intermediate model to form a new intermediate model. Since all target components have been combined, the current intermediate model is the final target arch dam model, such as Figure 7 (c) shows a perspective view of the arch dam model that combines the foundation shape with gate piers, surface holes and corridors.

[0107] By importing target components of the same type in batches according to the type of target components, batch operations can be performed on multiple target components of the same type in each combination, thereby improving the modeling efficiency of the arch dam model.

[0108] This method is used to construct the arch dam model. When the elevation parameter information of the arch dam changes, there is no need to recreate the entire arch dam model. It is only necessary to update the basic shape of the arch dam based on the new elevation parameter information through the Dynamo programming plug-in, and combine the updated basic shape with the target component through the fusion code. When the target component required for simulation analysis changes, there is no need to recreate the entire arch dam model. It is only necessary to create a new target component, and combine the basic shape of the arch dam with the new target component through the fusion code, thereby realizing the reuse of the model.

[0109] This solution uses the Dynamo programming plug-in to perform parametric modeling on the basic form of the arch dam, and quickly creates heterogeneous target components in the Revit software based on the design drawings. The basic form and target components are flexibly combined through the fusion code to generate a high-precision target arch dam model required for simulation. Compared with the traditional manual modeling, this method improves the accuracy and modeling efficiency of the model, and can quickly generate different types of arch dam models that meet the accuracy requirements of simulation analysis. In the case of changes in the design drawings or updates to the model parameters, the already created basic form or components can be reused, and the arch dam model can be updated by modifying some structures to ensure the timeliness of the modeling, save time and labor costs, and speed up the progress of engineering construction.

[0110] As an implementation mode of the present application, it is characterized in that, based on the elevation parameter information and parameter equation of the target arch dam model, the basic shape of the target arch dam model is created through the Dynamo programming plug-in, including:

[0111] Acquire the elevation parameter information of the target arch dam model; the elevation parameter information includes: a plurality of elevation parameters and body parameters corresponding to each elevation parameter; the body parameters include: upstream face distance of crown beam, crown thickness, left arch end thickness, right arch end thickness, length of ellipse, length of minor semi-axis, left arch, right arch, left end semi-central angle and right end semi-central angle;

[0112] Read the elevation parameter information through the Dynamo programming plug-in;

[0113] The upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated based on the elevation parameter information and the parameter equation through the Dynamo programming plug-in; the parameter equation includes: the center axis equation of the arch dam and the arch thickness equation; the boundary surface includes: the top surface, the bottom surface, the left surface and the right surface;

[0114] The upstream surface, the downstream surface and the boundary surface are combined through a Dynamo programming plug-in to generate a basic shape of the target arch dam model.

[0115] As an implementation mode of the present application, the upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated based on the elevation parameter information and the parameter equation by the Dynamo programming plug-in, including:

[0116] By using the Dynamo programming plug-in, according to the centerline equation of the arch dam and the elevation parameter information, multiple points on the centerline of the characteristic elevation are calculated and determined;

[0117] By using the Dynamo programming plug-in, according to the arch thickness equation and the elevation parameter information, the arch thickness corresponding to each point on the axis of the characteristic elevation is calculated;

[0118] Obtain the vertical vector corresponding to each point on the axis of the characteristic elevation, and move each point on the axis of the characteristic elevation forward and backward by half the arch thickness based on the vertical vector to obtain the point on the upstream surface and the point on the downstream surface corresponding to each point on the axis of the characteristic elevation;

[0119] Based on the points on the upstream surface and the points on the downstream surface, respectively generate an upstream curved surface and a downstream curved surface;

[0120] A boundary line of the upstream curved surface and a boundary line of the downstream curved surface are acquired, and the boundary surface is generated based on the boundary lines.

[0121] Figure 2 This is a flowchart of creating a basic shape in one embodiment of the present application. Figure 2 As shown, in one embodiment, according to the elevation parameter information and parameter equations of the target arch dam model, the basic shape of the target arch dam model required for simulation is created through the Dynamo programming plug-in. Specifically, the upstream face and downstream face of the basic shape are generated, and then the boundary lines of the upstream and downstream faces are picked up to obtain 8 boundary lines, and further based on the boundary line combination, 4 boundary faces of the basic shape are obtained. Based on the coordinates of the right arch endpoint, the endpoint data of the boundary face is corrected, and then the 4 boundary faces are combined with the upstream face and the downstream face to generate the basic shape. The detailed process is explained below through a specific example:

[0122] (1) First, load the elevation parameter information of the arch dam foundation into the Revit software platform. Create a new family in the Revit software, select "Metric General Model", set the unit, select meters for length, keep three decimal places, and save the family file as a family template file;

[0123] (2) Open the Dynamo programming plug-in and use the "File path" node and "File from path" node to read the elevation parameter information, as shown in Table 1 below (length unit: meter; angle unit: degree).

[0124] Table 1

[0125]

[0126] As shown in Table 1, the Dynamo programming plug-in reads an elevation parameter group and the corresponding 10 data groups ( Figure 1 Each column is a data group), and each data group includes 8 data. The meanings of the parameters of each data group are as follows:

[0127] Yc: upstream distance of crown beam (Y coordinate);

[0128] Tc, Tsl, Tsr: crown thickness, left arch end thickness, right arch end thickness;

[0129] Al, Bl: length of the major semi-axis of the left arch ellipse, length of the minor semi-axis of the left arch ellipse;

[0130] Ar, Br: length of the major semi-axis of the right arch ellipse, length of the minor semi-axis of the right arch ellipse;

[0131] , : The left end is like a half-center angle, and the right end is like a half-center angle; specifically, , is the angle between the radius of curvature of any point on the central axis and the centerline of the arch dam (parameter variable), and its range is [0, ], is the maximum value of the semi-central angle.

[0132] (3) Input the centerline equation of the arch dam into the Dynamo programming plug-in, and calculate the X and Y coordinates of the points on the centerline of the arch dam characteristic elevation by inputting 11 sets of data (including the elevation parameter group) into the equation. The centerline equation is as follows:

[0133] ;

[0134] .

[0135] Among them, Math.Pow is a power operation, Math.Tan is a tangent value calculation, A is the length of the major semi-axis of the ellipse, and B is the length of the minor semi-axis of the ellipse. Among them, the X coordinates of the points on the left and right banks are opposite to each other. Based on the elevation parameter information and the central axis equation, the points on the central axis of the left and right banks of the characteristic elevation are calculated. Based on the points on the central axis of the characteristic elevation, the node "NurbsCurve.ByPoints" in the Dynamo programming plug-in is used to generate 8 central axes on the left and right banks.

[0136] (4) Further, the arch thickness T corresponding to the eight central axes of the left and right banks is obtained through the arch thickness equation. The specific arch thickness equation will vary according to different hyperbolic arch dams. For example, the arch thickness equation used in this embodiment is as follows:

[0137] ;

[0138] Among them, Sa is the arc length of the central axis of the left and right banks (the arc length from the arch end to the center line of the arch crown beam), Tc is the arch thickness at the arch crown beam, Ta is the arch thickness at the arch end, and Si is the arc length from the point to the center line of the arch crown beam.

[0139] Divide the 16 curves, including 8 central axes on the left and right banks, into 100 equal segments to generate 101 points. Use the "Curve.SegmentLengthAtParameter" node to calculate the arc length of the centerline from each point to the crown beam (i.e. Si). Input the parameter into the arch thickness equation to calculate the arch thickness corresponding to the point on the central axis of the characteristic elevation.

[0140] (5) Use the "Curve.NormalAtParameter" node to obtain the vertical vectors corresponding to the points on the 16 central axes of the left and right banks. Use the "Geometry.Translate" node to move the points on the central axis in the positive and negative directions of the coordinates according to the vertical vector at the point by 1 / 2 arch thickness, and obtain the points on the central axis corresponding to the points on the upstream and downstream surfaces. Summarize the points on the upstream and downstream surfaces of the left and right banks through the "List.Combine" node, and then generate the upstream and downstream surfaces through the "NurbsSurface.ByPoints" node.

[0141] (6) The eight boundary lines of the upstream and downstream surfaces are read through the "Surface.PerimeterCurves" node, and each curve is divided into 162 points. The points corresponding to the upstream and downstream boundary lines are combined in pairs, and four boundary surfaces are constructed through the "NurbsSurface.ByPoints" node: top, bottom, left, and right.

[0142] (7) The upstream surface, downstream surface, and four boundary surfaces, a total of 6 surfaces, are synthesized into an arch dam solid model through the "Solid.ByJoinedSurfaces" node. Furthermore, the basic shape is exported to the Revit software platform through the "Springs.FamilyInstance.ByGeometry" node to generate a family of the dam shape.

[0143] Figure 6 Schematic diagram of the stages of generating a basic shape in one embodiment of the present application. Figure 6 As shown in the figure, (a) is the point on the central axis of the characteristic elevation generated after the data volume is expanded; (b) is the point on the upstream and downstream surfaces of the characteristic elevation generated based on the arch thickness; (c) is the upstream and downstream surfaces of the arch dam shape; (d) is the top, bottom, left and right surfaces of the arch dam shape; (e) is the basic shape of the generated target arch dam model.

[0144] As an implementation mode of the present application, reading the elevation parameter information through the Dynamo programming plug-in includes:

[0145] Based on the elevation parameter information of the target arch dam model, an Excel parameter list is generated;

[0146] The Excel parameter list is read by the Dynamo programming plug-in in units of parameter type to obtain multiple data groups; wherein the amount of data contained in each data group is the same as the number of the elevation parameters;

[0147] Performing an equal division operation on each data in the left-end quasi-half-central angle data group and the right-end quasi-half-central angle data group to expand the data amount in each data group;

[0148] Through the Dynamo programming plug-in, the upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated according to the elevation parameter information after the data volume is expanded and the parameter equation.

[0149] In one embodiment, in order to enable the Dynamo programming plug-in to read multiple elevation parameter information more conveniently, realize automatic batch reading, and improve the standardization and efficiency of modeling. Before reading the elevation parameter information, according to the drawings of the basic shape, the elevation parameter information therein is sorted and generated into an Excel parameter list according to the parameter type, and the "Date.ImportExcel" node is used in the Dynamo programming plug-in to read each data in turn and automatically obtain 11 groups of data.

[0150] In addition, in order to improve the accuracy of the arch dam model, after reading the elevation parameter information through the Dynamo programming plug-in, the left half-center angle , the right end is like a half-center angle The data of the two data groups are subdivided and expanded. Specifically, given , is a variable, so each value in the two data groups is divided equally, the data volume in the data group is expanded, and then the data volume in all data groups is expanded accordingly. By expanding the data volume in each data group, the number of points on the calculated characteristic elevation centerline can be expanded, and then when 8 centerlines on the left and right banks are generated based on the points on the characteristic elevation centerline, a more accurate centerline can be generated, thereby improving the accuracy of the target arch dam model.

[0151] For example, , Each data in the two data groups is divided into 10 equal parts, and the amount of data in each data group is expanded from 8 to 80, and the points on the axis of the characteristic elevation are also expanded by 10 times accordingly.

[0152] In this embodiment, after creating the basic shape and target components of the target arch dam model, the basic shape and target components are imported into the Dynamo programming plug-in, the corresponding fusion code is selected in the plug-in, the basic shape and the target component are combined, and the target arch dam model finally used for simulation analysis is output. Figure 3 1 is a flow chart of creating a target arch dam model in one embodiment of the present application. Figure 3 As shown in the figure, the Dynamo programming plug-in is used to create the code of the basic shape of the target arch dam model, and then the basic shape is output to the Autodesk Revit software platform, and the target components required for simulation are created through the Autodesk Revit software platform, and then the target components to be combined this time are determined, and the target components to be combined this time and the basic shape are imported into the Dynamo programming plug-in for combination. Select the corresponding fusion code in the Dynamo programming plug-in, perform Boolean union operation or Boolean difference operation on the basic shape and the imported target component, and then output the final target arch dam model according to the configured output parameters.

[0153] Specifically, the steps for combining the basic shape and the target component are as follows:

[0154] (1) Create a new project file in Revit software, select the building template, set the unit to meters, load the finished components into the project file, and align the coordinates and elevations;

[0155] (2) Open the Dynamo programming plug-in, use the "Select Model Element" node to select the target component loaded into the project file, and convert the selected target component into a solid through the "Element.Solids" node;

[0156] (3) Determine the corresponding fusion code according to the type of target component. Specifically, for structures that require digging holes, such as bottom holes, deep holes, surface holes, elevator shafts, and corridors, Boolean difference operations need to be used for combination; for auxiliary structures such as expanded foundations, gate piers, dam top left bank pads, and pump houses, Boolean union operations need to be used for combination. For target components that require digging holes, select the fusion code "Solid.Difference" node to perform Boolean difference operations; for target components of the auxiliary structure type, select the fusion code "Solid.Union" node to perform Boolean union operations. By selecting the corresponding fusion code for combination according to different types of target components, flexible generation of arch dam models with different structures can be achieved;

[0157] (4) Configure the output parameters. Specifically, use the "Springs.FamilyInstance.ByGeometry" node to configure the rft format template family path, output family name, type, and material parameters required for the output model;

[0158] (5) Output the target arch dam model according to the configured output parameters to complete the arch dam modeling required for simulation analysis.

[0159] As an implementation manner of the present application, when there are multiple types of target components, running a fusion code, combining the basic form and the target component, and generating the target arch dam model further includes:

[0160] According to the type of fusion code to be adopted, all target components are grouped to generate multiple component groups; the type of the fusion code is a union type or a difference type;

[0161] Taking all target components in a component group as current components to be combined, and determining corresponding fusion codes based on the components to be combined;

[0162] Running the fusion code to combine the basic shape with the component to be combined to generate an intermediate model;

[0163] In the case that the remaining component groups are not combined, all target components in a component group are used as current components to be combined, and a new fusion code is determined based on the components to be combined; the new fusion code is run to combine the intermediate model with the components to be combined to generate a new intermediate model;

[0164] When all component groups are assembled, the current intermediate model is used as the target arch dam model.

[0165] In one embodiment, before importing the target component into the Dynamo programming plug-in, the target component is grouped according to the type of fusion code that the target component needs to adopt. In this embodiment, the number of component groups that can be generated is the same as the number of types of fusion codes set as needed in actual applications.

[0166] In this embodiment, the fusion code includes two types, namely, Boolean union type and Boolean difference type. According to these two types, the target components can be divided into two component groups at most. For example, when the target components include "bottom holes, surface holes, expanded foundations, and gate piers", the target components are divided into two component groups according to the union type and the difference type, one group is the "expanded foundations and gate piers" that require Boolean union operations, and the other group is the "bottom holes and surface holes" that require Boolean difference operations. When importing the target components into the Dynamo programming plug-in, all the target components in one component group are selected as the components to be combined for import and combination. For the target components in the same component group, the same fusion code can be selected for combination.

[0167] For example, first import the "expanded foundation and gate pier" as the components to be combined into the Dynamo programming plug-in, select the fusion code "Solid.Union" node, perform Boolean union operation on the basic shape, and combine into an intermediate model. Then, import the "bottom hole and surface hole" as the components to be combined into the Dynamo programming plug-in, select the fusion code "Solid.Difference" node, perform Boolean difference operation on the basis of the current intermediate model, and combine to obtain the final target arch dam model.

[0168] By dividing the target components into multiple component groups according to the type of fusion code to be used, it is possible to combine as many target components as possible each time a component combination operation is performed, thereby reducing the number of repeated imports and executions of fusion codes and further improving the modeling efficiency of the arch dam model.

[0169] As an implementation manner of the present application, the method for generating a BIM model of a hyperbolic arch dam further includes:

[0170] Use the Springs.FamilyInstance.ByGeometry node to output the intermediate model or the target arch dam model according to the preset family path, family name, family type and material parameters;

[0171] In the case that the remaining target components are not combined, the intermediate model and the new components to be combined are loaded into the Dynamo programming plug-in according to the family path.

[0172] In one embodiment, the target component includes multiple types. Each time a target component is imported, one type of target component is selected as the component to be combined and imported and merged with the basic shape to generate an intermediate model. After each intermediate model is generated, the Springs.FamilyInstance.ByGeometry node is used to output the intermediate model to a specified path, and when a new component to be combined is imported next time, the current intermediate model is also loaded, so that the intermediate model is combined with the new component to be combined.

[0173] Based on the same inventive concept, an embodiment of the present application provides a device for generating a BIM model of a hyperbolic arch dam. Figure 4 , Figure 4 1 is a schematic diagram of a device 100 for generating a BIM model of a hyperbolic arch dam according to an embodiment of the present application. Figure 4 As shown, the device comprises:

[0174] The shape generation module 101 is configured to create a basic shape of the target arch dam model through a Dynamo programming plug-in based on the elevation parameter information and parameter equation of the target arch dam model;

[0175] The component generation module 102 determines the target components required for the target arch dam model according to the simulation analysis task to be performed; the target components are at least one of the following types of components: bottom holes, deep holes, surface holes, elevator shafts, expanded foundations, gate piers, corridors, dam top left bank pads or pump houses; and the target components are created in the Autodesk Revit software platform;

[0176] The fusion module 103 is configured to perform the following steps:

[0177] In the Dynamo programming plug-in, loading the basic shape and the target component;

[0178] Determine that the type of the target component is one or more types;

[0179] In the case that the type of the target component is one, running a fusion code, combining the basic shape and the target component, and generating the target arch dam model, specifically includes: determining a corresponding fusion code based on the target component; running the fusion code, combining the basic shape and the target component, and generating the target arch dam model; the fusion code is used to perform a Boolean union operation or a Boolean difference operation;

[0180] In the case that there are multiple types of the target components, a fusion code is run to combine the basic form and the target components to generate the target arch dam model, which specifically includes: selecting any type of target component as the current component to be combined, and determining the corresponding fusion code based on the component to be combined; running the fusion code to combine the basic form with the component to be combined to generate an intermediate model; in the case that the remaining target components are not combined, obtaining any type of target component among the remaining target components as a new component to be combined, and determining a corresponding new fusion code based on the new component to be combined; running the new fusion code to combine the intermediate model with the new component to be combined to generate a new intermediate model; in the case that all target components are combined, the current intermediate model is used as the target arch dam model.

[0181] As an implementation manner of the present application, the body generation module 101 is specifically configured to perform the following steps:

[0182] Acquire the elevation parameter information of the target arch dam model; the elevation parameter information includes: a plurality of elevation parameters and body parameters corresponding to each elevation parameter; the body parameters include: upstream face distance of crown beam, crown thickness, left arch end thickness, right arch end thickness, length of ellipse, length of minor semi-axis, left arch, right arch, left end semi-central angle and right end semi-central angle;

[0183] Read the elevation parameter information through the Dynamo programming plug-in;

[0184] The upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated based on the elevation parameter information and the parameter equation through the Dynamo programming plug-in; the parameter equation includes: the center axis equation of the arch dam and the arch thickness equation; the boundary surface includes: the top surface, the bottom surface, the left surface and the right surface;

[0185] The upstream surface, the downstream surface and the boundary surface are combined through a Dynamo programming plug-in to generate a basic shape of the target arch dam model.

[0186] As an implementation mode of the present application, the shape generation module 101 is configured to calculate and generate the upstream surface, downstream surface and boundary surface of the basic shape based on the elevation parameter information and the parameter equation through the Dynamo programming plug-in, specifically including:

[0187] By using the Dynamo programming plug-in, according to the centerline equation of the arch dam and the elevation parameter information, multiple points on the centerline of the characteristic elevation are calculated and determined;

[0188] By using the Dynamo programming plug-in, according to the arch thickness equation and the elevation parameter information, the arch thickness corresponding to each point on the axis of the characteristic elevation is calculated;

[0189] Obtain the vertical vector corresponding to each point on the axis of the characteristic elevation, and move each point on the axis of the characteristic elevation forward and backward by half the arch thickness based on the vertical vector to obtain the point on the upstream surface and the point on the downstream surface corresponding to each point on the axis of the characteristic elevation;

[0190] Based on the points on the upstream surface and the points on the downstream surface, respectively generate an upstream curved surface and a downstream curved surface;

[0191] A boundary line of the upstream curved surface and a boundary line of the downstream curved surface are acquired, and the boundary surface is generated based on the boundary lines.

[0192] As an implementation manner of the present application, when there are multiple types of target components, the fusion module 103 is configured to run a fusion code, combine the basic form and the target component, and generate the target arch dam model, and further includes:

[0193] According to the type of fusion code to be adopted, all target components are grouped to generate multiple component groups; the type of the fusion code is a union type or a difference type;

[0194] Taking all target components in a component group as current components to be combined, and determining corresponding fusion codes based on the components to be combined;

[0195] Running the fusion code to combine the basic shape with the component to be combined to generate an intermediate model;

[0196] In the case that the remaining component groups are not combined, all target components in a component group are used as current components to be combined, and a new fusion code is determined based on the components to be combined; the new fusion code is run to combine the intermediate model with the components to be combined to generate a new intermediate model;

[0197] When all component groups are assembled, the current intermediate model is used as the target arch dam model.

[0198] As an implementation manner of the present application, the shape generation module 101 is configured to read the elevation parameter information through a Dynamo programming plug-in, specifically including:

[0199] Based on the elevation parameter information of the target arch dam model, an Excel parameter list is generated;

[0200] The Excel parameter list is read by the Dynamo programming plug-in in units of parameter type to obtain multiple data groups; wherein the amount of data contained in each data group is the same as the number of the elevation parameters;

[0201] Performing an equal division operation on each data in the left-end quasi-half-central angle data group and the right-end quasi-half-central angle data group to expand the data amount in each data group;

[0202] Through the Dynamo programming plug-in, the upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated according to the elevation parameter information after the data volume is expanded and the parameter equation.

[0203] As an implementation manner of the present application, the device for generating a BIM model of a hyperbolic arch dam further includes:

[0204] The output module is configured to use the Springs.FamilyInstance.ByGeometry node to output the intermediate model or the target arch dam model according to the preset family path, family name, family type and material parameters;

[0205] The fusion module is also configured to load the intermediate model and the new component to be combined into the Dynamo programming plug-in according to the family path when the remaining target components are not combined.

[0206] Based on the same inventive concept, an embodiment of the present application provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps in the method for generating a BIM model of a hyperbolic arch dam as described in any of the above embodiments of the present application are implemented.

[0207] Based on the same inventive concept, an embodiment of the present application provides a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the method for generating a BIM model of a hyperbolic arch dam as described in any of the above embodiments of the present application are implemented.

[0208] Based on the same inventive concept, an embodiment of the present application provides an electronic device, referring to Figure 5 , Figure 5 2 is a schematic diagram of an electronic device 200 proposed in an embodiment of the present application. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps in the method for generating a hyperbolic arch dam BIM model as described in any of the above embodiments of the present application are implemented.

[0209] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0210] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

[0211] For the method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and components involved are not necessarily required by the present application.

[0212] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may 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 codes.

[0213] 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.

[0214] 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.

[0215] 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.

[0216] 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 are aware of the basic creative concepts. Therefore, the present application is interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0217] 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.

[0218] The above is a detailed introduction to the generation method, device, equipment and storage medium of the hyperbolic arch 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 of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for generating a BIM model of a hyperbolic arch dam, characterized in that: Applied to Autodesk Revit software platform, including: Based on the elevation parameter information and parameter equation of the target arch dam model, a basic shape of the target arch dam model is created through a Dynamo programming plug-in; Determine the target components required for the target arch dam model according to the simulation analysis tasks to be performed; the target components are at least one of the following types of components: bottom holes, deep holes, surface holes, elevator shafts, expanded foundations, gate piers, corridors, dam top left bank cushions or pump houses; Creating the target component in the Autodesk Revit software platform; In the Dynamo programming plug-in, loading the basic shape and the target component; Determine that the type of the target component is one or more types; In the case that the type of the target component is one, running a fusion code, combining the basic shape and the target component, and generating the target arch dam model, specifically includes: determining a corresponding fusion code based on the target component; running the fusion code, combining the basic shape and the target component, and generating the target arch dam model; the fusion code is used to perform a Boolean union operation or a Boolean difference operation; In the case that there are multiple types of the target components, a fusion code is run to combine the basic form and the target components to generate the target arch dam model, which specifically includes: selecting any type of target component as the current component to be combined, and determining the corresponding fusion code based on the component to be combined; running the fusion code to combine the basic form with the component to be combined to generate an intermediate model; in the case that the remaining target components are not combined, obtaining any type of target component among the remaining target components as a new component to be combined, and determining a corresponding new fusion code based on the new component to be combined; running the new fusion code to combine the intermediate model with the new component to be combined to generate a new intermediate model; in the case that all target components are combined, the current intermediate model is used as the target arch dam model.

2. The method for generating a hyperbolic arch dam BIM model according to claim 1, characterized in that: Based on the elevation parameter information and parameter equation of the target arch dam model, the basic shape of the target arch dam model is created through the Dynamo programming plug-in, including: Acquire the elevation parameter information of the target arch dam model; the elevation parameter information includes: a plurality of elevation parameters and body parameters corresponding to each elevation parameter; the body parameters include: upstream face distance of crown beam, crown thickness, left arch end thickness, right arch end thickness, length of ellipse, length of minor semi-axis, left arch, right arch, left end semi-central angle and right end semi-central angle; Read the elevation parameter information through the Dynamo programming plug-in; The upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated based on the elevation parameter information and the parameter equation through the Dynamo programming plug-in; the parameter equation includes: the center axis equation of the arch dam and the arch thickness equation; the boundary surface includes: the top surface, the bottom surface, the left surface and the right surface; The upstream surface, the downstream surface and the boundary surface are combined through a Dynamo programming plug-in to generate a basic shape of the target arch dam model.

3. The method for generating a hyperbolic arch dam BIM model according to claim 2, characterized in that: The upstream surface, the downstream surface and the boundary surface of the basic shape are calculated and generated based on the elevation parameter information and the parameter equation by the Dynamo programming plug-in, including: By using the Dynamo programming plug-in, according to the centerline equation of the arch dam and the elevation parameter information, multiple points on the centerline of the characteristic elevation are calculated and determined; By using the Dynamo programming plug-in, according to the arch thickness equation and the elevation parameter information, the arch thickness corresponding to each point on the axis of the characteristic elevation is calculated; Obtain the vertical vector corresponding to each point on the axis of the characteristic elevation, and move each point on the axis of the characteristic elevation forward and backward by half the arch thickness based on the vertical vector to obtain the point on the upstream surface and the point on the downstream surface corresponding to each point on the axis of the characteristic elevation; Based on the points on the upstream surface and the points on the downstream surface, respectively generate an upstream curved surface and a downstream curved surface; A boundary line of the upstream curved surface and a boundary line of the downstream curved surface are acquired, and the boundary surface is generated based on the boundary lines.

4. The method for generating a hyperbolic arch dam BIM model according to claim 1, characterized in that: In the case where there are multiple types of target components, running a fusion code, combining the basic form and the target components, and generating the target arch dam model further includes: According to the type of fusion code to be adopted, all target components are grouped to generate multiple component groups; the type of the fusion code is a union type or a difference type; Taking all target components in a component group as current components to be combined, and determining corresponding fusion codes based on the components to be combined; Running the fusion code to combine the basic shape with the component to be combined to generate an intermediate model; In the case that the remaining component groups are not combined, all target components in a component group are used as current components to be combined, and a new fusion code is determined based on the components to be combined; the new fusion code is run to combine the intermediate model with the components to be combined to generate a new intermediate model; When all component groups are assembled, the current intermediate model is used as the target arch dam model.

5. The method for generating a hyperbolic arch dam BIM model according to claim 2, characterized in that: The elevation parameter information is read through the Dynamo programming plug-in, including: Based on the elevation parameter information of the target arch dam model, an Excel parameter list is generated; The Excel parameter list is read by the Dynamo programming plug-in in units of parameter type to obtain multiple data groups; wherein the amount of data contained in each data group is the same as the number of the elevation parameters; Performing an equal division operation on each data in the left-end quasi-half-central angle data group and the right-end quasi-half-central angle data group to expand the data amount in each data group; Through the Dynamo programming plug-in, the upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated according to the elevation parameter information after the data volume is expanded and the parameter equation.

6. The method for generating a BIM model of a hyperbolic arch dam according to claim 1, characterized in that: Also includes: Use the Springs.FamilyInstance.ByGeometry node to output the intermediate model or the target arch dam model according to the preset family path, family name, family type and material parameters; In the case that the remaining target components are not combined, the intermediate model and the new components to be combined are loaded into the Dynamo programming plug-in according to the family path.

7. A device for generating a BIM model of a hyperbolic arch dam, characterized in that: Used to perform the method according to any one of claims 1 to 6, comprising: A shape generation module is configured to create a basic shape of the target arch dam model through a Dynamo programming plug-in based on elevation parameter information and parameter equations of the target arch dam model; A component generation module is configured to determine target components required for a target arch dam model according to the simulation analysis tasks to be performed as needed; the target components are at least one of the following types of components: bottom holes, deep holes, surface holes, elevator shafts, expanded foundations, gate piers, corridors, dam top left bank pads or pump houses; and the target components are created in an Autodesk Revit software platform; The fusion module is configured to perform the following steps: In the Dynamo programming plug-in, loading the basic shape and the target component; Determine that the type of the target component is one or more types; In the case that the type of the target component is one, running a fusion code, combining the basic shape and the target component, and generating the target arch dam model, specifically includes: determining a corresponding fusion code based on the target component; running the fusion code, combining the basic shape and the target component, and generating the target arch dam model; the fusion code is used to perform a Boolean union operation or a Boolean difference operation; In the case that there are multiple types of the target components, a fusion code is run to combine the basic form and the target components to generate the target arch dam model, which specifically includes: selecting any type of target component as the current component to be combined, and determining the corresponding fusion code based on the component to be combined; running the fusion code to combine the basic form with the component to be combined to generate an intermediate model; in the case that the remaining target components are not combined, obtaining any type of target component among the remaining target components as a new component to be combined, and determining a corresponding new fusion code based on the new component to be combined; running the new fusion code to combine the intermediate model with the new component to be combined to generate a new intermediate model; in the case that all target components are combined, the current intermediate model is used as the target arch dam model.

8. The device for generating a BIM model of a hyperbolic arch dam according to claim 7, characterized in that: The shape generation module is specifically configured to perform the following steps: Acquiring elevation parameter information of the target arch dam model; The elevation parameter information includes: a plurality of elevation parameters and body parameters corresponding to each elevation parameter; the body parameters include: upstream face distance of crown beam, crown thickness, left arch end thickness, right arch end thickness, length of ellipse, length of minor semi-axis, left arch, right arch, left end semi-central angle and right end semi-central angle; Read the elevation parameter information through the Dynamo programming plug-in; The upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated based on the elevation parameter information and the parameter equation through the Dynamo programming plug-in; the parameter equation includes: the center axis equation of the arch dam and the arch thickness equation; the boundary surface includes: the top surface, the bottom surface, the left surface and the right surface; The upstream surface, the downstream surface and the boundary surface are combined through a Dynamo programming plug-in to generate a basic shape of the target arch dam model.

9. The device for generating a BIM model of a hyperbolic arch dam according to claim 8, characterized in that: The shape generation module is configured to calculate and generate the upstream surface, downstream surface and boundary surface of the basic shape based on the elevation parameter information and the parameter equation through the Dynamo programming plug-in, specifically including: By using the Dynamo programming plug-in, according to the centerline equation of the arch dam and the elevation parameter information, multiple points on the centerline of the characteristic elevation are calculated and determined; By using the Dynamo programming plug-in, according to the arch thickness equation and the elevation parameter information, the arch thickness corresponding to each point on the axis of the characteristic elevation is calculated; Obtain the vertical vector corresponding to each point on the axis of the characteristic elevation, and move each point on the axis of the characteristic elevation forward and backward by half the arch thickness based on the vertical vector to obtain the point on the upstream surface and the point on the downstream surface corresponding to each point on the axis of the characteristic elevation; Based on the points on the upstream surface and the points on the downstream surface, respectively generate an upstream curved surface and a downstream curved surface; A boundary line of the upstream curved surface and a boundary line of the downstream curved surface are acquired, and the boundary surface is generated based on the boundary lines.

10. The device for generating a BIM model of a hyperbolic arch dam according to claim 7, characterized in that: In the case where there are multiple types of target components, the fusion module is configured to run a fusion code, combine the basic form and the target component, and generate the target arch dam model, and further includes: According to the type of fusion code to be adopted, all target components are grouped to generate multiple component groups; the type of the fusion code is a union type or a difference type; Taking all target components in a component group as current components to be combined, and determining corresponding fusion codes based on the components to be combined; Running the fusion code to combine the basic shape with the component to be combined to generate an intermediate model; In the case that the remaining component groups are not combined, all target components in a component group are used as current components to be combined, and a new fusion code is determined based on the components to be combined; the new fusion code is run to combine the intermediate model with the components to be combined to generate a new intermediate model; When all component groups are assembled, the current intermediate model is used as the target arch dam model.

11. The device for generating a BIM model of a hyperbolic arch dam according to claim 8, characterized in that: The shape generation module is configured to read the elevation parameter information through the Dynamo programming plug-in, specifically including: Based on the elevation parameter information of the target arch dam model, an Excel parameter list is generated; The Excel parameter list is read by the Dynamo programming plug-in in units of parameter type to obtain multiple data groups; wherein the amount of data contained in each data group is the same as the number of the elevation parameters; Performing an equal division operation on each data in the left-end quasi-half-central angle data group and the right-end quasi-half-central angle data group to expand the data amount in each data group; Through the Dynamo programming plug-in, the upstream surface, downstream surface and boundary surface of the basic shape are calculated and generated according to the elevation parameter information after the data volume is expanded and the parameter equation.

12. The device for generating a BIM model of a hyperbolic arch dam according to claim 7, characterized in that: Also includes: The output module is configured to use the Springs.FamilyInstance.ByGeometry node to output the intermediate model or the target arch dam model according to the preset family path, family name, family type and material parameters; The fusion module is also configured to load the intermediate model and the new component to be combined into the Dynamo programming plug-in according to the family path when the remaining target components are not combined.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Arch dam hub BIM rapid modeling method based on 3DEXPERIENCE Platform

    CN113946897A

  • Arch dam parameter modeling method based on Revit platform

    CN117932760A