Modeling method of prefabricated steel bridge based on Revit and Dynamo
Patent Information
- Application Number
- CN202610953147.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-30
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2046-06-30
AI Technical Summary
现有技术的桩位生成方法仅能按固定跨径均匀排列,无法在标准序列中插入短跨桩位并联动更新总桥长及上部构件
效率飞跃:通过Excel参数驱动的全自动化建模流程,将上承式钢便桥的建模时间从传统的1~2天缩短至几十秒内,效率提升显著。
Smart Images

Figure CN122471578B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Building Information Modeling (BIM) technology, and in particular to a modeling method, electronic device and computer-readable storage medium for prefabricated steel temporary bridges based on Revit and Dynamo. Background Technology
[0002] Steel temporary bridges, widely used temporary facilities in engineering construction, consist of an upper-bearing structure, including steel pipe piles, load-bearing main beams, Bailey trusses, transverse distribution beams, longitudinal beams, bridge decks, scissor bracing, horizontal bracing, and railings, among other components, typically numbering in the hundreds. Currently, modeling steel temporary bridges mainly relies on technicians manually placing and adjusting each component in Revit (Revit is one of the most widely used software programs in my country's construction industry BIM system, while Dynamo is Revit's built-in visual programming platform). This approach suffers from several prominent problems, including low modeling efficiency (it takes 1-2 days to build a multi-span steel temporary bridge), difficulty in spatial alignment (scissor bracing needs to be placed back-to-back against the wall at the ends, the transverse spacing of Bailey panels is often uneven, and the pile positions at braking piers have non-standard spacing), cumbersome handling of irregularly shaped slabs (manual calculation is required when the bridge width is not an integer multiple of the standard slab width), delayed quantity statistics (material statistics need to be performed separately after the model is built), and high operational barriers (requiring dedicated BIM technicians).
[0003] Existing technologies categorize bridge components into two types: "point-based models" and "line-based models," processing them separately. Corresponding parametric families are established; geometric, positioning, and model parameters are read from an Excel spreadsheet using Dynamo; size modifications and automatic positioning of point-model components are achieved through built-in nodes; and line-model instances are generated and their dimensional parameters are modified in batches. This method achieves automated modeling of conventional prefabricated bridges through Excel data-driven approaches and component classification.
[0004] However, when the above-mentioned existing technologies are applied to special temporary structures such as upper-bearing steel temporary bridges, the following five shortcomings exist: First, it cannot handle the automatic interpolation of braking pier pile positions and the linked update of the total bridge length. Temporary steel bridges require short spans for braking piers every few spans, within which additional pile positions need to be inserted, causing the total bridge length to change accordingly. Existing pile position generation methods can only arrange piles uniformly according to a fixed span, and cannot insert short-span pile positions into a standard sequence and link them to the update of the total bridge length and superstructure.
[0005] Second, it cannot achieve adaptive arrangement of Bailey bridge panels with non-uniform spacing. The transverse spacing of Bailey bridge panels in steel temporary bridges is usually a non-uniform combination (such as "900, 450, 600"). Existing technology only supports a single spacing value and cannot parse unequal spacing strings and automatically adapt to arbitrary spacing combinations.
[0006] Third, it cannot handle the automatic calculation and generation of irregularly shaped bridge deck panels. When the bridge width is not an integer multiple of the standard panel width, the existing technology does not have an automatic arrangement algorithm for standard panels and irregularly shaped panels based on modular rules, and cannot automatically calculate the size of the irregularly shaped panels.
[0007] Therefore, there is an urgent need for a parametric modeling method specifically for upper-bearing prefabricated steel temporary bridges to solve the above-mentioned technical problems. Summary of the Invention
[0008] To address the technical problems existing in the prior art, the present invention provides the following technical solution: On the one hand, a modeling method for prefabricated steel temporary bridges based on Revit and Dynamo is provided, including the following steps: S1. Establish a standardized Excel parameter input template and predefine all key parameters of the upper-bearing prefabricated steel temporary bridge in the Excel spreadsheet; S2. In the Dynamo environment, the data in the Excel parameter input template is read through the built-in node, and the parameters are assigned to the corresponding algorithm modules using index mapping; S3. Based on the read standard span, total number of standard spans and braking pier parameters, execute the dynamic pile position generation algorithm through the Python Script node to generate the updated pile position X coordinate sequence and the new total bridge length; S4. Based on the Bailey panel spacing list string and the Bailey panel starting edge distance parameter read, execute the Bailey panel non-uniform spacing adaptive arrangement algorithm through the PythonScript node to automatically calculate the horizontal Y coordinate of each Bailey panel; S5. Execute the scissor brace space intelligent avoidance generation algorithm through the Python Script node to generate a list of positioning lines for the full bridge scissor brace; S6. Based on the generated new total bridge length, the outermost transverse position of the Bailey bridge section, and the read parameters of the distribution beam and the small longitudinal beam, automatically calculate the transverse start and end point positions and longitudinal arrangement positions of the distribution beam, as well as the transverse arrangement positions of the small longitudinal beam. S7. Based on the read standard length and width parameters of the bridge deck and the bridge deck width, execute the adaptive arrangement algorithm of standard and irregular bridge deck panels through nodes to automatically calculate the center coordinates and actual size of each bridge deck panel. S8. Using Dynamo nodes, batch place the positioning data of each component generated in the above steps into Revit model instances, and batch modify the size parameters of each instance. S9. After the model is generated, the Revit API is called through the Python Script node to automatically create or update multi-category schedules, achieving synchronous output of the model and quantities.
[0009] Preferably, the key parameters mentioned in step S1 include at least one of the following: total number of standard spans, single span diameter, bridge deck width, diameter and length of steel pipe piles, pile spacing and pile edge distance, main beam model, Bailey panel model, Bailey panel spacing list, distribution beam model, distribution beam length and end distance, longitudinal spacing of distribution beams, small longitudinal beam model and spacing, standard length of small longitudinal beams, bridge deck model, standard length and standard width of bridge deck, number of spans between braking piers and braking pier span, scissor bracing model, longitudinal staggered distance of scissor bracing, railing parameters or edge distance parameters of each component.
[0010] Preferably, the execution process of the dynamic pile position generation algorithm in step S3 is as follows: initialize the pile position list, and generate each row of pile positions by sequentially accumulating the standard span starting from the initial pile position; when traversing to the position of the brake pier, automatically insert a short span pile position of the brake pier between the standard pile positions. The length of the short span is determined by the brake pier span parameter, and at the same time, shift the X coordinate of the subsequent pile positions back by the corresponding distance.
[0011] Preferably, the execution process of the Bailey panel non-uniform spacing adaptive arrangement algorithm in step S4 is as follows: parse the Bailey panel spacing list string to obtain the spacing sequence, determine the lateral starting position of the first Bailey panel according to the main beam length and the starting edge distance, and sequentially traverse the spacing sequence to generate the lateral positions of subsequent Bailey panels. The lateral number of Bailey panels is automatically inferred from the length of the spacing sequence.
[0012] Preferably, the execution process of the scissor brace space intelligent avoidance generation algorithm in step S5 is as follows: Define an endpoint shrinkage function, which shrinks the endpoint of the scissor brace inward by the corresponding radius distance along the connection direction according to the outer diameter of the steel pipe pile, so that the end of the scissor brace is exactly located on the surface of the pile wall. By introducing a longitudinal offset parameter δ, two diagonal bracing positioning lines are generated for each pair of adjacent piles, located on the +δ side and -δ side of the pile center plane respectively. The two diagonal bracing lines are 2δ apart in the longitudinal direction to achieve spatial offset arrangement.
[0013] Preferably, the execution process of the adaptive arrangement algorithm for standard and irregular bridge deck panels in step S7 is as follows: The longitudinal section is divided into segments according to the standard length, and the last segment is automatically shortened based on the remaining length. The horizontal sections are arranged sequentially according to the standard width. When the remaining width is less than the standard width, an irregularly shaped bridge deck is automatically generated. The center coordinates of each bridge panel are calculated using a prefix sum algorithm to ensure that the panels are closely arranged.
[0014] Preferably, the batch placement method of the components in step S8 is as follows: for steel pipe piles, Bailey panels, and conventional bridge deck model family components, a point-to-point placement method is used; for main beams, distribution beams, small longitudinal beams, and scissor bracing system structural frame family components, a line-to-line placement method is used.
[0015] Preferably, the multi-category detail table in step S9 automatically adds "family and type", "length" and "volume" fields, and automatically counts the key information of all conventional model components and structural frame components in the project; the program first checks whether there is a detail table with the same name, and if so, deletes it and recreates it.
[0016] Preferably, after reading the Excel parameters in step S2, the list of Bailey bridge segment spacings is automatically validated through a Python Script node. If the parameters do not conform to the logical relationship, an empty list is output, and the subsequent component generation process is terminated.
[0017] On the other hand, an electronic device is provided, comprising: a processor; and a memory storing computer-readable instructions, which, when executed by the processor, implement the method described above.
[0018] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction is stored therein, the at least one instruction being loaded and executed by a processor to implement the above method.
[0019] The beneficial effects of the technical solutions provided by the embodiments of the present invention include at least the following: Leap in efficiency: The fully automated modeling process driven by Excel parameters has reduced the modeling time for upper-bearing steel temporary bridges from the traditional 1-2 days to within tens of seconds, resulting in a significant improvement in efficiency.
[0020] Intelligent avoidance: By automatically retracting the ends of the scissor braces to fit against the wall and using a longitudinal staggering algorithm, the spatial collision problem at the intersection of the scissor braces is solved, while also achieving the back-to-back engineering layout requirements.
[0021] Adaptive Layout: Through a non-uniform Bailey panel layout algorithm based on spacing string parsing, it can adapt to the lateral positioning of Bailey panels with arbitrary spacing combinations, breaking through the limitations of traditional uniform layout.
[0022] Automatic processing of irregularly shaped plates: The automatic arrangement algorithm of standard plates and irregularly shaped plates solves the problem of automatic calculation and generation of edge plates when the bridge width is not modular.
[0023] Model-Quantity Calculation Integration: Through the automatic generation function of detailed tables, the last mile from BIM modeling to engineering quantity statistics is bridged, realizing digital delivery.
[0024] Zero-code operation: End users only need to modify parameters in an Excel spreadsheet, without having to touch the Dynamo visual programming interface, which significantly reduces the application threshold of BIM technology in front-line construction projects. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 This is a schematic diagram of a method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the Excel parameter input and automatic verification (built-in node reads and assigns Excel parameters) interface provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of an interface for generating the center point of a pile top provided by an embodiment of the present invention (the center point of the pile top is generated by obtaining the X / Y / Z coordinates of the pile top center through an algorithm). Figure 4 This is a schematic diagram of an interface for generating the center point of a Bailey bridge according to an embodiment of the present invention (the center point of the Bailey bridge is generated by obtaining the X / Y / Z coordinates of the Bailey bridge center through an algorithm). Figure 5 This is a schematic diagram of an interface for generating the coordinates of the center point of a panel according to an embodiment of the present invention (the coordinates of the center point of the panel are obtained based on the X, Y, and Z coordinates of the panel). Figure 6 This is a schematic diagram of an interface for controlling the length and width of each bridge panel according to an embodiment of the present invention (the length and width of each bridge panel are controlled according to a list of calculated panel lengths and widths). Figure 7 This is a schematic diagram of an interface for obtaining the coordinates of the points at both ends of a scissor brace according to an embodiment of the present invention (the coordinates of the points at both ends of the scissor brace are obtained by an algorithm, and the two points are connected to generate a scissor brace line segment). Figure 8 This is a schematic diagram of an interface for generating the start and end points of a distribution beam according to an embodiment of the present invention (the start and end points of the distribution beam are generated by an algorithm, and the two points are connected to generate the distribution beam line segment (the same applies to the small longitudinal beam)). Figure 9 This is a schematic diagram of a multi-category detail table provided in an embodiment of the present invention; Figure 10 This is a schematic diagram of an automatically generated steel temporary bridge model provided in an embodiment of the present invention. Detailed Implementation
[0027] The technical solution of the present invention will now be described with reference to the accompanying drawings.
[0028] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.
[0029] In the embodiments of this invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning. Similarly, the terms "of," "corresponding (relevant)," and "corresponding" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning.
[0030] In this embodiment of the invention, sometimes a subscript such as W1 may be mistakenly written as a non-subscript form such as W1. When the difference is not emphasized, the meaning they express is the same.
[0031] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0032] This invention provides a parametric modeling method for upper-bearing prefabricated steel temporary bridges based on Revit and Dynamo, which realizes one-click automatic generation of all bridge components and automatic creation of engineering quantity details, solving the problems of low efficiency, easy error, difficulty in handling complex spatial relationships, need for manual adjustment of irregular components, and lag in quantity calculation in traditional manual modeling.
[0033] To address the aforementioned technical problems, this invention provides a parametric modeling method for upper-bearing prefabricated steel temporary bridges based on Revit and Dynamo. By establishing a standardized Excel parameter input template, Dynamo reads the parameters and executes a series of algorithms to achieve dynamic generation of pile positions and intelligent interpolation of braking piers, adaptive arrangement of Bailey bridge sections with non-uniform spacing, intelligent spatial avoidance generation of scissor braces, automatic generation of distribution beams and small longitudinal beams, and adaptive arrangement of standard and irregular bridge deck panels. Finally, components are placed in batches, parameters are automatically assigned, and a detailed bill of quantities is automatically generated. This method achieves one-click automatic generation of all bridge components and automatic creation of the bill of quantities, solving the problems of low efficiency, error-proneness, difficulty in handling complex spatial relationships, manual adjustment of irregular components, and delayed quantity calculation associated with traditional manual modeling.
[0034] This application proposes the following technological innovations: Dynamic generation of pile positions and intelligent interpolation algorithm for braking piers: This algorithm solves the problem of automatic interpolation of braking pier pile positions and linkage update of total bridge length for steel temporary bridges, and realizes the insertion of short-span pile positions into the standard sequence and linkage update of total bridge length and superstructure components.
[0035] The Bailey panel non-uniform spacing adaptive arrangement algorithm breaks through the limitations of the traditional uniform arrangement and can adapt to the lateral positioning of Bailey panels with arbitrary spacing combinations.
[0036] The intelligent space avoidance generation algorithm for scissor braces solves the spatial collision problem at the intersection of scissor braces by automatically shrinking the endpoints to fit against the wall and using a longitudinal staggering algorithm, while also meeting the back-to-back engineering layout requirements.
[0037] Adaptive arrangement algorithm for standard and irregular bridge deck panels: This solves the problem of automatic calculation and generation of edge panels when the bridge width is not modular.
[0038] The following section explains the technical innovation design principle and application effect of this application by combining specific methods and implementation principles.
[0039] like Figure 1 As shown, this method includes the following steps: 1. Establish standardized Excel parameter input templates Predefine all key parameters of the steel temporary bridge in an Excel spreadsheet, including: total number of standard spans, single span length, bridge deck width, steel pipe pile diameter and length, pile spacing and pile edge distance, main beam model, Bailey bridge panel model, Bailey bridge panel spacing list, distribution beam model, distribution beam length and end distance, distribution beam longitudinal spacing, secondary longitudinal beam model and spacing, secondary longitudinal beam standard length, bridge deck model, bridge deck standard length and standard width, number of braking pier intervals and braking pier span, scissor bracing model, scissor bracing longitudinal staggered distance, railing parameters, and edge distance parameters of each component.
[0040] These parameters provide the basic data for the subsequent modeling process.
[0041] 2. Read Excel parameters using Dynamo In the Dynamo environment, data from the Excel parameter input template is read through built-in nodes, and index mapping is used to assign each parameter to the corresponding algorithm module. This step enables data transfer and sharing, providing data support for subsequent algorithm execution.
[0042] 3. Dynamic generation of pile positions and intelligent interpolation of braking piers Based on the standard span, total number of standard spans, and braking pier parameters read by S2, a dynamic pile position generation algorithm is executed via a Python Script node. The algorithm initializes the pile position list, sequentially adding the standard span to generate each row of pile positions starting from the initial pile position. When iterating to the braking pier setting position, a short-span braking pier pile position is automatically inserted between the standard pile positions. The length of this short span is determined by the braking pier span parameters. Simultaneously, the X-coordinates of subsequent pile positions are shifted to the right by the corresponding distance. After the algorithm completes, it outputs the updated pile position X-coordinate sequence and the new total bridge length.
[0043] The total bridge length is then passed to subsequent algorithm modules such as the longitudinal segmentation of Bailey panels in the superstructure, the longitudinal arrangement of distribution beams, the longitudinal segmentation of small longitudinal beams, and the longitudinal segmentation of the bridge deck.
[0044] 4. Adaptive arrangement of non-uniform spacing of Bailey panels Based on the Bailey bridge segment spacing list string and the Bailey bridge segment starting edge distance parameter read by S2, the algorithm parses the spacing string using a PythonScript node and automatically calculates the lateral Y-coordinate of each Bailey bridge segment. The algorithm determines the lateral starting position of the first Bailey bridge segment based on the main beam length and the starting edge distance, and then sequentially traverses the spacing sequence, accumulating the positions to generate the lateral positions of subsequent Bailey bridge segments. This achieves non-uniform lateral arrangement of Bailey bridge segments under arbitrary spacing combinations. The length of the spacing sequence determines the automatic inference of the number of lateral Bailey bridge segments.
[0045] 5. Intelligent space avoidance generation for scissor bracing The intelligent obstacle avoidance generation algorithm for scissor braces is implemented through a script. Let the list of longitudinal X-coordinates of all pile rows be the pile row coordinate sequence, and the list of transverse Y-coordinates of each steel pipe pile within the same row be the pile Y sequence, already arranged in ascending order; the elevation of the upper endpoint connecting the diagonal brace to the pile wall is denoted as Zupper, and the elevation of the lower endpoint is denoted as Zlower; the outer diameter of the steel pipe pile is denoted as D, and its radius r = D / 2. To generate a pair of diagonal braces between adjacent steel pipe piles and avoid entity collisions, firstly, an endpoint shrinkage function is defined. For a given original starting point P1(x1, y1, z1) and ending point P2(x2, y2, z2), the direction vector from P1 to P2 and its length L are calculated. If L is less than 2r, it indicates insufficient pile spacing, and a null value is returned directly; otherwise, the direction vector is divided by its length to obtain a unit direction vector, and the starting point is translated a distance r along the unit vector direction to obtain the shrunken starting point P1', and the ending point is translated a distance r in the opposite direction of the unit vector to obtain the shrunken ending point P2', thus ensuring that the end of the diagonal line is exactly located on the pile wall surface.
[0046] Based on this, a longitudinal offset parameter δ (usually taken as half the width of the channel steel flange) is introduced to generate two diagonal brace positioning lines for each pair of adjacent piles (yj, yj+1): the first line is located on the pile center plane X = xk + δ side, starting from P1'(xk+δ,yj, Z down) and ending at P2'(xk+δ, yj+1, Z up), forming a diagonal brace from bottom to top; the second line is located on the pile center plane X = xk - δ side, starting from P1'(xk-δ, yj, Z up) and ending at P2'(xk-δ, yj+1, Z down), forming a diagonal brace from top to bottom. The two diagonal braces are 2δ apart longitudinally, achieving a spatially staggered arrangement and effectively avoiding physical interference. In addition, by adjusting the sign of the longitudinal offset parameter δ (taking a positive or negative value), the back-to-back contact direction can be quickly switched. By iterating through the X coordinates of all pile rows and the adjacent pile pairs within each row, and repeating the above process, a list of positioning lines for the scissor bracing of the entire bridge can be generated.
[0047] 6. Automatic generation of distribution beams and minor longitudinal beams Based on the new total bridge length generated in S3, the outermost transverse position of the Bailey bridge segment generated in S4, and the parameters of the distribution beams and longitudinal beams read in S2, the transverse start and end points and longitudinal arrangement positions of the distribution beams are automatically calculated. The distribution beams start from the edge of the outermost Bailey bridge segment and extend to the length specified by the user. The longitudinal beams start from the starting point of the distribution beams and are evenly arranged transversely at a set spacing, covering the entire width of the bridge deck.
[0048] 7. Adaptive arrangement of standard and irregular bridge deck panels. Based on the standard length and width parameters of the bridge deck read by S2 and the bridge deck width, the system automatically determines the number of standard decks and whether irregularly shaped decks are needed by identifying nodes. Longitudinally, the bridge deck is segmented according to the standard length, with the last segment automatically shortened based on the remaining length. Laterally, the decks are arranged sequentially according to the standard width; when the remaining width is less than the standard width, an irregularly shaped bridge deck is automatically generated. A prefix sum algorithm is used to calculate the center coordinates of each bridge deck to ensure a tight arrangement between the decks.
[0049] 8. Batch placement of components and automatic parameter assignment Using Dynamo nodes, the positioning data of each component generated from S3 to S7 are batch placed into Revit model instances. For conventional model family components (such as steel pipe piles, Bailey panels, and bridge decks), the point-to-point placement method is used; for system structural frame family components (such as main beams, distribution beams, secondary longitudinal beams, and scissor braces), the line-to-line placement method is used. After placement, the dimensional parameters of each instance can be modified in batches via nodes.
[0050] 9. Detailed schedule generated automatically After the model is generated, the Revit API (a series of namespaces and libraries provided by Revit) is called via a Python Script node to automatically create or update multi-category schedules (the schedules are generated simultaneously with the model's automatic generation, such as...). Figure 9 (As shown). The program automatically adds fields such as "family and type", "length", and "volume", and automatically compiles key information of all conventional model components and structural frame components in the project into a detailed table, realizing the synchronous output of model and engineering quantities.
[0051] The implementation process of the present invention will be described in detail below with reference to the embodiments.
[0052] Example 1: Excel Parameter Input and Automatic Validation like Figure 2 As shown, users fill in all the parameters of the upper-bearing steel temporary bridge in a standardized Excel spreadsheet. The "Bailey bridge segment spacing list" is formatted as a comma-separated string of unequal-spaced numerical values, such as "900,450,600,600,900,1200,1500,600,900". The number of values in this string determines the number of Bailey bridge segments laterally (number of segments = number of spacings + 1), and users do not need to input the number of segments separately.
[0053] In the Dynamo environment, the Excel file is read using nodes, the corresponding worksheet name is set, and after reading, the node is transposed to extract the parameter values by row index.
[0054] For key parameters such as the Bailey tile spacing list, automatic validation is performed using a Python Script node: parsing the spacing string and counting the number of spacings. If the number of spacings does not match the expectation (i.e., the logical relationship with the number of horizontal tiles minus one does not hold), the program outputs an empty list. Subsequent node generation for all components that depend on this list will fail to generate instances, thus preventing the creation of incorrect models.
[0055] Example 2: Intelligent Interpolation of Braking Pier Pile Positions like Figure 3As shown, the dynamic pile position generation algorithm is implemented using Python Script nodes. The standard span is set to L = 9000mm, the total number of standard spans N = 4, the number of braking pier intervals I = 2, and the braking pier span B = 3000mm. The algorithm initializes the pile position list pileX = [0], and the current position variable current = 0. The loop i is iterated from 0 to N-1: in each iteration, current is incremented by L, and current is added to pileX; when (i+1) divided by I has a remainder of 0 and (i+1) is not equal to N, current is incremented by B, and current is added to pileX. The final output pileX sequence is [0, 9000, 12000, 21000, 24000, 33000] and the new total bridge length is 33000mm.
[0056] The total bridge length is then passed to subsequent algorithm modules such as the longitudinal segmentation of Bailey panels in the superstructure, the longitudinal arrangement of distribution beams, the longitudinal segmentation of small longitudinal beams, and the longitudinal segmentation of the bridge deck.
[0057] Example of a pile location and braking pier generation algorithm: Step 1: current = current + L → Accumulate a standard span to generate standard pile positions. Step 2: Add current to pileX → Record the position of this row of standard stakes. Step 3: Determine if it is necessary to insert a short span of the braking pier: Condition: (i+1) % I == 0 and (i+1) != N If the following conditions are met: current = current + B → Accumulate the short span length of the braking pier Add current to pileX → Record the pile position at the end of the short span of the braking pier. Where: L is the standard span, N is the number of standard spans, I is the brake pier spacing, and B is the brake pier span; (i+1): Represents the number of standard spans that have been completed so far; (i+1) % I == 0: This indicates that the number of standard spans completed is an integer multiple of I, meaning the brake pier setting position has been reached; (i+1) != N: Ensure that no short span of the braking pier is inserted after the last span.
[0058] Example 3: Adaptive Arrangement of Non-uniform Spacing Bailey Panels The Bailey bridge panel transverse arrangement algorithm is implemented using a Python Script node. It reads the main beam length L_main (e.g., 10000mm), the starting edge distance (e.g., 500mm), and the spacing string "900,450,100,100,100,100,100,100,100,100,100,100,100,100,100".
[0059] The algorithm first parses the spacing string using `split(',')` to obtain a spacing list [900, 450, 100, ..., 100]. Then, it calculates the starting Y-coordinate (-L_main / 2 + starting edge distance) and iterates through the spacing sequence to accumulate and generate the Y-coordinate sequence for the center of each Bailey panel. For example, the output is [-4500, -3600, -3150, -3050, ..., -2050], with a total of 14 Y-coordinate values (corresponding to 14 Bailey panels). The number of panels is automatically deduced from the length of the spacing sequence, requiring no additional input from the user.
[0060] like Figure 4 As shown, an example of an adaptive arrangement algorithm for the lateral spacing of Bailey panels is presented: Input: Spacing string S, main beam length L, starting edge distance m Step 1: Analyze S → Spacing sequence {d1, d2, ..., d n} Step 2: n = len({d1, d2, ..., d n}) → Number of spacings Step 3: Number of slices = n + 1 → Automatically infer the number of slices Step 4: y1 = -L / 2 + m → Calculate the initial Y coordinate Step 5: for i = 1 to n: Y i+1 = y i + d i → Step-by-step recursion Output {y1, y2, ..., y} n ₊1} → List of Y coordinates for all Bailey pieces.
[0061] in: Let the total transverse length of the main beam be L (unit: mm); The initial edge distance is m (unit: mm), which represents the distance from the center of the first Bailey panel to the end of the main beam; The spacing string is S, formatted as a comma-separated sequence of numbers, such as "900,450,1200,...,900". The j-th spacing value after parsing is denoted as dj (unit: mm), where j = 1, 2,...,...; n=1,2,..., where n is the number of spacings, which is automatically determined by the spacing string S after being separated by commas; Let yi (in mm) be the horizontal Y-coordinate of the center of the i-th Bailey piece, i = 1, 2, ..., ; The total number of Bailey pieces is automatically deduced from the number of spacings n, i.e., the number of pieces = n+1 = +1.
[0062] Example 4: Adaptive arrangement of standard and irregular bridge deck panels like Figure 5 and Figure 6 As shown, the bridge deck layout algorithm is implemented using Python Script nodes.
[0063] Longitudinal Layout: Read the standard slab length (e.g., 6000mm) and total bridge length. Calculate the number of longitudinal sections = Ceiling(total bridge length / standard slab length). Generate the starting point X-coordinate sequence and ending point X-coordinate sequence for each section, where the ending point of the last section is calculated as Math.Min(starting point + standard slab length, total bridge length) to achieve automatic shortening.
[0064] Lateral Layout: Read the standard slab width (e.g., 1500mm) and bridge deck width. Calculate the number of slabs = Floor(bridge deck width / standard slab width), and calculate the remaining width = bridge deck width - number of slabs × standard slab width. If the remaining width > 0, the slab width list is the standard slab width repeating list plus the remaining width value; if the remaining width = 0, the slab width list is all standard slab widths.
[0065] The left edge position of each panel is calculated using a prefix sum algorithm, thereby determining the center coordinates of each panel. The Cartesian product of the longitudinal segments and the transverse panel widths is then combined to generate the placement points and corresponding length and width data for all bridge panels.
[0066] Example 5: Batch placement of components and automatic generation of detailed lists For conventional model family components such as steel pipe piles, Bailey bridge panels, and bridge decks, they are placed in batches through nodes; for scissor bracing (such as...), ... Figure 7 As shown), main beam / distribution beam / minor longitudinal beam (such as...) Figure 8 The system structural frame components (as shown) are placed along lines using nodes. After placement, the dimensional parameters (such as pile diameter, pile length, length, width, etc.) of each instance can be modified in batches via nodes. The connection method of all parameter-setting nodes is set to "longest".
[0067] Once the model is generated, the Revit API is called via a Python Script node to automatically create multi-category schedules, adding "Family & Type," "Length," and "Volume" fields. The program first checks if a schedule with the same name already exists; if so, it deletes and recreates it to ensure that the latest statistical data is generated with each run. The schedules are automatically associated with all regular model components and structural frame components in the project, requiring no manual user intervention.
[0068] Example 6: One-click generation of the entire bridge In summary, after the user enters all parameters into the Excel spreadsheet and starts the Dynamo program, the program executes the following sequentially: Read and parse Excel parameters to complete data validation; Dynamically generate the X-coordinate sequence of pile locations and the total bridge length; Generate a sequence of pile Y-coordinates (based on pile spacing and pile edge distance), combine them to generate three-dimensional pile locations, and batch place steel pipe piles; Generate the main beam, Bailey panels, scissor braces, horizontal bracing, and other lower and connecting components; Generate upper components such as distribution beams and small longitudinal beams; Generate bridge deck panels (including standard panels and irregularly shaped panels); Generate multi-layered railings and handrails; Automatically create multi-category detail tables (such as...) Figure 9 (As shown).
[0069] The entire process takes approximately 30 seconds, and the generated model (such as...) Figure 10 (As shown) It includes all components and their spatial positions are accurate. The detailed list can be directly used for material statistics.
[0070] In summary, the prefabricated steel temporary bridge modeling method based on Revit and Dynamo of this invention realizes parametric modeling of upper-bearing prefabricated steel temporary bridges through a series of innovative algorithms and technical means, improving modeling efficiency and quality, reducing the operation threshold, and has significant technical advantages and application value.
[0071] The above embodiments can be implemented, in whole or in part, by software, hardware (such as circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.
[0072] It should be understood that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. A and B can be singular or plural. Additionally, the character " / " in this article generally indicates an "or" relationship between the preceding and following related objects, but it can also represent an "and / or" relationship. Please refer to the context for a more accurate understanding.
[0073] In this invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be a single item or multiple items.
[0074] It should be understood that, in various embodiments of the present invention, the order of the above-mentioned process numbers does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0075] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0076] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0077] In the several embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0078] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0079] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0080] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0081] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A modeling method for prefabricated steel temporary bridges based on Revit and Dynamo, characterized in that, Includes the following steps: S1. Establish a standardized Excel parameter input template and predefine all key parameters of the upper-bearing prefabricated steel temporary bridge in the Excel spreadsheet; S2. In the Dynamo environment, the data in the Excel parameter input template is read through the built-in node, and the parameters are assigned to the corresponding algorithm modules using index mapping; S3. Based on the read standard span, total number of standard spans and braking pier parameters, execute the dynamic pile position generation algorithm through the Python Script node to generate the updated pile position X coordinate sequence and the new total bridge length; S4. Based on the Bailey panel spacing list string and the Bailey panel starting edge distance parameter read, execute the Bailey panel non-uniform spacing adaptive arrangement algorithm through the Python Script node to automatically calculate the horizontal Y coordinate of each Bailey panel; S5. Execute the scissor brace space intelligent avoidance generation algorithm through the Python Script node to generate a list of positioning lines for the full bridge scissor brace; S6. Based on the generated new total bridge length, the outermost transverse position of the Bailey bridge section, and the read parameters of the distribution beam and the small longitudinal beam, automatically calculate the transverse start and end point positions and longitudinal arrangement positions of the distribution beam, as well as the transverse arrangement positions of the small longitudinal beam. S7. Based on the read standard length and width parameters of the bridge deck and the bridge deck width, execute the adaptive arrangement algorithm of standard and irregular bridge deck panels through nodes to automatically calculate the center coordinates and actual size of each bridge deck panel. S8. Using Dynamo nodes, batch place the positioning data of each component generated in the above steps into Revit model instances, and batch modify the size parameters of each instance. S9. After the model is generated, the Revit API is called through the Python Script node to automatically create or update multi-category schedules, achieving synchronous output of the model and quantities.
2. The modeling method for prefabricated steel temporary bridges based on Revit and Dynamo according to claim 1, characterized in that, The key parameters mentioned in step S1 include at least one of the following: total number of standard spans, single span diameter, bridge deck width, diameter and length of steel pipe piles, pile spacing and pile edge distance, main beam model, Bailey panel model, Bailey panel spacing list, distribution beam model, distribution beam length and end distance, longitudinal spacing of distribution beams, small longitudinal beam model and spacing, standard length of small longitudinal beams, bridge deck model, standard length and standard width of bridge deck, number of spans between braking piers and braking pier span, scissor bracing model, longitudinal staggered distance of scissor bracing, railing parameters or edge distance parameters of each component.
3. The method for modeling prefabricated steel temporary bridges based on Revit and Dynamo according to claim 1, characterized in that, The execution process of the dynamic pile position generation algorithm in step S3 is as follows: initialize the pile position list, and generate each row of pile positions by sequentially accumulating the standard span starting from the initial pile position; when traversing to the position of the brake pier, automatically insert a short span pile position of the brake pier between the standard pile positions. The length of the short span is determined by the brake pier span parameter, and at the same time, shift the X coordinate of the subsequent pile positions to the back by the corresponding distance.
4. The modeling method for prefabricated steel temporary bridges based on Revit and Dynamo according to claim 1, characterized in that, The execution process of the non-uniform spacing adaptive arrangement algorithm of Bailey panels in step S4 is as follows: parse the Bailey panel spacing list string to obtain the spacing sequence, determine the lateral starting position of the first Bailey panel according to the main beam length and the starting edge distance, and sequentially traverse the spacing sequence to generate the lateral positions of subsequent Bailey panels. The lateral number of Bailey panels is automatically inferred from the length of the spacing sequence.
5. The method for modeling prefabricated steel temporary bridges based on Revit and Dynamo according to claim 1, characterized in that, The execution process of the scissor brace space intelligent avoidance generation algorithm described in step S5 is as follows: Define an endpoint shrinkage function, which shrinks the endpoint of the scissor brace inward by the corresponding radius distance along the connection direction according to the outer diameter of the steel pipe pile, so that the end of the scissor brace is exactly located on the surface of the pile wall. By introducing a longitudinal offset parameter δ, two diagonal bracing positioning lines are generated for each pair of adjacent piles, located on the +δ side and -δ side of the pile center plane respectively. The two diagonal bracing lines are 2δ apart in the longitudinal direction to achieve spatial offset arrangement.
6. The modeling method for prefabricated steel temporary bridges based on Revit and Dynamo according to claim 1, characterized in that, The execution process of the adaptive arrangement algorithm for standard and irregular bridge deck panels described in step S7 is as follows: The longitudinal section is divided into segments according to the standard length, and the last segment is automatically shortened based on the remaining length. The horizontal sections are arranged sequentially according to the standard width. When the remaining width is less than the standard width, an irregularly shaped bridge deck is automatically generated. The center coordinates of each bridge panel are calculated using a prefix sum algorithm to ensure that the panels are closely arranged.
7. The modeling method for prefabricated steel temporary bridges based on Revit and Dynamo according to claim 1, characterized in that, The batch placement method for components in step S8 is as follows: for steel pipe piles, Bailey panels, and bridge deck conventional model family components, point placement method is used; for main beams, distribution beams, small longitudinal beams, and scissor bracing system structural frame family components, line placement method is used.
8. The modeling method for prefabricated steel temporary bridges based on Revit and Dynamo according to claim 1, characterized in that, In step S9, the multi-category detail table automatically adds "family and type", "length" and "volume" fields, and automatically counts the key information of all regular model components and structural frame components in the project; the program first checks whether there is a detail table with the same name, and if so, deletes it and recreates it.
9. The method for modeling prefabricated steel temporary bridges based on Revit and Dynamo according to claim 1, characterized in that, In step S2, after reading the Excel parameters, the list of Bailey bridge segment spacings is automatically validated using a Python Script node. If the parameters do not conform to the logical relationship, an empty list is output, terminating the subsequent component generation process.
Citation Information
Patent Citations
Method for dynamically optimizing pile body construction sequence of water sinking pile
CN120671256A
Wharf pile sinking construction method under complex obstacle environment
CN121118224A