Integrated modeling method and system of prestressed concrete continuous beam bridge components and steel bars based on Revit
By using Revit API, VS C# and WPF technologies on the Revit platform, rapid modeling of prestressed concrete continuous beam bridge components and steel bars is achieved, solving the problem of inefficient traditional manual modeling, and has been applied and verified in specific bridge projects.
Patent Information
- Application Number
- CN202410708580.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-06-03
AI Technical Summary
The traditional manual modeling method is inefficient in the modeling process of components and steel bars of prestressed concrete continuous beam bridges, and cannot meet the needs of rapid development.
The integrated modeling method of prestressed concrete continuous beam bridge components and steel bars is adopted based on Revit. Through the Revit API, VS C# programming and WPF window, geometric dimensions and three-dimensional vectors represent component features, rapid modeling of various bridge components and steel bars is achieved, and a planar prestressed steel bar family is created through HermiteSpline curves and space vectors.
It greatly improves the modeling rate, solves the problem of low efficiency of traditional manual modeling, and overcomes the limitation of the inability to create space curve prestressed steel bars in Revit, realizing practical application and verification in specific bridge projects.
Smart Images

Figure CN118586072B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of three-dimensional bridge modeling, and in particular, relates to a Revit-based prestressed concrete continuous beam bridge component and steel bar integrated modeling method and system. Background Art
[0002] Prestressed concrete continuous beam bridges have the advantages of high rigidity, small deformation, good integrity and seismic resistance, and are widely used in bridge engineering. Because the span structure of prestressed concrete continuous beam bridges is constructed with prestressed concrete, the reaction force of the pre-tensioning steel bar can be used to pre-stress the concrete before loading. Therefore, its modeling process is relatively complicated, and it is necessary to carry out detailed modeling of each bridge component, steel bar and prestressed steel bar, resulting in a low traditional manual modeling rate. With the development of information technology, traditional modeling methods have been unable to meet the needs of today's rapid development. In view of this, the present invention is specially proposed. Summary of the invention
[0003] The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide a Revit-based prestressed concrete continuous beam bridge component and steel bar integrated modeling method and system, which solves the problems raised in the above background technology.
[0004] In order to solve the above technical problems, the basic concept of the technical solution adopted by the present invention is:
[0005] A Revit-based integrated modeling method for prestressed concrete continuous beam bridge components and steel bars.
[0006] include:
[0007] S1: According to the information in the drawings, various types of bridges are modularly decomposed according to their structural characteristics, and decomposed into corresponding superstructures, substructures and other components;
[0008] S2: Clarify the control parameters and structural relationships of each component. The control parameters include size, shape, material and quantity;
[0009] S3: Use the Point class in the Revit API function and VS C# to express the corner points of the interface outline with the bridge size, and then use the newSweptBlend class and Extrusion class in the Revit API function to create the component families of the prestressed concrete continuous beam bridge and define their parameters;
[0010] Create a box girder family based on the newSweptBlend function. The specific method is as follows:
[0011] S3.1.1: Variable section parameter conversion: Based on the concept of point, line and surface, the cross-section size information of the main beam is converted into the coordinates of the corner points of the inner and outer contours of the cross-section of the main beam. The intersection coordinates are connected in sequence according to the Line.CreateBound() method to outline the variable section contour of the main beam.
[0012] S3.1.2: Beam modeling: In view of the different structural characteristics of the left and right sections of the variable-section box beam, it is necessary to collect parameter information of different sections when performing rapid modeling on the VS platform. The specific modeling method of the beam model is as follows:
[0013] S3.1.2.1: According to the process of variable section parameter conversion, the coordinates of the left and right different section control points are expressed through the section size information, and connected to generate the section profile;
[0014] S3.1.2.2: Determine the length of the segment according to the actual project and use the beam centerline as the lofting fusion path;
[0015] S3.1.2.3: Input the left and right sections and the beam centerline into the NewSweptBlend() method in the SweptBlend class, which will generate a variable-section box beam model by lofting the blending path and the contours of the left and right sections;
[0016] S3.1.3: Model property setting: Use the AddParameter() method in the FamilyParameter class to bind the material properties of the Revit software to the main beam model to add the main beam properties;
[0017] S3.1.4: Model interactive interface display: collect the main beam parameter information through the WPF window, bind the main beam parameter information with the Revit model parameters through the MVVM model, ensure the synchronous update between the interface and the model, and realize one-click generative modeling.
[0018] Create a substructure model based on the Extrusion function. The specific method is as follows:
[0019] S3.2.1: Rapid modeling of pile foundation: The pile foundation model is mainly divided into two parts: the cap and the pile foundation. The key point of its modeling is how to control the pile position according to the size of the cap. The position of the pile foundation is determined by judging the size relationship between the center distance of the pile foundation and the size of the cap. The specific judgment method is as follows:
[0020] S3.2.1.1: Calculate the number of rows and columns of pile foundations: Use the int() method to convert the ratio of the abutment size to the pile center distance into an integer to obtain the number of rows and columns;
[0021] S3.2.1.2: Calculate the row and column offset: The distance between the two sides is obtained by subtracting the pile diameter from the abutment size and multiplying it by the number of columns, and a judgment statement is used to ensure that the distance between the two sides is not less than the preset value;
[0022] S3.2.2: Rapid modeling of column pier model: parametric modeling of column pier model is carried out based on rapid modeling of pile foundation;
[0023] S3.2.3: Rapid modeling of gravity pier model: The difficulty in modeling gravity pier lies in the connection between the pier cap and the pier body, as well as the modeling of the division of the pier body.
[0024] S4: The spatial vector created by the steel bar size and inverse trigonometric function is combined with the HermiteSpline class in the Revit API to generate a smooth curve, and the plane prestressed steel bar family is created with the help of the DirectShape class in the Revit API. The spatial curve points are indirectly generated using the idea of measuring points, and the spatial prestressed steel bar family is generated by reading the spatial curve points with the help of the Dynamo plug-in in Revit;
[0025] Create a bridge parametric reinforcement family based on the CreateFormCurves class. In Revit software, the creation of reinforcement requires a host model. Select the host position line and the corresponding coordinates to determine the position of the reinforcement. The process is as follows:
[0026] S4.1.1: Get the box girder position line. In Revit software, the beam position line can be determined by the beam position. The beam position line is the center line of the upper surface of the beam. The position of the box girder and the coordinate points at both ends can be determined by the center line of the beam.
[0027] S4.1.2: Create reinforcement through the beam position line. After the position line is created, the reinforcement is created based on the position line that has been created. The reinforcement is created according to the path of the position line, and the model and hook parameters of the reinforcement are defined at the same time.
[0028] Create a plane prestressed steel bar family based on the HermiteSpline curve. The specific method is as follows:
[0029] S4.2.1: Collection of curve control points: Based on the prestressed steel bar drawing information, the coordinates of the end points and inflection points of the prestressed steel bars are summarized through mathematical calculations and the actual project positions and collected in an Excel table;
[0030] S4.2.2: Rapid modeling of the plane prestressed steel bar model is as follows:
[0031] S4.2.2.1: First, separate the straight and curved segments of the prestressed steel bars and model them separately in the VS platform;
[0032] S4.2.2.2: Determine the endpoint coordinates and endpoint vectors of the straight or curved segment. For the intersection of the straight and curved segments, the box beams with the same endpoints shall be used to achieve smooth connection.
[0033] S4.2.2.3: Input the endpoint coordinates and vectors into the HermiteSpline curve formula to create the HermiteSpline curve and use it as the centerline of the prestressing steel bar;
[0034] The HermiteSpline curve is as follows:
[0035]
[0036] In the formula, t represents the parameter; P0 and P1 represent the starting point and end point of the curve; T0 and T1 represent the tangent direction of the curve at P0 and P1;
[0037] S4.2.2.4: Create the prestressed steel bar section profile through the Arc.Create() method, and pass the profile and the HermiteSpline curve into the NewExtrusion() method to create the prestressed steel bar.
[0038] Create a spatial prestressed steel bar family based on Civil3D+Dynamo. The specific method is as follows:
[0039] S4.3.1: According to the drawing information, decompose the horizontal and vertical bending diagrams of the space curved prestressed steel bars into multiple line segments, and collect the starting and ending coordinates of the line segments into the Execl table;
[0040] S4.3.2: Use the method of generating routes and longitudinal sections in Civil3D to draw the horizontal and vertical bends of the prestressed steel bars;
[0041] S4.3.3: Generate roads in Civil3D by combining alignments and profiles and export coordinate point reports generated by station points;
[0042] S4.3.4: Use Dynamo to read the exported coordinate point report to generate spatial curved prestressed reinforcement.
[0043] S5: Add controls in the WPF window of the VS platform to control the parameters of the bridge components. In the WPF window, the ViewModel class and the INotifyPropertyChanged interface implement the data binding function;
[0044] S6: Debug the program and apply and demonstrate the method on a certain large bridge. The specific method is as follows:
[0045] S6.1: The rapid modeling process of the bridge superstructure, substructure and reinforcement is compiled through the geometric parameters of each component of the prestressed concrete continuous beam bridge and the modeling functions such as stretching and lofting;
[0046] S6.2: Create a user docking window through WPF and dock it with the modeling process of each bridge component;
[0047] S6.3: Revit software requires the compilation of the rapid modeling Ribbon area, and the rapid modeling program is loaded into the Revit software in the form of a .dll file, and the model is quickly built according to the geometric information of the actual bridge in the drawing.
[0048] A prestressed concrete continuous beam bridge component and steel bar integrated modeling system based on Revit, including:
[0049] Decomposition module: The decomposition module is used to modularize and decompose various types of bridges according to their structural characteristics based on the drawing information, and decompose them into corresponding superstructures, substructures and other components;
[0050] Component clarification module: The component clarification module is used to clarify the control parameters and structural relationships of each component. The control parameters include size, shape, material and quantity;
[0051] Beam bridge component family creation module: The beam bridge component family creation module is used to use the Point class in the Revit API function and VS C# to express the interface contour corner points with bridge dimensions, and then use the newSweptBlend class and Extrusion class in the Revit API function to create the component families of the prestressed concrete continuous beam bridge and define their parameters;
[0052] Beam bridge reinforcement family creation module: The beam bridge reinforcement family creation module is used to generate smooth curves by combining the space vectors created by the reinforcement size and inverse trigonometric functions with the HermiteSpline class in the Revit API, and to create plane prestressed reinforcement families with the help of the DirectShape class in the Revit API. The idea of measuring points is used to indirectly generate space curve points, and the Dynamo plug-in in Revit is used to read the space curve points to generate space prestressed reinforcement families.
[0053] Control adding module: The control adding module is used to add controls in the WPF window of the VS platform to control the parameters of bridge components. In the WPF window, the ViewModel class and the INotifyPropertyChanged interface implement the data binding function;
[0054] Application display module: The application display module is used to debug the program and apply and display the method based on a certain extra-large bridge.
[0055] After adopting the above technical solution, the present invention has the following beneficial effects compared with the prior art. Of course, any product implementing the present invention does not necessarily need to achieve all the advantages described below at the same time:
[0056] The present invention proposes a rapid modeling method for continuous beam bridges based on Revit. The method is based on Revit API functions, VS C# programming and WPF windows, uses geometric dimensions and three-dimensional vectors to represent three-dimensional spatial coordinate points of geometric features of components, uses three-dimensional spatial coordinate points to outline the cross-sections of various bridge components, and uses Revit API functions and C# language to achieve rapid modeling of various bridge components and steel bars, and uses Hermite Spline curves and spatial vectors to create a plane prestressed steel bar family. At the same time, a rapid modeling program window is written through WPF to achieve human-computer interaction. The method solves the problem of low traditional manual modeling rate caused by the large number of prestressed concrete continuous bridge components and steel bars, and overcomes the problem of inability to create spatial curved prestressed steel bars in Revit by combining the method with Civil3D.
[0057] The Revit API and VS C# were used to develop the prestressed concrete continuous beam bridge program. The newSweptBlend, Extrusion, CreateFormCurves and HermiteSpline curves were used to realize the rapid modeling of the variable-section box beam, substructure, structural steel bars and plane prestressed steel bars in the prestressed concrete continuous beam bridge. The problem of low parametric modeling efficiency and lack of a good interactive interface for various components, steel bars and prestressed steel bars in the modeling process of prestressed concrete continuous beam bridge was solved.
[0058] Following the idea of road measuring points in Civil 3D software, the horizontal and vertical bends of spatial prestressed steel bars are compared to road plan and elevation drawings. The spatial curve is created by generating roads in Civil 3D, and the spatial curve measuring stations are generated. The Dynamo plug-in in Revit software is used to read the measuring stations to realize the creation of spatial curve prestressed steel bars in the Revit platform, which solves the problem of difficulty in creating spatial prestressed steel bars in Revit software. This method and system have been applied and verified in a specific bridge project, demonstrating its practicality and effectiveness.
[0059] The specific implementation modes of the present invention are further described in detail below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The drawings described below are only some embodiments. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0061] Figure 1 This is a flow chart of the BIM rapid modeling method for continuous beam bridges;
[0062] Figure 2 Create renderings for beam models;
[0063] Figure 3 Create renderings for pile models;
[0064] Figure 4 Create renderings for column pier models;
[0065] Figure 5 Create renderings for gravity pier models;
[0066] Figure 6 This is a schematic diagram of the control parameters of the HermiteSpline curve;
[0067] Figure 7 It is a schematic diagram of the control points of the prestressed steel tendon;
[0068] Figure 8 It is a schematic diagram of the top plate bundle model;
[0069] Fig. 9 It is a schematic diagram of the bottom plate bundle model;
[0070] Fig.10 Schematic diagram of the process of reading coordinate points for Dynamo;
[0071] Fig.11 It is a schematic diagram of a partial spatial prestressed steel tendon model;
[0072] Fig.12 This is the elevation drawing of a long-span continuous beam bridge;
[0073] Fig.13 Schematic diagram of the modeling interface for the continuous beam bridge superstructure model;
[0074] Fig.14 Schematic diagram of the modeling interface for the continuous beam bridge substructure model;
[0075] Fig.15 Schematic diagram of the modeling interface for the reinforcement model of the continuous beam bridge;
[0076] Fig.16 Schematic diagram of the modeling interface for the prestressed steel bar model of a continuous beam bridge.
[0077] It should be noted that these drawings and textual descriptions are not intended to limit the conceptual scope of the present invention in any way, but are intended to illustrate the concept of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0078] The present invention will now be described in further detail with reference to the accompanying drawings.
[0079] Embodiment 1:
[0080] See also Figure 1-16 As shown, in this embodiment, a prestressed concrete continuous beam bridge component and steel bar integrated modeling method based on Revit is provided, including:
[0081] S1: According to the information in the drawings, various types of bridges are modularly decomposed according to their structural characteristics, and decomposed into corresponding superstructures, substructures and other components;
[0082] S2: Clarify the control parameters and structural relationships of each component. The control parameters include size, shape, material and quantity;
[0083] S3: Use the Point class in the Revit API function and VS C# to express the corner points of the interface contour with the bridge size, and then use the newSweptBlend class and Extrusion class in the Revit API function to create the component families of the prestressed concrete continuous beam bridge and define their parameters;
[0084] Create a box girder family based on the newSweptBlend function. The specific method is as follows:
[0085] S3.1.1: Variable section parameter conversion: Based on the concept of point, line and surface, the cross-section size information of the main beam is converted into the coordinates of the corner points of the inner and outer contours of the cross-section of the main beam. The intersection coordinates are connected in sequence according to the Line.CreateBound() method to outline the variable section contour of the main beam.
[0086] S3.1.2: Beam modeling: In view of the different structural characteristics of the left and right sections of the variable-section box beam, it is necessary to collect parameter information of different sections when performing rapid modeling on the VS platform. The specific modeling method of the beam model is as follows:
[0087] S3.1.2.1: According to the process of variable section parameter conversion, the coordinates of the left and right different section control points are expressed through the section size information, and connected to generate the section profile;
[0088] S3.1.2.2: Determine the length of the segment according to the actual project and use the beam centerline as the lofting fusion path;
[0089] S3.1.2.3: Input the left and right sections and the beam centerline into the NewSweptBlend() method in the SweptBlend class, which will generate a variable-section box beam model by lofting the blending path and the contours of the left and right sections;
[0090] S3.1.3: Model property setting: Use the AddParameter() method in the FamilyParameter class to bind the material properties of the Revit software to the main beam model to add the main beam properties;
[0091] S3.1.4: Model interactive interface display: collect the main beam parameter information through the WPF window, bind the main beam parameter information with the Revit model parameters through the MVVM model, ensure the synchronous update between the interface and the model, and realize one-click generative modeling. The beam model creation effect is as follows: Figure 2 As shown. Create a substructure model based on the Extrusion function. The specific method is as follows:
[0092] S3.2.1: Rapid modeling of pile foundation: The pile foundation model is mainly divided into two parts: the cap and the pile foundation. The key point of its modeling is how to control the pile position according to the size of the cap. The position of the pile foundation is determined by judging the size relationship between the center distance of the pile foundation and the size of the cap. The specific judgment method is as follows:
[0093] S3.2.1.1: Calculate the number of rows and columns of pile foundation: Use the int() method to convert the ratio of the base size to the center distance of the pile foundation into an integer to obtain the number of rows and columns. The pile model creation effect is as follows: Figure 3 As shown;
[0094] S3.2.1.2: Calculate row and column offsets: The distance between the two sides is obtained by subtracting the pile diameter from the base size and multiplying it by the number of columns. A judgment statement is used to ensure that the distance between the two sides is not less than the preset value. S3.2.2: Rapid modeling of column pier model: Based on the rapid modeling of pile foundation, the column pier model is parametrically modeled. The creation effect of the column pier model is as follows: Figure 4 S3.2.3: Rapid modeling of gravity bridge pier model: The difficulty of gravity bridge pier modeling lies in the connection between the pier cap and the pier body, as well as the division modeling of the pier body. The creation effect is as follows Figure 5 S4: The spatial vector created by the steel bar size and inverse trigonometric function is combined with the HermiteSpline class in the Revit API to generate a smooth curve, and the plane prestressed steel bar family is created with the help of the DirectShape class in the Revit API. The spatial curve points are indirectly generated using the idea of measuring points, and the spatial prestressed steel bar family is generated by reading the spatial curve points with the help of the Dynamo plug-in in Revit;
[0095] Create a parametric reinforcement family for a bridge based on the CreateFormCurves class. In Revit software, the creation of reinforcement requires a host model. Select the host position line and the corresponding coordinates to determine the position of the reinforcement. The process is as follows:
[0096] S4.1.1: Get the box girder position line. In Revit software, the beam position line can be determined by the beam position. The beam position line is the center line of the upper surface of the beam. The position of the box girder and the coordinate points at both ends can be determined by the center line of the beam.
[0097] S4.1.2: Create steel bars through the beam position lines. After the position lines are created, the steel bars are created based on the position lines that have been created. The steel bars are created according to the path of the position lines. At the same time, the model and hook parameters of the steel bars are defined. The meanings of the parameters of the CreateFormCurves class are shown in Table 1.
[0098]
[0099] In order to facilitate users to create the same steel bars in batches, the SetLayoutAsFixedNumber() function is used to quickly create steel bars. The specific meanings of the parameters of this function are shown in Table 2.
[0100]
[0101] Create a plane prestressed steel bar family based on the HermiteSpline curve. The HermiteSpline curve control parameters are shown in Figure 6. The specific method is as follows:
[0102] S4.2.1: Collection of curve control points: Based on the prestressed steel bar drawing information, the coordinates of the end points and inflection points of the prestressed steel bars are summarized through mathematical calculations and the actual project positions and collected in an Excel table;
[0103] S4.2.2: Rapid modeling of the plane prestressed steel bar model is as follows:
[0104] S4.2.2.1: First, separate the straight and curved segments of the prestressed steel bars and model them separately in the VS platform;
[0105] S4.2.2.2: Determine the endpoint coordinates and endpoint vectors of the straight or curved segment. For the intersection of the straight and curved segments, the box beams with the same endpoints shall be used to achieve smooth connection.
[0106] S4.2.2.3: Input the endpoint coordinates and vectors into the HermiteSpline curve formula to create the HermiteSpline curve and use it as the centerline of the prestressing steel bar;
[0107] The HermiteSpline curve is as follows:
[0108]
[0109] In the formula, t represents the parameter; P0 and P1 represent the starting point and end point of the curve; T0 and T1 represent the tangent direction of the curve at P0 and P1.
[0110] The HermiteSpline curve formula is derived as follows:
[0111] Position interpolation:
[0112] For position interpolation, assume H(0)=P0, H(1)=P1 and substitute it into the HermiteSpline curve formula to obtain H(0)=P0, so the first coefficient is 1 and the rest are 0.
[0113] Tangent direction interpolation:
[0114] In the tangent direction, H(t) is differentiated with respect to t, and substituted into t=0 and t=1 to obtain H`(0)=1 and H`(1)=1. If H`(0)=1 and H`(1)=1 are desired, the interpolation part in the tangent direction needs to be adjusted by multiplying t by the original formula so that the derivative is T0 at t=0 and T1 at t=1.
[0115] Since the tangent direction of the prestressed steel bar endpoint is not directly given in actual engineering, it is necessary to combine the prestressed steel bar size and inverse trigonometric functions to create the angle, and substitute the created angle value into XYZ() to create the tangent vector.
[0116] S4.2.2.4: Create the prestressed steel bar section profile through the Arc.Create() method, and pass the profile and the HermiteSpline curve into the NewExtrusion() method to create the prestressed steel bar. The top plate bundle model is shown as follows: Figure 8 As shown, the bottom plate bundle model is shown as Fig. 9 As shown. Based on Civil3D+Dynamo, create a spatial prestressed steel bar family. The specific method is as follows:
[0117] S4.3.1: According to the drawing information, decompose the horizontal and vertical bending diagrams of the space curved prestressed steel bars into multiple line segments, and collect the starting and ending coordinates of the line segments into the Execl table;
[0118] S4.3.2: Draw the horizontal and vertical bends of the prestressed steel bars in Civil3D by using the method of generating routes and longitudinal sections;
[0119] S4.3.3: Generate roads in Civil3D by combining routes and profiles and export coordinate point reports generated by survey stations;
[0120] S4.3.4: Use Dynamo to read the exported coordinate point report to generate spatial curve prestressed steel bars. The process of Dynamo reading coordinate points is as follows: Fig.10 The partial spatial prestressed steel tendon model is shown in Fig.11 shown.
[0121] S5: Add controls to control the parameters of bridge components in the WPF window of the VS platform. The ViewModel class and INotifyPropertyChanged interface in the WPF window implement the data binding function.
[0122] S6: Debug the program and apply and demonstrate the method on a certain extra-large bridge.
[0123] In order to analyze the feasibility of the mentioned prestressed concrete continuous beam bridge rapid modeling method and the effectiveness of the rapid modeling program, an application study was carried out using a certain large bridge as an example. The bridge is a single-box single-chamber prestressed concrete continuous beam with a span of (85+160+85)m. It has the characteristics of straight web, variable cross section, variable height, bidirectional cross slope on the top of the box beam, and the section height and bottom plate thickness of each segment changing according to a 1.8 parabola (such as Fig.12 The specific method is as follows:
[0124] S6.1: The rapid modeling process of the bridge superstructure, substructure and reinforcement is compiled through the geometric parameters of each component of the prestressed concrete continuous beam bridge and the modeling functions such as stretching and lofting;
[0125] S6.2: Create a user docking window through WPF and dock it with the modeling process of each bridge component;
[0126] S6.3: Revit software requires the compilation of the rapid modeling Ribbon area, and the rapid modeling program is loaded into the Revit software in the form of a .dll file, and the model is quickly built according to the geometric information of the actual bridge in the drawing.
[0127] Embodiment 2:
[0128] See also Figure 1-16 As shown, in this embodiment, a prestressed concrete continuous beam bridge component and steel bar integrated modeling system based on Revit is provided, including:
[0129] Decomposition module: The decomposition module is used to modularize and decompose various types of bridges according to their structural characteristics based on the drawing information, and decompose them into corresponding superstructures, substructures and other components;
[0130] Component clarification module: The component clarification module is used to clarify the control parameters and structural relationships of each component. The control parameters include size, shape, material and quantity;
[0131] Beam bridge component family creation module: The beam bridge component family creation module is used to use the Point class in the Revit API function and VS C# to express the interface contour corner points with bridge dimensions, and then use the newSweptBlend class and Extrusion class in the Revit API function to create the component families of the prestressed concrete continuous beam bridge and define their parameters;
[0132] Beam bridge reinforcement family creation module: The beam bridge reinforcement family creation module is used to generate smooth curves by combining the space vectors created by the reinforcement size and inverse trigonometric functions with the HermiteSpline class in the Revit API, and to create plane prestressed reinforcement families with the help of the DirectShape class in the Revit API. The idea of measuring points is used to indirectly generate space curve points, and the Dynamo plug-in in Revit is used to read the space curve points to generate space prestressed reinforcement families.
[0133] Control adding module: The control adding module is used to add controls to control the parameters of bridge components through the WPF window of the VS platform. The ViewModel class and INotifyPropertyChanged interface in the WPF window implement the data binding function;
[0134] Application display module: The application display module is used to debug the program and apply and display the method based on a certain extra-large bridge.
[0135] The method and system have been applied and verified in a specific bridge project, demonstrating their practicality and effectiveness.
[0136] Embodiment three:
[0137] Test results such as Fig.13 This figure shows the continuous beam bridge superstructure generated by the rapid modeling program: Fig.13 (a) shows the details of some blocks and block 0, and clearly shows the characteristics of the upper structure with straight webs, variable cross-sections and heights, and the top of the box girder with a two-way transverse slope; Fig.13 (b) shows the modeling interface of the variable-section box girder of the main bridge. It can be seen from the interface that the user only needs to input two different interface parameters, and does not need to create them manually, which greatly improves the modeling speed. The above results can prove that the rapid modeling program overcomes the problem of slow modeling speed caused by the numerous and complex superstructures of prestressed concrete continuous beam bridges, and realizes the rapid modeling of the superstructure of continuous beam bridges.
[0138] Test results such as Fig.14 As shown in the figure, the continuous beam bridge substructure model generated by the rapid modeling program is shown. Through the above modeling steps, the creation of the integrated family of bridge substructure piers, caps and pile foundations is realized. In order to adapt to the same type of projects, this paper uses WPF technology to create a visualization window and display the control parameters of the bridge substructure in the interface. The user's input is collected in real time, and then the code in the class library creates the model by reading the corresponding data. Compared with traditional manual modeling, the rapid modeling program overcomes the problems of low modeling efficiency caused by the large number of pile foundations and the need for manual arrangement, and greatly improves the modeling speed.
[0139] After the rapid modeling program creates the bridge model, the "automatic reinforcement" function in the rapid modeling program is used to create and arrange the bridge structural steel bars. Then, Civil3D and Dynamo are combined to complete the creation of prestressed steel bar families and spatial curve prestressed steel bars. Finally, the prestressed steel bar families are arranged by reading the Execl data. The results are as follows: Fig.14 shown.
[0140] Test results such as Fig.15 As shown in the figure, the continuous beam bridge structural reinforcement model generated by the rapid modeling software is shown. As can be seen from the figure, due to the large amount of reinforcement, the workload of arranging and drawing reinforcement is very large. By creating a visualization window and displaying the control parameters of the bridge structural reinforcement in the interface, the user's input is collected in real time, and then the code in the class library creates the model by reading the corresponding data, and can quickly arrange by identifying the bridge model. Compared with the traditional manual creation of reinforcement, the rapid modeling program saves a lot of time caused by arranging reinforcement.
[0141] Test results such as Fig.16 As shown in the figure, the prestressed steel bar model generated by the rapid modeling software is shown. By creating a visualization window and displaying the control parameters of the bridge prestressed steel bars in the interface, the user reads the Excel data in real time, and then the code in the class library reads the corresponding data to create the model and arrange it. Compared with traditional manual modeling, the rapid modeling program realizes the creation of spatial prestressed steel bars and greatly improves the modeling speed of prestressed steel bars.
[0142] As shown in Table 3, it takes a lot of time to model the prestressed concrete continuous beam bridge by the traditional Revit modeling method. The use of the prestressed concrete continuous beam bridge rapid modeling program can reduce the modeling time by more than 80%. This proves that the continuous beam bridge rapid modeling method based on Revit and VS C# proposed in this paper overcomes the low efficiency problem in the bridge BIM modeling process caused by traditional manual modeling. It can be seen from the examples that the prestressed concrete continuous beam bridge rapid modeling program proposed in this paper has certain stability and applicability, and has good engineering practicality.
[0143]
[0144] This method is based on Revit API function, VS C# programming and WPF window. It uses geometric dimensions and 3D vectors to represent the 3D spatial coordinate points of the geometric features of the components. It uses 3D spatial coordinate points to outline the cross-sections of the bridge components and uses Revit API function and C# language to achieve rapid modeling of the bridge components and steel bars. It also uses Hermite Spline curves and spatial vectors to create a plane prestressed steel bar family. At the same time, it writes a rapid modeling program window through WPF to achieve human-computer interaction. This method solves the problem of low traditional manual modeling rate caused by the large number of prestressed concrete continuous bridge components and steel bars, and overcomes the problem of not being able to create spatial curved prestressed steel bars in Revit by combining this method with Civil3D.
[0145] The Revit API and VS C# were used to develop the prestressed concrete continuous beam bridge program. The newSweptBlend, Extrusion, CreateFormCurves and HermiteSpline curves were used to realize the rapid modeling of the variable-section box beam, substructure, structural steel bars and plane prestressed steel bars in the prestressed concrete continuous beam bridge. The problem of low parametric modeling efficiency and lack of a good interactive interface for various components, steel bars and prestressed steel bars in the modeling process of prestressed concrete continuous beam bridge was solved.
[0146] Following the idea of road measuring points in Civil 3D software, the horizontal and vertical bends of spatial prestressed steel bars are compared to road plan and elevation drawings. The spatial curve is created by generating roads in Civil 3D, and the spatial curve measuring stations are generated. The Dynamo plug-in in Revit software is used to read the measuring stations to realize the creation of spatial curve prestressed steel bars in the Revit platform, which solves the problem of difficulty in creating spatial prestressed steel bars in Revit software. This method and system have been applied and verified in a specific bridge project, demonstrating its practicality and effectiveness.
[0147] The present invention is not limited to the above-mentioned embodiments. Anyone should be aware that any structural changes made under the enlightenment of the present invention, and any technical solutions that are the same or similar to the present invention, fall within the protection scope of the present invention. The technology, shape, and structural parts not described in detail in the present invention are all well-known technologies.
Claims
1. A prestressed concrete continuous beam bridge component and steel bar integrated modeling method based on Revit, characterized in that: include: S1: According to the information in the drawings, various types of bridges are modularly decomposed according to their structural characteristics, and decomposed into corresponding superstructures, substructures and other components; S2: Clarify the control parameters and structural relationships of each component. The control parameters include size, shape, material and quantity; S3: Use the Point class in the Revit API function and VS C# to express the corner points of the interface outline with the bridge size, and then use the newSweptBlend class and Extrusion class in the Revit API function to create the component families of the prestressed concrete continuous beam bridge and define their parameters; S4: The spatial vector created by the steel bar size and inverse trigonometric function is combined with the HermiteSpline class in the Revit API to generate a smooth curve, and the plane prestressed steel bar family is created with the help of the DirectShape class in the Revit API. The spatial curve points are indirectly generated using the idea of measuring points, and the spatial prestressed steel bar family is generated by reading the spatial curve points with the help of the Dynamo plug-in in Revit; S5: Controls are added to the WPF window of the VS platform to control the parameters of the bridge components. The ViewModel class and INotifyPropertyChanged interface in the WPF window implement the data binding function. S6: Debug the program and apply and demonstrate the method on a certain large bridge; In S4, a plane prestressed steel bar family is created based on the HermiteSpline curve. The specific method is as follows: S4.2.1: Collection of curve control points: Based on the prestressed steel bar drawing information, the coordinates of the end points and inflection points of the prestressed steel bars are summarized through mathematical calculations and actual engineering positions and collected in an Excel table; S4.2.2: Rapid modeling of the plane prestressed steel bar model is as follows: S4.2.2.1: First, separate the straight and curved segments of the prestressed steel bars and model them separately in the VS platform; S4.2.2.2: Determine the endpoint coordinates and endpoint vectors of the straight or curved segment. For the intersection of the straight and curved segments, the box beams with the same endpoints shall be used to achieve smooth connection. S4.2.2.3: Input the endpoint coordinates and vectors into the HermiteSpline curve formula to create the HermiteSpline curve and use it as the centerline of the prestressing steel bar; The HermiteSpline curve is as follows: ; In the formula, t represents the parameter; P0 and P1 represent the starting point and end point of the curve; T0 and T1 represent the tangent direction of the curve at P0 and P1; S4.2.2.4: Create the prestressed steel bar section profile through the Arc.Create() method, and pass the profile and the HermiteSpline curve into the NewExtrusion() method to create the prestressed steel bar; In S4, based on Civil3D+Dynamo, create a spatial prestressed steel bar family. The specific method is as follows: S4.3.1: According to the drawing information, decompose the horizontal and vertical bending diagrams of the space curved prestressed steel bars into multiple line segments, and collect the starting and ending coordinates of the line segments into the Execl table; S4.3.2: Draw the horizontal and vertical bends of the prestressed steel bars in Civil3D by using the method of generating routes and longitudinal sections; S4.3.3: Generate roads in Civil3D by combining routes and profiles and export coordinate point reports generated by station points; S4.3.4: Use Dynamo to read the exported coordinate point report to generate spatial curved prestressed steel bars.
2. The Revit-based prestressed concrete continuous beam bridge component and steel bar integrated modeling method according to claim 1, characterized in that: In S3, a box girder family is created based on the newSweptBlend function. The specific method is as follows: S3.1.1: Variable section parameter conversion: Based on the concept of point, line and surface, the cross-section size information of the main beam is converted into the coordinates of the corner points of the inner and outer contours of the cross-section of the main beam. The intersection coordinates are connected in sequence according to the Line.CreateBound() method to outline the variable section contour of the main beam. S3.1.2: Beam modeling: In view of the different structural characteristics of the left and right sections of the variable-section box beam, it is necessary to collect parameter information of different sections when performing rapid modeling on the VS platform; S3.1.3: Model property setting: Use the AddParameter() method in the FamilyParameter class to bind the material properties of the Revit software to the main beam model to add the main beam properties; S3.1.4: Model interactive interface display: collect main beam parameter information through the WPF window, bind the main beam parameter information with the Revit model parameters through the MVVM model, ensure the synchronous update between the interface and the model, and realize one-click generative modeling.
3. The Revit-based integrated modeling method for prestressed concrete continuous beam bridge components and steel bars according to claim 2, characterized in that: S3.1.2 The specific modeling method of the mid-beam model is as follows: S3.1.2.1: According to the process of variable section parameter conversion, the coordinates of the left and right different section control points are expressed through the section size information, and connected to generate the section profile; S3.1.2.2: Determine the length of the segment according to the actual project and use the beam centerline as the lofting fusion path; S3.1.2.3: Input the left and right sections and the beam centerline into the NewSweptBlend() method in the SweptBlend class, which will generate a variable-section box beam model by lofting the blending path and the contours of the left and right sections.
4. The Revit-based prestressed concrete continuous beam bridge component and steel bar integrated modeling method according to claim 1, characterized in that: In S3, the lower structure model is created based on the Extrusion function. The specific method is as follows: S3.2.1: Rapid modeling of pile foundation: The pile foundation model is mainly divided into two parts: the cap and the pile foundation. The key point of modeling is how to control the pile position according to the size of the cap; S3.2.2: Rapid modeling of column pier model: parametric modeling of column pier model is carried out based on rapid modeling of pile foundation; S3.2.3: Rapid modeling of gravity pier model: The difficulty in modeling gravity pier lies in the connection between the pier cap and the pier body, as well as the modeling of the division of the pier body.
5. The Revit-based prestressed concrete continuous beam bridge component and steel bar integrated modeling method according to claim 4, characterized in that: In S3.2.1, the pile position is determined by judging the size relationship between the pile center distance and the cap size. The specific judgment method is as follows: S3.2.1.1: Calculate the number of rows and columns of pile foundations: Use the int() method to convert the ratio of the abutment size to the pile center distance into an integer to obtain the number of rows and columns; S3.2.1.2: Calculate the row and column offset: The spacing between the two sides is obtained by subtracting the pile diameter from the abutment size and multiplying it by the number of columns. A judgment statement is used to ensure that the spacing between the two sides is not less than the preset value.
6. The Revit-based prestressed concrete continuous beam bridge component and steel bar integrated modeling method according to claim 1, characterized in that: In S4, a bridge parametric reinforcement family is created based on the CreateFormCurves class. In Revit software, the creation of reinforcement requires a host model. The host position line and corresponding coordinates are selected to determine the position of the reinforcement. The process is as follows: S4.1.1: Get the box girder position line. In Revit software, the beam position line can be determined by the beam position. The beam position line is the center line of the upper surface of the beam. The position of the box girder and the coordinate points at both ends are determined by the center line of the beam. S4.1.2: Create reinforcement through the beam position line. After the position line is created, the reinforcement is created based on the position line that has been created. The reinforcement is created according to the path of the position line, and the model and hook parameters of the reinforcement are defined at the same time.
7. The Revit-based prestressed concrete continuous beam bridge component and steel bar integrated modeling method according to claim 1, characterized in that: The program is debugged in S6 and the method is applied and demonstrated on a large bridge. The specific method is as follows: S6.1: The rapid modeling process of the bridge superstructure, substructure and reinforcement is compiled through the geometric parameters of each component of the prestressed concrete continuous beam bridge and the modeling functions such as stretching and lofting; S6.2: Create a user docking window through WPF and dock it with the modeling process of each bridge component; S6.3: Revit software requires the compilation of the rapid modeling Ribbon area, and the rapid modeling program is loaded into the Revit software in the form of a .dll file, and the model is quickly built according to the geometric information of the actual bridge in the drawing.
8. A prestressed concrete continuous beam bridge component and steel bar integrated modeling system based on Revit, comprising a prestressed concrete continuous beam bridge component and steel bar integrated modeling method based on Revit according to any one of claims 1 to 7, characterized in that: include: Decomposition module: The decomposition module is used to modularize and decompose various types of bridges according to their structural characteristics based on the drawing information, and decompose them into corresponding superstructures, substructures and other components; Component clarification module: The component clarification module is used to clarify the control parameters and structural relationships of each component. The control parameters include size, shape, material and quantity; Beam bridge component family creation module: The beam bridge component family creation module is used to use the Point class and VSC# in the Revit API function to express the interface contour corner points with bridge dimensions, and then use the newSweptBlend class and Extrusion class in the Revit API function to create the component families of the prestressed concrete continuous beam bridge and define their parameters; Beam bridge reinforcement family creation module: The beam bridge reinforcement family creation module is used to generate smooth curves by combining the space vectors created by the reinforcement size and inverse trigonometric functions with the HermiteSpline class in the Revit API, and to create plane prestressed reinforcement families with the help of the DirectShape class in the Revit API. The idea of measuring points is used to indirectly generate space curve points, and the Dynamo plug-in in Revit is used to read the space curve points to generate space prestressed reinforcement families. Control adding module: The control adding module is used to add controls to control the parameters of bridge components through the WPF window of the VS platform. The ViewModel class and INotifyPropertyChanged interface in the WPF window implement the data binding function; Application display module: The application display module is used to debug the program and rely on a super-large bridge to apply and demonstrate the Revit-based integrated modeling method of prestressed concrete continuous beam bridge components and steel bars.
Citation Information
Patent Citations
Method for locating continuous box girder prestressed pipeline based on BIM
CN104715117A
Method for creating segmental prefabricated bridge BIM model
CN110362924A