Three-dimensional modeling method for extracting road design center line based on Dynamo

By generating 3D models from design drawings using Dynamo, the problem of insufficient accuracy and efficiency in traditional modeling methods is solved, enabling efficient and accurate modeling of highway projects, which is suitable for large-scale road network digitization projects.

CN120997428APending Publication Date: 2025-11-21CHINA GEZHOUBA GRP CONSTR ENG CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202511139818.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-14
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Traditional two-dimensional drawings are insufficient to meet the accuracy and efficiency requirements of three-dimensional parametric modeling in long-distance road and bridge projects. Existing modeling methods are complex, have limited accuracy in calculating transition curves, and are prone to data breakage, requiring additional verification processes.

Method used

By extracting horizontal and vertical curve data from the design drawings, processing the data using Excel and RoadStar software, exporting the coordinates of each stake, and then using the Dynamo program to convert the coordinates into the Revit global coordinate system, a three-dimensional curve of the road centerline is generated, and a three-dimensional model is generated by combining the node chain.

Benefits of technology

It improves the modeling speed and accuracy of BIM models for highway projects, reduces human error, is suitable for large-scale road network digitization projects, and is simple and easy to operate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120997428A_ABST
    Figure CN120997428A_ABST
Patent Text Reader

Abstract

The invention discloses a three-dimensional modeling method for extracting a road design center line based on Dynamo, and the method comprises the steps: extracting horizontal curve and vertical curve data from a design drawing, and writing the data into a single Excel worksheet according to a sequence from small stake marks to large stake marks; according to the pile-by-pile coordinates, the coordinates of the road center lines of all the pile numbers are exported into an Excel worksheet according to the sequence from the small pile numbers to the large pile numbers; performing forward calculation and reverse calculation to check the accuracy of the corrected coordinates in a bidirectional manner; exporting a stake-by-stake coordinate table, and storing the stake-by-stake coordinate table as an Excel file according to stake numbers, X coordinates, Y coordinates and elevations; the Dynamo program reads the coordinate data in the Excel file, and the Dynamo program reads the coordinate data in the Excel file; converting the construction coordinate system into a Revit global coordinate system; the Dynamo program reads the x, y and z coordinates of the points to generate a three-dimensional curve of the road center line, and reads the x and y coordinates of the points to generate a horizontal curve of the road center line; the Dynamo program generates road center lines of segments according to mileage stake numbers; according to the method, various defects and problems existing in existing complex geometric line type road modeling are solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to the technical field of highway BIM modeling, in particular to a three-dimensional modeling method for extracting a road design center line based on Dynamo. BACKGROUND

[0002] With the continuous deepening application of digital construction technology in the engineering field, the intelligent modeling demand of linear traffic facilities is gradually becoming the focus of industry technology research. Especially in long-distance road and bridge engineering, due to the characteristics of multi-curvature line type and complex terrain connection, the traditional two-dimensional drawing expression method is difficult to support the accuracy and efficiency requirements of three-dimensional parameterized modeling.

[0003] Dynamo is an auxiliary plug-in frequently used in BIM parameterized modeling. After extracting the road center line data through Dynamo, three-dimensional models of highway structures such as pile foundation, pile cap, beam and guardrail can be automatically placed and generated based on this, realizing automatic modeling driven by parameters.

[0004] At present, the modeling method commonly used is to create a dynamic associated model based on the plane route and longitudinal section through civil3D. The cross section structure such as lane and slope is defined through the assembly, and the three-dimensional multi-segment line is batch exported by using the "extract element line from road" function. This method is relatively complex, and the calculation accuracy of the transition curve is limited, which is difficult to meet the scene demand of super-high precision. At the same time, the dynamic model needs to strictly maintain the logical target binding relationship, and the assembly parameter error is easy to cause data fracture, which needs additional verification process. SUMMARY

[0005] The purpose of the application is to overcome the above-mentioned shortcomings, and to provide a three-dimensional modeling method for extracting road design center line based on Dynamo, so as to solve various defects and problems existing in the modeling of complex geometric line of the road.

[0006] To solve the above technical problems, the technical scheme adopted by the application is: a three-dimensional modeling method for extracting road design center line based on Dynamo, comprising the following steps:

[0007] Step 1: extracting horizontal curve and vertical curve data from design drawings, and writing into a single Excel worksheet in the order of small stake number to large stake number;

[0008] Step 2: processing data, exporting the coordinates of each stake number road center line to the Excel worksheet in the order of small stake number to large stake number according to the stake coordinates;

[0009] Step 3: performing forward calculation and reverse calculation to check and correct the accuracy of the coordinates;

[0010] Step 4, export the pile-by-pile coordinate table, store it as an Excel file according to the pile number, X coordinate, Y coordinate and elevation;

[0011] Step 5, the Dynamo program reads the coordinate data in the Excel file in step 4;

[0012] Step 6, coordinate conversion: convert the construction coordinate system to the Revit global coordinate system;

[0013] Step 7, the Dynamo program reads the x, y, z coordinates of the points in step 6 to generate a three-dimensional curve of the road center line, and reads the x, y coordinates of the points in step 6 to generate a flat curve of the road center line;

[0014] Step 8, the Dynamo program generates a segmented road center line according to the milepost number.

[0015] Preferably, the step 1 specifically comprises the following steps:

[0016] Step 1.1, extract the highway main line coordinate points and the front easement curve length, curve radius, and rear easement curve length data from the design drawing, and write them into a single Excel worksheet in order from small pile number to large pile number;

[0017] Step 1.2, extract the line type, line element length, starting radius, deflection direction, starting azimuth, and starting point coordinate X, Y data of the road design center line from the design drawing, and write them into a single Excel worksheet;

[0018] Step 1.3, extract the slope change point pile number, elevation and vertical curve radius data from the design drawing to obtain the vertical curve data of the highway.

[0019] Preferably, the step 2 is specifically: processing the data processed in step 1 by the Roadstar software, and exporting the coordinates of each pile number road center line to an Excel worksheet in order from small pile number to large pile number.

[0020] Preferably, processing the data processed in step 1 by the Roadstar software specifically comprises the following steps:

[0021] Step 2.1, use the intersection method module of the Roadstar software to process the highway main line coordinate points and the front easement curve length, curve radius, and rear easement curve length data to obtain the horizontal curve data of the highway main line;

[0022] Step 2.2, use the line element method module of the Roadstar software to process the line type, line element length, starting radius, deflection direction, starting azimuth, and starting point coordinate X, Y data of the hub interchange road design center line;

[0023] Step 2.3, the vertical curve data of the highway is obtained by processing the variable slope point post number, elevation and vertical curve radius data by using the Roadstar software.

[0024] Preferably, the step 3 is specifically: the accuracy of the coordinates is corrected by using the Roadstar software to perform the forward calculation and reverse calculation two-way checking.

[0025] Preferably, the step 3 further includes: if an error occurs when the coordinates are corrected by using the Roadstar software to perform the forward calculation and reverse calculation two-way checking, the design unit is sought for checking until the data is correct.

[0026] Preferably, in the step 5, the Dynamo program reads the coordinate data in the Excel file in the step 4 by using the FilePath→FileFromPath→Date.ImportExcel→List.RestOfitems→List.Transpose node chain.

[0027] Preferably, in the step 7, the Dynamo program generates the three-dimensional curve of the road center line by using the Point.ByCoordinates→NurbsCurve.ByPoints node chain to read the x, y, z coordinates of the points in the step 6, and generates the flat curve of the road center line by using the Point.ByCoordinates→NurbsCurve.ByPoints node chain to read the x, y coordinates of the points in the step 6.

[0028] Preferably, in the step 8, the Dynamo program generates the segmented road center line according to the mileage post number by using the Curve.PointAtSegmentLength→Point.Project→List.Flatten→NurbsCurve.ByPoints node package.

[0029] Preferably, the step 9 is further included: after the program is written and no problem is found, the road center line three-dimensional BIM model is quickly and accurately established by using multiple times.

[0030] The present application has the following advantages:

[0031] 1. The present application improves the modeling speed of the highway project BIM model, saves a large amount of time, and solves various defects and problems existing in the existing complex geometric linear road modeling;

[0032] 2. The present application significantly improves the accuracy and reliability of the road center line extraction, and is especially suitable for large-scale road network digitization projects;

[0033] 3. The present application can accurately extract the three-dimensional coordinate data of any point of the highway road, and eliminate the errors caused by artificial modeling;

[0034] 4、The present application is friendly to new BIM modeling personnel, simple and easy to understand, and convenient for data processing. BRIEF DESCRIPTION OF DRAWINGS

[0035] Figure 1 Flow chart of the road centerline technical route modeling method based on Dynamo for the embodiment of the present application;

[0036] Figure 2 For the intersection method to extract horizontal curve data in the design drawing;

[0037] Figure 3 For the line element method to extract line element data in the design drawing;

[0038] Figure 4 For extracting vertical curve data in the design drawing;

[0039] Figure 5 For the intersection method to process horizontal curve data in the Roadstar software;

[0040] Figure 6 For the line element method to process line element data in the Roadstar software;

[0041] Figure 7 For processing vertical curve data in the Roadstar software;

[0042] Figure 8 For exporting stake-by-stake coordinate data in the Roadstar software;

[0043] Figure 9 For creating the Dynamo programming node program of the road design centerline horizontal curve and three-dimensional curve;

[0044] Figure 10 For the detailed algorithm of horizontal curve and vertical curve stake-by-stake coordinate calculation in the Roadstar software. DETAILED DESCRIPTION

[0045] The present application will be further described in detail below in combination with the drawings and specific embodiments.

[0046] As Figure 1 shown, a three-dimensional modeling method for extracting road design centerline based on Dynamo includes the following steps:

[0047] Step 1, extract horizontal curve and vertical curve data from the design drawing, and write them into a single Excel worksheet in the order of small stake number to large stake number;

[0048] Step 1.1, as Figure 2 shown, extract highway main line coordinate points and front easement curve length, curve radius, and rear easement curve length data from the design drawing, and write them into a single Excel worksheet in the order of small stake number to large stake number;

[0049] Step 1.2, as follows Figure 3 As shown, the alignment type, line element length, starting radius, deflection direction, starting azimuth angle, and starting point coordinates (X and Y) of the road design centerline are extracted from the design drawings and written into a single Excel worksheet.

[0050] Step 1.3, as follows Figure 4 As shown, the station number, elevation, and vertical curve radius data of the slope change point are extracted from the design drawings to obtain the vertical curve data of the highway.

[0051] Figure 10 This is a detailed algorithm for calculating the coordinates of horizontal and vertical curves on a stake-by-stake basis in the RoadStar software. The parameter extraction and calculation methods therein are the specific technical basis for the data that needs to be extracted in step 1, supporting the operation of extracting horizontal and vertical curve data from design drawings.

[0052] Step 2: Process the data from Step 1 using the RoadStar software, exporting the coordinates of the road centerline for each station in ascending order of station number to an Excel worksheet. The specific steps for processing the data from Step 1 using the RoadStar software are as follows:

[0053] Step 2.1, as follows Figure 5 As shown, the intersection method module of the RoadStar software is used to process the coordinate points of the main line of the highway and the data of the length of the preceding transition curve, the curve radius, and the length of the following transition curve to obtain the horizontal curve data of the main line of the highway.

[0054] Step 2.2, as follows Figure 6 As shown, the RoadStar software's line element method module is used to process the alignment type, line element length, starting radius, deflection direction, starting azimuth angle, and starting point coordinates (X and Y) of the centerline of the hub interchange road design.

[0055] Step 2.3, as follows Figure 7 As shown, the RoadStar software is used to process the station number, elevation, and vertical curve radius data of the slope change point to obtain the vertical curve data of the highway.

[0056] Step 3: Use the RoadStar software to perform forward and inverse calculations to verify the accuracy of the coordinates. If errors occur during the forward and inverse calculations of the RoadStar software, contact the design unit for verification until the data is correct.

[0057] Step 4, as follows Figure 8 As shown, export the station coordinate table and save it as an Excel file according to station number, X coordinate, Y coordinate, and elevation;

[0058] Step 5: The Dynamo program uses FilePath→FileFromPath→Date.ImportExcel→List.RestObjects→List.Transpose node chain to read the coordinate data from the Excel file mentioned in Step 4;

[0059] Step 6, Coordinate Transformation: Convert the construction coordinate system to the Revit global coordinate system;

[0060] Step 7, as follows Figure 9 As shown, the Dynamo program uses the Point.ByCoordinates→NurbsCurve.ByPoints node chain to read the x, y, and z coordinates of the points in step 6 to generate a 3D curve of the road centerline, and reads the x and y coordinates of the points in step 6 to generate a horizontal curve of the road centerline.

[0061] Step 8: The Dynamo program uses the Curve.PointAtSegmentLength→Point.Project→List.Flatten→NurbsCurve.ByPoints node package to generate the road centerline segmented according to the mileage station.

[0062] Step 9: After the program is completed without any problems, use it multiple times to quickly and accurately create a 3D BIM model of the road centerline.

[0063] In this embodiment, the RoadStar software employs an adjustable-number algorithm (up to 100 terms) for transition curves, allowing users to customize error thresholds (e.g., 0.1mm). In contrast, traditional software like Civil 3D often uses algorithms with only two approximation formulas, which are insufficient to meet the accuracy requirements of high-grade roads. RoadStar supports asymmetrical alignments such as S-curves and hairpin bends, and can handle arbitrary multi-level chainage breaks, adapting to the complex alignment designs of mountain highways and interchanges. The final exported stake-by-stake coordinates from RoadStar can be directly imported into software such as Revit and Infraworks, and used in conjunction with Dynamo scripts for parametric modeling or quantity surveying.

[0064] The above embodiments are merely preferred technical solutions of the present invention and should not be considered as limitations on the present invention. The scope of protection of the present invention should be limited to the technical solutions described in the claims, including equivalent substitutions of the technical features described in the claims. That is, equivalent substitutions and improvements within this scope are also within the scope of protection of the present invention.

Claims

1. A 3D modeling method for extracting road design centerlines based on Dynamo, characterized in that, Includes the following steps: Step 1: Extract horizontal and vertical curve data from the design drawings and write them into a single Excel worksheet in order from small station number to large station number; Step 2: Process the data. Export the coordinates of the road centerline of each station to an Excel worksheet in order from the smallest station number to the largest station number. Step 3: Perform forward and inverse calculations to verify the accuracy of the coordinates. Step 4: Export the station coordinate table and save it as an Excel file according to station number, X coordinate, Y coordinate, and elevation; Step 5: The Dynamo program reads the coordinate data from the Excel file mentioned in Step 4; Step 6, Coordinate Transformation: Convert the construction coordinate system to the Revit global coordinate system; Step 7: The Dynamo program reads the x, y, and z coordinates of the points in Step 6 to generate a 3D curve of the road centerline, and reads the x and y coordinates of the points in Step 6 to generate a horizontal curve of the road centerline. Step 8: The Dynamo program generates road centerlines segmented according to mileage markers.

2. The three-dimensional modeling method for extracting road design centerlines based on Dynamo according to claim 1, characterized in that, Step 1 specifically includes the following steps: Step 1.1: Extract the coordinates of the main line of the highway and the data of the length, radius, and length of the preceding and following transition curves from the design drawings, and write them into a single Excel worksheet in order from the smallest station number to the largest station number. Step 1.2: Extract the alignment type, line element length, starting radius, deflection direction, starting azimuth angle, and starting point coordinates (X and Y) of the road design centerline from the design drawings and write them into a single Excel worksheet; Step 1.3: Extract the station number, elevation and vertical curve radius data of the slope change point from the design drawings to obtain the vertical curve data of the highway.

3. The 3D modeling method for extracting road design centerlines based on Dynamo according to claim 1, characterized in that, Step 2 specifically involves processing the data processed in Step 1 using the RoadStar software, and exporting the coordinates of the road centerline of each station to an Excel worksheet in order from the smallest station number to the largest station number.

4. The three-dimensional modeling method for extracting road design centerlines based on Dynamo according to claim 3, characterized in that, Processing the data from step 1 using RoadStar software specifically includes the following steps: Step 2.1: Use the intersection method module of the Road Star software to process the coordinate points of the main line of the highway and the data of the length of the preceding transition curve, the curve radius, and the length of the following transition curve to obtain the horizontal curve data of the main line of the highway. Step 2.2: Use the Road Star software's line element method module to process the alignment, line element length, starting radius, deflection direction, starting azimuth angle, and starting point coordinates (X and Y) of the centerline of the hub interchange road design. Step 2.3: Use the Road Star software to process the station number, elevation, and vertical curve radius data of the slope change point to obtain the vertical curve data of the highway.

5. The three-dimensional modeling method for extracting road design centerlines based on Dynamo according to claim 1, characterized in that, Step 3 specifically involves using the RoadStar software to perform forward and inverse calculations to verify and correct the accuracy of the coordinates.

6. The three-dimensional modeling method for extracting road design centerlines based on Dynamo according to claim 5, characterized in that, Step 3 further includes: if errors occur when using the RoadStar software to perform forward and inverse calculations to verify and correct the coordinates, then the design unit should be contacted for verification until the data is correct.

7. The three-dimensional modeling method for extracting road design centerlines based on Dynamo according to claim 1, characterized in that, In step 5, the Dynamo program uses the FilePath→FileFromPath→Date.Import Excel→List.RestOfitems→List.Transpose node chain to read the coordinate data in the Excel file mentioned in step 4.

8. The three-dimensional modeling method for extracting road design centerlines based on Dynamo according to claim 1, characterized in that, In step 7, the Dynamo program uses the Point.ByCoordinates→NurbsCurve.ByPoints node chain to read the x, y, and z coordinates of the points in step 6 to generate a three-dimensional curve of the road centerline, and reads the x and y coordinates of the points in step 6 to generate a horizontal curve of the road centerline.

9. The three-dimensional modeling method for extracting road design centerlines based on Dynamo according to claim 1, characterized in that, In step 8, the Dynamo program uses the Curve.PointAtSegmentLength→Point.Project→List.Flatten→NurbsCurve.ByPoints node package to generate road centerlines segmented according to mileage markers.

10. The three-dimensional modeling method for extracting road design centerlines based on Dynamo according to claim 1, characterized in that, It also includes step 9: after the program is completed without any problems, it can be used multiple times to quickly and accurately create a 3D BIM model of the road centerline.

Citation Information

Cited By

  • Road drawing intelligent analysis and three-dimensional modeling method and system

    CN121330195A

  • A method for automatic modeling and calculation of road asphalt layer based on pile-by-pile coordinate data

    CN122389186A