Method for creating a three-dimensional tunnel geological model based on dynamo

By parsing and processing tunnel geological data using the Dynamo program, generating road centerlines and creating geological entity models, the problems of low modeling efficiency and poor accuracy in Revit are solved, and efficient and accurate tunnel geological model creation is achieved.

CN115578530BActive Publication Date: 2026-06-26CHINA 19TH METALLURGICAL CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA 19TH METALLURGICAL CORP
Filing Date
2022-11-09
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Existing technologies for creating tunnel geological models in Revit suffer from low modeling efficiency and poor model accuracy, especially when dealing with complex geological structures, which is even more cumbersome.

Method used

The design drawings were analyzed using the Dynamo program to obtain the coordinate data of each pile. After processing the data in an Excel spreadsheet, the data was imported into Dynamo to generate the road centerline and create a geological entity model. Different geological entities were then assigned corresponding colors and materials.

Benefits of technology

It improves modeling efficiency and accuracy, especially in data processing and model creation for complex geological structures, and supports batch modification and fine-tuning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115578530B_ABST
    Figure CN115578530B_ABST
Patent Text Reader

Abstract

The present application relates to the field of three-dimensional tunnel geological model creation, and particularly relates to a method for creating a three-dimensional tunnel geological model based on Dynamo, which greatly improves modeling efficiency and model accuracy. The method for creating a three-dimensional tunnel geological model based on Dynamo comprises the following steps: analyzing design drawings, obtaining pile-by-pile coordinate data, and processing the pile-by-pile coordinate data; generating a road center line through a Dynamo program according to the processed pile-by-pile coordinate data; creating a geological entity model through the Dynamo program according to the road center line; importing the geological entity model into a project file, and assigning corresponding color materials to different geological entities. The present application is suitable for creating a three-dimensional tunnel geological model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of creating three-dimensional tunnel geological models, and specifically to a method for creating three-dimensional tunnel geological models based on Dynamo. Background Technology

[0002] Dynamo is a flow-based visual programming software, now available as a plugin for Revit, used to enable visual programming and parametric component-driven programming. It provides functions such as rapid modeling, parametric design, and batch processing of model information.

[0003] Currently, building tunnel geological models in Revit typically employs traditional modeling methods: creating contour families based on measurement data, determining the road centerline, placing each contour family according to the centerline, and modifying the corresponding parameters. However, irregular contours make modeling extremely tedious, leading to low modeling efficiency, and coarse data processing results in poor model accuracy. Summary of the Invention

[0004] The purpose of this invention is to provide a method for creating three-dimensional tunnel geological models based on Dynamo, which greatly improves modeling efficiency and model accuracy.

[0005] The present invention achieves the above objectives by adopting the following technical solution: a method for creating a three-dimensional tunnel geological model based on Dynamo, comprising:

[0006] Step 1: Analyze the design drawings, obtain the coordinate data of each pile, and process the coordinate data of each pile.

[0007] Step 2: Generate the road centerline using the Dynamo program based on the processed stakeout coordinate data;

[0008] Step 3: Create a geological solid model using the Dynamo program based on the road centerline;

[0009] Step 4: Import the geological entity model into the project file and assign corresponding colors and materials to different geological entities.

[0010] Furthermore, in step 1, the step of analyzing the design drawings, obtaining pile-by-pile coordinate data, and processing the pile-by-pile coordinate data using an Excel spreadsheet specifically includes:

[0011] Step 101: Calculate the coordinate data of each pile using the horizontal and vertical curve element tables in the design drawings;

[0012] Step 102: Export the pile-by-pile coordinate data and categorize it in an Excel spreadsheet according to the pile-by-pile coordinate data, X coordinate, Y coordinate, and Z coordinate.

[0013] Step 103: Geologically differentiate the tunnel cross-section data, delineate geological change points, and generate multiple geological Excel spreadsheets.

[0014] It enables data processing for complex geological conditions, such as multi-layered, double-layered, and single-layered geological conditions.

[0015] Furthermore, in step 2, the step of generating the road centerline using the Dynamo program based on the processed stake-by-stake coordinate data specifically includes:

[0016] Step 201: Import the categorized data into the Dynamo program using the Data.ImportExcel node;

[0017] Step 202: Transpose the data using the List.Transpose node, extract the coordinates of the data using the List.Getltemindex node, and generate the point corresponding to the coordinates using the Point.ByCoordinates node.

[0018] Step 203: Connect the points corresponding to the coordinates generated by the PolyCurve.ByPoints node to form a closed loop and generate the road centerline.

[0019] This implementation achieves the conversion of Excel spreadsheet data into data within the Dynamo program, as well as the generation of center lines. It improves the efficiency of both data conversion and center line generation.

[0020] Furthermore, step 3, which involves creating a geological entity model based on the road centerline using the Dynamo program, specifically includes:

[0021] Step 301: Obtain multi-layer cross-sectional data from the geological Excel spreadsheet through the File Path node, import the cross-sectional data into the Dynamo program through the Data.ImportExcel node, transpose the cross-sectional data through the List.Transpose node, and extract the X, Y, and Z coordinates of the cross-sectional data through the List.Getltemindex node; This realizes the conversion of cross-sectional data from the Excel spreadsheet to data in the Dynamo program, improving data efficiency and accuracy.

[0022] Step 302: Group each section data into inverted arch arc data and non-inverted arch arc data using the List.Chop node and List.Getltemindex node. Generate points corresponding to the coordinates of the inverted arch arc data and non-inverted arch arc data using the Point.ByCoordinates node. This achieves grouping of each section data, obtaining inverted arch arc data and non-inverted arch arc data, and generating points corresponding to the coordinates of the data. This grouping process improves data accuracy.

[0023] Step 303: Filter the geological stratification point data using the List.FilterByBoolMask node, and generate points corresponding to the coordinates of the geological stratification point data using the Point.ByCoordinates node; thus realizing the filtering of geological stratification points.

[0024] Step 304: Based on the points corresponding to the coordinates of the non-inverted arch segment arc, generate the non-inverted arch segment arc through the Arc.ByBestFitThroughPoints node; thus realizing the generation of the non-inverted arch segment arc.

[0025] Step 305: Obtain the start and end points of the non-inverted arch arc using the Curve.StratPoint and Curve.EndPoint nodes, and generate the inverted arch arc using the Arc.ByBestFitThroughPoints node and the points corresponding to the inverted arch arc data coordinates; thus realizing the generation of the inverted arch arc.

[0026] Step 306: Using the Curve.SplitByPoints node, the non-inverted arch segment arc and the inverted arch segment arc are broken according to the points corresponding to the geological stratification data coordinates, generating a new arc formed by multiple arc segments; this realizes the breaking of arcs and the formation of new arcs by geological stratification points.

[0027] Step 307: Use the If node to determine the direction of the new arc curve, and use the Curve.Reverse node to unify the direction of the new arc curve; this unifies the direction of the start and end points of the arc.

[0028] Step 308: Extract the new arc starting point through the Curve.StratPoint node, and then use the Line.ByStratPointEndPoint node to divide the geological sections of each section according to the new arc starting point; this achieves the acquisition of each geological section.

[0029] Step 309: Use the PolyCurve.ByJoinedCurves node to form a closed profile of the geological stratification section, use the Python Script node to group the profile in pairs, and use the Curve.SweepAsSolid node to sweep the curve of the closed profile along the road centerline to create a geological solid model.

[0030] Through the above-mentioned refined data processing, a geological entity model was created, and the accuracy of the model was improved.

[0031] Furthermore, in step 4, importing the geological entity model into the project file and assigning corresponding colors and materials to different geological entities specifically includes:

[0032] Step 401: Import the geological entity model into the project file to form an editable family file using the Springs.FamilyInstance.ByGeometry node package;

[0033] Step 402: Split the physical geological entities using the List.Chop node, and assign corresponding color materials to different geological entities using the Element.OverrideColorInView node.

[0034] The beneficial effects of this invention are as follows:

[0035] This invention generates road centerlines and creates geological entity models using the Dynamo program based on processed stake-by-stake coordinate data, thereby improving modeling efficiency and model accuracy.

[0036] This invention utilizes the Dynamo program to process data, which facilitates batch modification of models and modeling of complex geological layers. Attached Figure Description

[0037] Figure 1 This is a flowchart for creating a three-dimensional tunnel geological model based on Dynamo, provided for an embodiment of the present invention.

[0038] Figure 2 This is a schematic diagram of the road centerline provided for an embodiment of the present invention.

[0039] Figure 3 A schematic diagram of a three-dimensional geological model of a tunnel provided in an embodiment of the present invention. Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0041] This invention relates to a method for creating three-dimensional tunnel geological models based on Dynamo, such as... Figure 1 As shown, it includes:

[0042] Step 1: Analyze the design drawings, obtain the coordinate data of each pile, and process the coordinate data of each pile.

[0043] Step 2: Generate the road centerline using the Dynamo program based on the processed stakeout coordinate data;

[0044] Step 3: Create a geological solid model using the Dynamo program based on the road centerline;

[0045] Step 4: Import the geological entity model into the project file and assign corresponding colors and materials to different geological entities.

[0046] In one embodiment of the present invention, step 1, which involves analyzing the design drawings, obtaining pile-by-pile coordinate data, and processing the pile-by-pile coordinate data using an Excel spreadsheet, specifically includes:

[0047] Step 101: Calculate the coordinate data of each pile using the horizontal and vertical curve element tables in the design drawings;

[0048] Step 102: Export the pile-by-pile coordinate data and categorize it in an Excel spreadsheet according to the pile-by-pile coordinate data, X coordinate, Y coordinate, and Z coordinate.

[0049] Step 103: Geologically differentiate the tunnel cross-section data, delineate geological change points, and generate multiple geological Excel spreadsheets.

[0050] In step 101, the RoadStar software can be used to calculate the coordinate data of each stake.

[0051] The above methods enable data processing of complex geological conditions, such as single-layer, double-layer, and multi-layer geological conditions.

[0052] The coordinate data for each pile is shown in the table below:

[0053]

[0054] In one embodiment of the present invention, step 2, which involves generating the road centerline using the Dynamo program based on the processed stake-by-stake coordinate data, specifically includes:

[0055] Step 201: Import the categorized data into the Dynamo program using the Data.ImportExcel node;

[0056] Step 202: Transpose the data using the List.Transpose node, extract the coordinates of the data using the List.Getltemindex node, and generate the point corresponding to the coordinates using the Point.ByCoordinates node.

[0057] Step 203: Connect the points corresponding to the coordinates generated by the PolyCurve.ByPoints node to form a closed loop and generate the road centerline.

[0058] This implementation achieves the conversion of Excel spreadsheet data to data in a Dynamo program, as well as the generation of center lines. It improves the efficiency of data conversion and center line generation, resulting in center lines such as... Figure 2 As shown.

[0059] In one embodiment of the present invention, step 3, which involves creating a geological entity model based on the road centerline using the Dynamo program, specifically includes:

[0060] Step 301: Obtain multi-layer geological cross-section data from the geological Excel spreadsheet through the File Path node, import the cross-section data into the Dynamo program through the Data.ImportExcel node, transpose the cross-section data through the List.Transpose node, and extract the X, Y, and Z coordinates of the cross-section data through the List.Getltemindex node; This realizes the conversion of cross-section data from the Excel spreadsheet to data in the Dynamo program, improving data efficiency and accuracy.

[0061] Step 302: Group each section data into inverted arch arc data and non-inverted arch arc data using the List.Chop node and List.Getltemindex node. Generate points corresponding to the coordinates of the inverted arch arc data and non-inverted arch arc data using the Point.ByCoordinates node. This achieves grouping of each section data, obtaining inverted arch arc data and non-inverted arch arc data, and generating points corresponding to the coordinates of the data. This grouping process improves data accuracy.

[0062] Step 303: Filter the geological stratification point data using the List.FilterByBoolMask node, and generate points corresponding to the coordinates of the geological stratification point data using the Point.ByCoordinates node; thus realizing the filtering of geological stratification points.

[0063] Step 304: Based on the points corresponding to the coordinates of the non-inverted arch segment arc, generate the non-inverted arch segment arc through the Arc.ByBestFitThroughPoints node; thus realizing the generation of the non-inverted arch segment arc.

[0064] Step 305: Obtain the start and end points of the non-inverted arch arc using the Curve.StratPoint and Curve.EndPoint nodes, and generate the inverted arch arc using the Arc.ByBestFitThroughPoints node and the points corresponding to the inverted arch arc data coordinates; thus realizing the generation of the inverted arch arc.

[0065] Step 306: Using the Curve.SplitByPoints node, the non-inverted arch segment arc and the inverted arch segment arc are broken according to the points corresponding to the geological stratification data coordinates, generating a new arc formed by multiple arc segments; this realizes the breaking of arcs and the formation of new arcs by geological stratification points.

[0066] Step 307: Use the If node to determine the direction of the new arc curve, and use the Curve.Reverse node to unify the direction of the new arc curve; this unifies the direction of the start and end points of the arc.

[0067] Step 308: Extract the new arc starting point through the Curve.StratPoint node, and then use the Line.ByStratPointEndPoint node to divide the geological sections of each section according to the new arc starting point; this achieves the acquisition of each geological section.

[0068] Step 309: Use the PolyCurve.ByJoinedCurves node to form a closed profile of the geological stratification section, use the Python Script node to group the profile in pairs, and use the Curve.SweepAsSolid node to sweep the curve of the closed profile along the road centerline to create a geological solid model.

[0069] Through the above-mentioned refined data processing, a geological entity model was created, and the accuracy of the model was improved.

[0070] The steps for creating a geological entity model for a single-layer geological structure are similar to those for creating a multi-layer geological entity model. The difference is that for creating a geological entity model for a single-layer geological structure, the first step is to obtain the single-layer geological cross-section data from the geological Excel spreadsheet through the File Path node. The other steps are the same.

[0071] The tunnel geological three-dimensional model generated according to the above method is as follows: Figure 3 As shown.

[0072] In this embodiment, the cross-sectional data are shown in the table below:

[0073]

[0074] In one embodiment of the present invention, step 4, importing the geological entity model into the project file and assigning corresponding color and material to different geological entities, specifically includes:

[0075] Step 401: Import the geological entity model into the project file to form an editable family file using the Springs.FamilyInstance.ByGeometry node package;

[0076] Step 402: Split the physical geological entities using the List.Chop node, and assign corresponding color materials to different geological entities using the Element.OverrideColorInView node.

[0077] In summary, this invention improves modeling efficiency and accuracy, facilitates batch modification of models, and is beneficial for modeling complex geological strata.

Claims

1. A method for creating a three-dimensional tunnel geological model based on Dynamo, characterized in that, include: Step 1: Analyze the design drawings, obtain the coordinate data of each pile, and process the coordinate data of each pile. Step 2: Generate the road centerline using the Dynamo program based on the processed stakeout coordinate data; Step 3: Create a geological solid model using the Dynamo program based on the road centerline; Step 4: Import the geological entity model into the project file and assign corresponding colors and materials to different geological entities; Step 3, specifically the creation of the geological entity model using the Dynamo program based on the road centerline, includes: Step 301: Obtain cross-sectional data from the geological Excel spreadsheet through the File Path node, import the cross-sectional data into the Dynamo program through the Data.ImportExcel node, transpose the cross-sectional data through the List.Transpose node, and extract the X, Y, and Z coordinates of the cross-sectional data through the List.Getltemindex node; Step 302: Group each section data into inverted arch section arc data and non-inverted arch section arc data using the List.Chop node and List.Getltemindex node, and generate points corresponding to the coordinates of the inverted arch section arc data and non-inverted arch section arc data using the Point.ByCoordinates node; Step 303: Filter the geological stratification point data using the List.FilterByBoolMask node, and generate points corresponding to the coordinates of the geological stratification point data using the Point.ByCoordinates node; Step 304: Generate the non-inverted arch arc using the Arc.ByBestFitThroughPoints node based on the points corresponding to the coordinates of the non-inverted arch arc data. Step 305: Obtain the start and end points of the non-inverted arch arc through the Curve.StratPoint node and the Curve.EndPoint node, and generate the inverted arch arc through the Arc.ByBestFitThroughPoints node and the points corresponding to the inverted arch arc data coordinates. Step 306: Using the Curve.SplitByPoints node, the non-inverted arch section arc and the inverted arch section arc are broken according to the points corresponding to the geological stratification data coordinates, generating a new arc formed by multiple arc segments. Step 307: Use the If node to determine the direction of the new arc curve, and use the Curve.Reverse node to unify the direction of the new arc curve; Step 308: Extract the new arc starting point using the Curve.StratPoint node, and layer the geology of each section using the Line.ByStratPointEndPoint node based on the new arc starting point; Step 309: Use the PolyCurve.ByJoinedCurves node to form a closed profile of the geological stratification section, use the Python Script node to group the profile in pairs, and use the Curve.SweepAsSolid node to sweep the curve of the closed profile along the road centerline to create a geological solid model.

2. The method for creating a three-dimensional tunnel geological model based on Dynamo according to claim 1, characterized in that, Step 1, which involves analyzing the design drawings, obtaining pile-by-pile coordinate data, and processing the pile-by-pile coordinate data using an Excel spreadsheet, specifically includes: Step 101: Calculate the coordinate data of each pile using the horizontal and vertical curve element tables in the design drawings; Step 102: Export the pile-by-pile coordinate data and categorize it in an Excel spreadsheet according to the pile-by-pile coordinate data, X coordinate, Y coordinate, and Z coordinate. Step 103: Geologically differentiate the tunnel cross-section data, delineate geological change points, and generate multiple geological Excel spreadsheets.

3. The method for creating a three-dimensional tunnel geological model based on Dynamo according to claim 2, characterized in that, Step 2, specifically generating the road centerline using the Dynamo program based on the processed stake-by-stake coordinate data, includes: Step 201: Import the categorized data into the Dynamo program using the Data.ImportExcel node; Step 202: Transpose the data using the List.Transpose node, extract the coordinates of the data using the List.Getltemindex node, and generate the point corresponding to the coordinates using the Point.ByCoordinates node. Step 203: Connect the points corresponding to the coordinates generated by the PolyCurve.ByPoints node to form a closed loop and generate the road centerline.

4. The method for creating a three-dimensional tunnel geological model based on Dynamo according to claim 1, characterized in that, Step 4 involves importing the geological entity model into the project file and assigning corresponding colors and materials to different geological entities. Specifically, this includes: Step 401: Import the geological entity model into the project file to form an editable family file using the Springs.FamilyInstance.ByGeometry node package; Step 402: Split the physical geological entities using the List.Chop node, and assign corresponding color materials to different geological entities using the Element.OverrideColorInView node.

Citation Information

Patent Citations

  • Revit-based roadbed slope lattice girder construction model building method

    CN113779684A

  • Method and system for creating parameterized three-dimensional geologic model and medium

    CN114202624A