Long-distance bridge modeling method based on Civil 3D, Revit and Dynamo
By adopting the collaborative working methods of Civil 3D, Revit and Dynamo in bridge modeling, the problems of data dispersion, large workload and low efficiency in bridge modeling are solved, and efficient and accurate bridge modeling is achieved, which improves modeling efficiency and accuracy.
Patent Information
- Application Number
- CN202510218626.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-26
- Publication Date
- 2025-06-10
AI Technical Summary
The existing bridge modeling methods have problems such as data dispersed, large workload, prone to errors and low efficiency, especially in long-distance and high-complexity bridge modeling.
The long-distance bridge modeling method based on Civil 3D, Revit and Dynamo is adopted to build the bridge centerline and import Revit through Civil 3D. Revit and Dynamo are used to establish and batch place component family files to realize parameterized modeling and automated component deployment of bridges.
It effectively solves the problems of multi-software collaboration difficulties, low positioning accuracy of complex linear components and limited modeling efficiency in traditional BIM bridge modeling, improves modeling efficiency and accuracy, and can meet the construction-level BIM application needs.
Smart Images

Figure CN120124162A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of bridge formwork turnover, and particularly relates to a long-distance bridge modeling method based on Civil 3D, Revit, and Dynamo. Background Art
[0002] BIM (Building Information Modeling) technology, as an important technical means for the informatization development of the construction industry, has played an active role in the field of bridge engineering. By creating a three-dimensional visualization model, BIM technology can comprehensively and meticulously present the structural details, spatial relationships, and the interconnection methods between various components of a bridge. This visual presentation method can help better understand the design intent, avoid design conflicts and construction errors. In addition, the rich information contained in the BIM model, such as material properties, component dimensions, construction progress, etc., can provide strong support for the cost control, progress management, and quality monitoring of bridge engineering, ensuring the smooth implementation of the project.
[0003] However, in the BIM application of bridge engineering, there are many limitations in bridge modeling. In some projects, operators still need to create components one by one in the BIM software for modeling, which is extremely inefficient. When dealing with the need for long-distance modeling, not only is the workload huge, but also dimensional deviations or component omissions are likely to occur, and it is difficult to ensure the consistency and accuracy of the model.
[0004] Although currently widely used BIM building models such as Civil 3D and Revit have powerful modeling capabilities, Revit has limitations in processing terrain and line design. The models in the viewport are almost horizontal and vertical, making it difficult to smoothly build bridges with slopes and arcs. Civil 3D lacks in details, has poor adaptability, and its visualization and rendering effects are difficult to meet the requirements. In addition, in large transportation hubs, the data interaction of bridges in Civil 3D with other disciplines such as architecture and municipal engineering is generally not smooth. As a result, the existing bridge formwork turnover has a large workload, complex operations, low automation, and low efficiency. Especially when facing long-distance and highly complex bridges, errors and mistakes are more likely to occur, affecting the overall efficiency and quality. Summary of the Invention
[0005] The present invention aims to provide a long-distance bridge modeling method based on Civil 3D, Revit, and Dynamo to solve the problems of scattered data, large workload, easy occurrence of errors, and low efficiency in the existing bridge modeling methods.
[0006] To achieve the above objective, the present invention adopts the following technical solutions. A long-distance bridge modeling method based on Civil 3D, Revit, and Dynamo includes the following steps.
[0007] Step 1: Use Civil 3D to construct the bridge centerline, generate it in a set format, and then import it into the Revit project.
[0008] Step 2: Sort out the bridge modeling process, divide the required components into layout components and adaptive components; and calculate the point position information required for the adaptive components based on the distribution of the layout components.
[0009] Step 3: Establish the family files of the layout components and the adaptive components in Revit respectively, and then import them into the project.
[0010] Step 4: Use Dynamo in Revit to convert the centerline into a spline curve.
[0011] Step 5: Use Dynamo to complete the batch placement of the layout components and the adaptive components along the spline curve respectively, and complete the batch modeling of the bridge.
[0012] The principle and advantages of this solution are as follows:
[0013] This solution proposes a parametric bridge modeling method based on the collaborative work of Civil 3D, Revit, and Dynamo. Through the cross-platform data linkage mechanism and the automated component deployment technology, it effectively solves the pain points existing in traditional BIM bridge modeling, such as the difficulty in multi-software collaboration, the low positioning accuracy of complex linear components, and the limited modeling efficiency.
[0014] In the specific implementation process, first, an accurate three-dimensional bridge centerline model containing horizontal curve and vertical curve data is created based on the terrain processing advantages of Civil 3D, and a reference centerline with a spatial coordinate system is generated. Then, the centerline model is imported into the Revit environment to model the standard component family files including piers, abutments, beam bodies, etc., and a parametric adjustable family file system is established. Then, the Dynamo visual programming tool is used to analyze the geometric data such as the curvature and elevation change of the centerline, and the automatic positioning and adaptive adjustment of the components along the three-dimensional path are realized through algorithm driving, including operations such as rotation angle calculation and elevation matching. And a two-way association system of "centerline-component parameters" is established, and when the centerline or component parameters change in design, the overall update of the model can be realized through data linkage.
[0015] This technical solution has multiple innovative points. In terms of heterogeneous platform collaboration, it has broken through the data barriers between Civil 3D and Revit and built a cross-professional three-dimensional coordinate transfer channel. The segmented component deployment algorithm is adopted in the computing architecture, which decomposes long-span bridges into independent computing units, enabling ordinary workstations (with hardware requirements of i5 processor / 8GB RAM) to complete the modeling of bridges over 5 km in less than 2 hours. In terms of spatial positioning, the path following algorithm based on NURBS curve analysis (including tangent vector calculation and normal plane positioning) realizes precise layout under complex three-dimensional line types. The parametric system has established a multi-level control architecture of "global parameters (line positioning) - local parameters (component spacing)", supporting full-scale regulation from the overall shape to the detailed structure. It also drives key design parameters through Dynamo scripts, supporting real-time linkage updates for design changes, with an efficiency improvement of over 80% compared to traditional manual modification.
[0016] This solution has been successfully applied to an actual project of a 6Km curved girder bridge. Compared with the traditional single-platform modeling method, the comprehensive efficiency has been improved by about 65%, and the model coordinate positioning accuracy has reached ±3mm, which can meet the construction-level BIM application requirements. Brief Description of the Drawings
[0017] Figure 1 It is a schematic diagram of the process framework of the present invention.
[0018] Figure 2 It is a schematic diagram of the bridge model structure generated after collaborative modeling by the three of them in the present invention. Detailed Description of the Invention
[0019] The following is a further detailed description through specific embodiments:
[0020] Embodiment 1
[0021] A long-span bridge modeling method based on Civil 3D, Revit, and Dynamo in this embodiment uses the programming logic of Dynamo and, based on precise parameter settings, eliminates errors caused by human factors during the modeling process, ensuring that the position and size of each component strictly meet the design requirements. The modeling process takes the same set of data as the core, and when the design is modified, only simple adjustments are needed to quickly update the entire model, effectively improving the modeling efficiency. In this embodiment, as shown in the attached Figure 1 figures, it includes the following steps:
[0022] S1, use Civil 3D to construct the bridge center line, generate it in a set format, and then import it into the Revit project.
[0023] In this embodiment, the center line of the bridge is obtained through Civil 3D, and the set format of the center line is the dwg format. In actual application, if the center line of the bridge is designed by Civil 3D, it is directly exported as the dwg format. If it is designed by other software, it is generated in Civil 3D through the center line horizontal and vertical drawings and then exported as the dwg format to obtain the center line in the dwg format, so as to ensure the unified format and compatibility operation.
[0024] At the same time, a new project is created in Revit, and the exported center line is imported into the newly created project in Revit.
[0025] S2. Sort out the bridge modeling process, and divide the required components into layout components and adaptive components; and calculate the point position information required by the adaptive components according to the distribution of the layout components.
[0026] In this embodiment, the layout components are components evenly arranged along the center line, such as structural components such as bridge piers that need to be evenly distributed along the line. The adaptive components are components placed according to the center line trend, such as structural components such as bridge decks, side beams, and guardrails that need to be placed according to the center line trend.
[0027] After dividing the component types, calculate the placement point position information required by the adaptive components. Among them, the calculation method of the point position information includes the following sub-steps:
[0028] S2.1. Measure the spacing of each layout component, and calculate the points required by the adaptive components through the distribution of the layout components.
[0029] S2.2. According to the spacing, calculate the points required by the adaptive components according to the design requirements to form point position information.
[0030] In this embodiment, if there is one layout component b between every three layout components a, it means that there are four sections of adaptive components between every two layout components b, then the point positions of the adaptive components need to be set to 5, and the point position information required by the adaptive components is calculated in this way. In this embodiment, the setting of the point positions of the adaptive components can simplify the software calculation amount when establishing a large-scale model, thereby reducing the lag phenomenon, reducing the computing power requirement, and improving the calculation efficiency. In actual application, the point position data volume can also be adjusted according to actual needs, such as uniformly using 2 point positions to further simplify the calculation amount while meeting the design requirements.
[0031] S3. Establish layout component families and adaptive component family files in Revit respectively, and import them into the project.
[0032] In this embodiment, first, a family is newly created, and the layout components to be placed are sequentially established to form a layout component module for repeated calls. After assigning corresponding names according to the component names, the layout component family is imported into the Revit project and placed at the set points to achieve rapid modeling.
[0033] Then, a new adaptive family file is created. After arranging the adaptive points, the cross-section of the adaptive component is drawn at the first point to create an adaptive component. After assigning corresponding names according to the component names, the adaptive component family is imported into the Revit project.
[0034] S4. Convert the center line into a spline curve using Dynamo in Revit.
[0035] In this embodiment, the center line in dwg format is converted into a spline curve convenient for use through Dynamo. The specific sub-steps are as follows:
[0036] S4.1. Convert it into a composite curve composed of multiple curves connected together according to the geometric information of the center line.
[0037] In this embodiment, first, pick up the center line by selecting the elements in the model (Select.ModelElement), that is, select the center line elements to be processed from the model. Secondly, convert it into a composite curve (Polycurve) composed of multiple curves connected together by extracting the geometric information of the elements in the center line. That is, convert it into a Polycurve composed of multiple line segments or curve segments through the Element.Geometry node, so as to convert the center line from a model element into a geometric object (Polycurve) for subsequent processing.
[0038] S4.2. Extract the list information of all the component curves in the composite curve to obtain the curve segment information.
[0039] In this embodiment, first, use the PolyCurve.byJoinedCurves node to identify each segment of the Polycurve, so as to connect multiple separate component curves into a complete Polycurve, so as to combine the scattered curve segments into a whole to ensure that each segment of the Polycurve is correctly identified and processed. Then, obtain the list information of each segment of the curve through the PolyCurve.Curves node. If a Polycurve is composed of 3 curves, then this node will return a list information containing 3 curves, so as to decompose the Polycurve into separate curve segment information, so as to obtain a complete and accurate curve segment list information.
[0040] S4.3, Obtain the starting point coordinates of each curve segment and the end point coordinates of the composite curve, and merge them to form key point list information.
[0041] In this embodiment, the starting point coordinates of each segment are obtained through the Curve.StarSpoint node to obtain the starting point of each curve segment. Then, the end point coordinates of the composite curve (Polycurve) are obtained through the Curve.EndPoint node, that is, the end point coordinates of the last curve of the composite curve, to ensure that the end point of the composite curve is included in the final point list. Finally, the starting point coordinates of each obtained curve and the end point coordinates of the last curve are merged to obtain a coordinate list containing all the key points of the Polycurve, forming key point list information.
[0042] S4.4, Generate a spline curve according to the key point list information.
[0043] In this embodiment, the spline curve of the center line is obtained by NurbScurve.ByPoint, that is, all the point coordinates obtained in the previous step are input into this node, and a smooth spline curve is generated through a set of points, so as to generate the spline curve of the center line of the Polycurve, and convert the discrete points into a smooth curve for subsequent operation and processing.
[0044] S5, Use Dynamo to complete the batch placement of layout components and adaptive components along the spline curve respectively, and complete the batch modeling of the bridge.
[0045] In this embodiment, Dynamo is used to batch place layout components along the center line, and the components are rotated to be perpendicular to the curve center line according to the orientation of each point position. The preferred sub-steps are as follows:
[0046] S5.1.1, Generate equally spaced point positions on the spline curve according to the key point list information to form multiple point position lists.
[0047] In this embodiment, a series of point positions are generated at equal intervals from the starting point on the spline curve through the Curve.PointsAtSegmentLengthFromPoint node, and the coordinates of each generated point position are stored in a list to obtain the point position coordinate list, so as to obtain the equally spaced point position information.
[0048] S5.1.2, Merge multiple point position lists into a total list according to the set mode, and convert the total list into a one-dimensional list.
[0049] Among them, the setting mode includes placing components in sequence and placing components at intervals. When placing components in sequence, the obtained point list is merged with the starting point coordinates to form a total list. In this embodiment, the previously obtained point coordinate list and the starting point coordinates are merged into a total list of equally divided distances through List.Create, and then Flattem is used to convert it into a one-dimensional list to obtain all point coordinates, which is used to place components in sequence, such as placing them as aaaaa.
[0050] When placing components at intervals, a point is extracted every N points from the formed one-dimensional list to form a group B one-dimensional list for placing the interval components, and the remaining list is extracted to form a group A one-dimensional list for placing components separately. In this embodiment, if different components need to be placed at intervals, such as placing a component b for every three components a, the List.TakeEveryNthItem node is used to extract a point every three points in the list to form a new group B one-dimensional list for placing component b.
[0051] Then use List.SetDifference (extract the difference between two lists) to extract the one-dimensional list of group A for placing component a, that is, remove the points for placing component b from the list of all points, and the remaining difference points are used to place component a, forming a list of group A, which is used to place different components separately, such as placing them as aaabaaab. The rest of the placement requirements are analogous. The point list is divided into different groups according to the requirements, which are used to place different types of components, so as to facilitate fast classification operations, improve efficiency, reduce errors, and ensure accuracy and effectiveness.
[0052] S5.1.3, automatically place different types of components at the points based on the point information in the one-dimensional list.
[0053] In this embodiment, the components are placed by connecting the point list to the FamilyInstance.ByPoint node, so that the components are automatically placed in batches at the points generated on the spline curve.
[0054] S5.1.4, calculate the normal vector and rotation angle at each point and rotate the component to the set orientation.
[0055] In this embodiment, first, the parameter values of each point on the curve are obtained through the Curve.ParameterAtPoint node (usually a value between 0 and 1, indicating the position of the point on the curve), and then the normal vector of each point is obtained through the Curve.NormalAtParameter node to determine the rotation direction of the component. Secondly, through the Vector.AngelAboutAxis node, the vector obtained in the previous step and the x-axis are selected to calculate the included angle between the two vectors to determine its rotation angle, and the rotation axis is set to the z-axis. Finally, the output end is connected to the FamilyInstance.SetRotation node to rotate the already arranged components according to the rotation angle to ensure accurate placement.
[0056] Then, Dynamo is used to batch-place adaptive components along the center line, and its preferred sub-steps are as follows:
[0057] S5.2.1, according to the point requirements of the adaptive component, the total point list is divided into sub-lists with a specified length.
[0058] In this embodiment, the obtained list of all equally divided point coordinates is divided into continuous sub-lists with a specified length through the List.Chop node. Specifically, the length of the sub-list is determined according to the points of the determined adaptive component. Since an adaptive component usually requires multiple points to define its shape and position, for example, a quadrilateral adaptive component requires 4 points. Thus, if the adaptive points are 4, it is divided into sub-lists with 4 coordinate points in each group. And because the points of the divided sub-lists are not continuous, it is more suitable for the layout of square bridge decks. Components that need to be arranged end to end, such as side beam railings, need to further process the point coordinates.
[0059] S5.2.2, extract the first sub-list, and convert the remaining sub-lists into a one-dimensional list and then re-divide it into a secondary list.
[0060] In this embodiment, after the first sub-list of the aforementioned list is extracted through List.Firstitem, the remaining list is converted into a one-dimensional list through Flatten. The remaining one-dimensional list is then re-divided into a secondary list, and the length of the division is one less than the length of the first sub-list. For example, if the first list has 4 points, then each subsequent sub-list is a group of 3 points, to prepare for generating sub-lists that are connected end to end.
[0061] S5.2.3, merge the sub-list and the secondary list, and generate a continuous list that is connected end to end through custom logic.
[0062] The first sub - list and the re - split secondary list are combined into a single list by List.Join and List.Combine to form a complete list. Then, data code is written through Code.Block, and the formed list is processed through custom logic.
[0063] In this embodiment, the custom logic is to start from the first sub - list, extract the last point of each sub - list, and place the last point at the beginning of the next secondary list until all the lists are connected end - to - end, that is, a new list is formed where each sub - list has 4 connected points, ensuring the continuity of points between sub - lists.
[0064] S5.2.4, automatically place adaptive components using the processed continuous list.
[0065] According to the formed continuous list, connect the point list and the adaptive component respectively through the AdaptiveComponent.ByPoints node, and dynamically adjust the shape and position according to the points to automatically place the adaptive component. The formed model is as shown in the appendix Figure 2 as follows.
[0066] Traditional bridge modeling methods usually rely on manually creating components one by one. Especially in the modeling of long - distance bridges, the workload is huge and it is easy to produce size deviations or component omissions, making it difficult to ensure the consistency and accuracy of the model. Existing BIM software such as Civil 3D and Revit, although each has powerful modeling functions, has obvious limitations in practical applications. Civil 3D performs well in dealing with terrain and route design, but lacks in detail performance and adaptive ability, and has insufficient visualization effects; while when dealing with bridges with complex slopes and arcs, the models in Revit often appear too "horizontal and vertical" and are difficult to smoothly express the actual form of the bridge. In addition, the collaborative data interaction between Civil 3D and Revit in large - scale transportation hub projects is not smooth enough, resulting in low modeling efficiency.
[0067] In this embodiment, by combining Civil 3D, Revit, and Dynamo, highly automated and precise bridge modeling is achieved. Civil 3D is used to obtain the bridge centerline, Revit is used to create bridge components and adaptive families, and Dynamo realizes the batch placement and precise adjustment of components through programming logic. This combination method not only greatly reduces the time and errors of manual operations but also ensures that the position and size of each component strictly meet the design requirements. Through the parametric design of Dynamo, the data consistency in the modeling process is guaranteed, and when the design is modified, the entire model can be quickly updated with only simple adjustments. In addition, this solution has low requirements for computer configuration, is applicable to long-distance bridge modeling, and its logic is also applicable to the modeling requirements of along-the-line layouts such as tunnels and road surfaces. It effectively solves the problems of low efficiency, insufficient accuracy, and difficult collaboration in existing bridge modeling technologies.
[0068] The above are only embodiments of the present invention, and specific technical solutions and / or common knowledge such as characteristics well known in the art are not described in detail herein. It should be noted that for those skilled in the art, without departing from the technical solution of the present invention, several deformations and improvements can be made, which should also be regarded as the protection scope of the present invention, and these will not affect the implementation effect of the present invention and the practicality of the patent. The protection scope required by this application shall be subject to the content of its claims, and the specific implementation manners described in the specification can be used to interpret the content of the claims.
Claims
1. A long distance bridge modeling method based on Civil 3D, Revit and Dynamo, characterized in that: The following steps are involved: Step 1: Use Civil 3D to construct the bridge centerline, generate the format, and then import it into the Revit project; Step 2: sort out the bridge modeling process and divide the required components into layout components and adaptive components; and calculate the point information required for the adaptive components according to the distribution of the layout components; Step 3, create layout component family and adaptive component family files in Revit, and import them into the project; Step 4: Use Dynamo in Revit to convert the center line into a spline curve; Step 5, using Dynamo to complete the batch placement of layout components and adaptive components along the spline curve, and complete the batch modeling of the bridge.
2. A long distance bridge modeling method based on Civil 3D, Revit and Dynamo according to claim 1, characterized in that: In step 2, the layout components are components that are evenly arranged along the center line; and the adaptive components are components that are placed according to the direction of the center line.
3. The long distance bridge modeling method based on Civil 3D, Revit and Dynamo according to claim 1, characterized in that: In step 2, the calculation method of the point information includes the following sub-steps: Step 2.1, measuring the spacing of each layout component; Step 2.2, based on the spacing and design requirements, calculate the points required for the adaptive components to form point information.
4. The long distance bridge modeling method based on Civil 3D, Revit and Dynamo according to claim 1, characterized in that: In step 4, converting the centerline to a spline curve includes the following sub-steps: Step 4.1, converting the center line into a composite curve formed by connecting multiple curves according to its geometric information; Step 4.2, extracting the list information of all component curves in the composite curve to obtain curve segment information; Step 4.3, obtain the starting point coordinates of each curve segment and the end point coordinates of the composite curve, and merge them to form a key point list information; Step 4.4, generate a spline curve based on the key point list information.
5. The long distance bridge modeling method based on Civil 3D, Revit and Dynamo according to claim 4, characterized in that: In step 5, placing and arranging components in batches includes the following sub-steps: Step 5.1.1, generating equally spaced points on the spline curve according to the key point list information to form multiple point lists; Step 5.1.2, merge multiple point lists into a total list according to the set mode, and convert the total list into a one-dimensional list; Step 5.1.3, automatically placing different types of components at the points according to the point information in the one-dimensional list; Step 5.1.4, calculate the normal vector and rotation angle at each point, and rotate the component to the set direction.
6. The long distance bridge modeling method based on Civil 3D, Revit and Dynamo according to claim 5, characterized in that: In step 5, placing adaptive components in batches includes the following sub-steps: Step 5.2.1, according to the point requirements of the adaptive component, the total point list is divided into sublists of specified length; Step 5.2.2, extract the first sublist, convert the remaining sublists into one-dimensional lists and then re-split them into quadratic lists; Step 5.2.3, merge the sublist and the secondary list, and generate a continuous list with the head and tail connected through custom logic; Step 5.2.4, use the processed continuous list to automatically place adaptive components.
7. The long distance bridge modeling method based on Civil 3D, Revit and Dynamo according to claim 1, characterized in that: The setting format is dwg format.
8. The long distance bridge modeling method based on Civil 3D, Revit and Dynamo according to claim 1, characterized in that: In step 3, establishing an adaptive component family file includes drawing an adaptive component cross section at the first point after arranging the adaptive points, creating an adaptive component, and forming an adaptive component family.
9. The long distance bridge modeling method based on Civil 3D, Revit and Dynamo according to claim 5, characterized in that: In step 5.1.2, the setting modes include placing components sequentially and placing components at intervals; when placing components sequentially, the acquired point list is merged with the starting point coordinates to form a total list; when placing components at intervals, one point is extracted from the point list every N points to form a one-dimensional list of group B for placing interval components, and the remaining lists are extracted to form a one-dimensional list of group A for placing components separately.
10. The long distance bridge modeling method based on Civil 3D, Revit and Dynamo according to claim 6, characterized in that: In step 5.2.3, the custom logic is to start from the first sublist, extract its last point, and put the point at the first position of the next secondary list until all lists are connected end to end.
Citation Information
Cited By
A Method and System for Fitting 3D Terrain Entities with Smooth Non-uniform Rational B-Splines
CN120672986B