A rock wall crane beam and a suspended ceiling support beam model construction method and system
By generating elevation grids and calculating 3D insertion points, batch creation of structural column entities, drawing beam cross-sections and calculating paths, the problem of low modeling efficiency and insufficient accuracy in the design of rock wall crane beams and ceiling support beams in water conservancy projects is solved, realizing parametric and automated modeling and adapting to the dynamic design needs of underground powerhouses.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- POWERCHINA BEIJING ENG CORP
- Filing Date
- 2026-01-15
- Publication Date
- 2026-07-10
AI Technical Summary
Existing 3D design platforms suffer from problems such as low modeling efficiency, insufficient accuracy, weak component positioning and grid compatibility, lack of dynamic model correlation, and insufficient support from professional family libraries in the design of rock wall crane beams and ceiling support beams in water conservancy projects, making it difficult to meet the dynamic design requirements of underground powerhouses.
By acquiring design parameters, an elevation grid adapted to the layout of the underground plant is generated, the 3D insertion points of the structural columns are calculated, structural column entities are created in batches, the beam cross-section outline is drawn and the 3D path is calculated, and a 3D structural model of the rock wall crane beam and the ceiling support beam is generated, thus realizing parametric automated modeling.
It improves modeling accuracy and efficiency, ensures the consistency of design results, supports dynamic updates of design parameters, and adapts to the dynamic optimization design needs of underground powerhouses.
Smart Images

Figure CN121902269B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of digital technology of hydraulic and hydropower engineering structures, specifically relating to a method and system for constructing models of rock wall crane beams and ceiling support beams. Background Technology
[0002] In the design of underground powerhouses for pumped storage power stations, large-scale water conservancy projects, rock wall crane beams and ceiling support beams are core load-bearing components that support the hoisting operations of the powerhouse and ensure the stability of the top structure. Their structural forms need to be adapted to the type of surrounding rock, geological conditions and unit layout of the underground cavern, and they have significant characteristics such as high degree of irregularity, complex spatial relationships and frequent dynamic adjustments of design parameters.
[0003] In traditional design fields, such components are generally designed using two-dimensional CAD methods: structural forms are expressed by drawing plan, elevation, and cross-sectional drawings, relying on designers to manually link multiple view data to reconstruct three-dimensional relationships. However, because rock wall crane beams often include irregular details such as secondary concrete, cantilever sections, and drainage ditches, and the ceiling support beams need to match the arch curve and equipment installation requirements, two-dimensional design has inherent limitations: it is not only difficult to intuitively present the spatial coupling relationship between the component and the surrounding rock and the unit, making it difficult for designers to fully grasp the structural rationality, but also requires manual redrawing of all related drawings when adjusting parameters. For example, after increasing or decreasing the number of units or modifying the beam cross-section dimensions, the entire process of axis positioning and column-beam connection relationships needs to be reworked, which is inefficient and prone to errors due to manual operation. With the development of digital design technology, the engineering field is gradually transforming towards three-dimensional design. Mainstream three-dimensional platforms such as Revit have been widely used in general fields such as building construction and mechanical manufacturing, but for the design of rock wall crane beams and ceiling support beams in underground powerhouses of water conservancy projects, existing technologies still have many adaptability defects:
[0004] (1) Insufficient modeling efficiency and accuracy: The existing Revit platform lacks dedicated modeling logic for this type of irregular component. Designers need to manually draw the cross-sectional outline and locate the spatial path, making it difficult to automatically generate the model based on the design parameters. Furthermore, there is a lack of parameter-driven mechanisms for professional details such as the secondary concrete of the rock wall crane beam, anchor positioning, and drainage ditch structure of the ceiling support beam, resulting in a long modeling cycle and accuracy that depends on manual experience.
[0005] (2) Weak compatibility of component positioning and grid: The grid of the underground powerhouse needs to match the personalized parameters such as unit layout and installation site length. The general grid tool of the existing three-dimensional platform cannot automatically associate with the layout rules of the hydraulic engineering powerhouse, and the axis coordinates need to be calculated manually. The arrangement of structural columns needs to match the differentiated requirements such as unit association, uniform distribution, and installation site exclusive. The existing technology lacks classification and positioning logic and relies on manual placement, which is prone to point deviation.
[0006] (3) Lack of dynamic correlation of model: Due to the lack of linkage mechanism between parameters and model, when design conditions change, the grid, column position and beam shape cannot be automatically updated synchronously, and remodeling or manual adjustment is required, resulting in a long design iteration cycle and difficulty in adapting to the design requirements of dynamic optimization of underground powerhouse.
[0007] (4) Insufficient support from professional family libraries: The existing 3D platform's component family library is mostly geared towards general building structures. There is a lack of families for irregular cross sections of rock wall crane beams and ceiling support beams, as well as families for special structural columns. Designers need to create family files themselves, which not only increases the workload of preliminary preparation, but also makes it difficult to standardize family parameter settings, resulting in poor model compatibility between different projects and different designers, which restricts the efficiency of team collaboration.
[0008] In view of this, the present invention is hereby proposed. Summary of the Invention
[0009] In order to solve the above-mentioned technical problems in the prior art, the present invention provides a method and system for constructing models of rock wall crane beams and ceiling support beams, which solves the problems of insufficient adaptability of existing three-dimensional design platforms to irregular structures of water conservancy projects, low modeling efficiency, and difficulty in dynamic adjustment.
[0010] To achieve the above objectives, the technical solution of the present invention is as follows:
[0011] Firstly, a method for constructing a model of a rock wall crane beam and a ceiling support beam includes:
[0012] S1. Obtain design parameters, including elevation grid parameters and structural model parameters;
[0013] S2. Based on the elevation grid parameters, generate an elevation grid adapted to the layout of the underground plant;
[0014] S3. Based on the structural model parameters and the elevation grid parameters, calculate the three-dimensional insertion points of the structural columns and create structural column entities in batches.
[0015] S4. Based on the structural model parameters and the elevation grid parameters, draw the cross-sectional outline of the beam, calculate the three-dimensional path of the beam, generate the beam entity through lofting and fusion, and instantiate it.
[0016] S5. Based on the structural column entity and beam entity, output the three-dimensional structural model of the rock wall crane beam and the ceiling support beam.
[0017] Furthermore, the elevation grid parameters specifically include: installation location, number of units, width of structural joint between units, width of sprayed layer in the plant, span of the top arch, span of the plant, length of the main unit room, length of the installation site, spacing between the center lines of the units, offset distance of the center line of the plant, distance between the center line of the unit and the edge of the unit, distance between the center line of the unit and the side wall of the auxiliary plant, generator floor elevation, rail top elevation, and arch elevation;
[0018] The structural model parameters specifically include: structural column size parameters, installation column size, rock wall crane beam cross-section parameters, secondary concrete parameters, drainage ditch parameters, track positioning parameters, anchor bolt position parameters, beam bottom elevation, inclination angle parameters, and ceiling support beam cross-section parameters.
[0019] Furthermore, the specific process of generating the elevation grid in step S2 includes:
[0020] Convert the generator floor elevation, rail top elevation, and camber elevation from meters to Revit internal units, and create corresponding plan views and elevations;
[0021] Calculate the longitudinal axis position: Take the project base point or the origin of the internal coordinate system as the starting point and determine the starting axis position corresponding to the center line of the first unit. Calculate the axis position of the center lines of subsequent units by accumulating the number of units and the distance between their center lines. Calculate the axis position at the end of the main unit's inter-unit axis by combining the distance between the unit's center line and the unit's edge. Calculate the starting axis position of the installation site by superimposing the width of the structural joint between units. Finally, calculate the axis position at the end of the installation site by combining the length of the installation site.
[0022] Calculate the position of the transverse axis: Based on the project base point or the origin of the internal coordinate system, determine the position of the plant centerline by combining the longitudinal axis of the unit and the offset distance. Based on the plant centerline, offset by half of the plant span to both sides to obtain the positions of the upstream and downstream sidewall axes respectively.
[0023] The longitudinal axis position and the transverse axis position are combined to form an orthogonal grid, and the calculated two endpoints are offset outward by ten meters to form the final elevation grid.
[0024] Furthermore, the position of the longitudinal axis is calculated using the following formula:
[0025]
[0026]
[0027] The coordinates of the axis at the end of the main unit = the coordinates of the centerline of the last unit + the distance between the unit's centerline and the unit's edge.
[0028]
[0029]
[0030] The specific formula for calculating the position of the horizontal axis is as follows:
[0031]
[0032]
[0033]
[0034] A grid is generated based on the longitudinal and transverse axis coordinates, and the transverse and longitudinal grids are offset outward by a preset distance.
[0035] Furthermore, the specific process of creating a structural column entity includes:
[0036] Calculate the three-dimensional coordinates of columns Z1, Z2, and the installation bay column respectively. Match the corresponding column family type according to the structural column size parameters and create column elements based on the three-dimensional coordinates and elevation information.
[0037] The specific process of generating the beam entity includes: drawing the cross-sectional outlines of the rock wall crane beam and the ceiling support beam according to the structural model parameters, generating a three-dimensional path line by combining the grid information, and generating the beam entity through lofting and fusion.
[0038] Furthermore, in step S3, the batch creation of structural column entities specifically includes:
[0039] Based on the dimensions of the structural columns, match the corresponding structural column family type in the Revit platform, and create structural column entities in batches according to the 3D insertion points of the structural columns and the elevations generated in step S2.
[0040] Furthermore, step S4, drawing the cross-sectional profile of the beam, specifically includes:
[0041] Using the leftmost point of the bottom of the rock wall crane beam as the origin, draw the main outline of the rock wall crane beam by combining the cross-sectional height, top surface width, cantilever width, rock wall angle, lower inclination angle, and upper inclination angle of the rock wall crane beam;
[0042] Draw the outline of the second-stage concrete for the rock wall crane beam, taking into account the height and width of the second-stage concrete.
[0043] Draw the outline of the rock wall crane beam drainage ditch by combining the height of the beam top from the bottom of the drainage ditch and the width of the drainage ditch;
[0044] Using the central reference plane as the axis, the main outline, the secondary concrete outline, and the drainage ditch outline are mirrored to form the complete cross-sectional outline of the rock wall crane beam.
[0045] Using the leftmost point of the bottom of the ceiling support beam as the origin, draw the main outline of the ceiling support beam in combination with the height, width, and downward inclination angle of the ceiling support beam;
[0046] Draw the outline of the ceiling support beam and drainage ditch by combining the height of the beam top from the bottom of the drainage ditch and the width of the drainage ditch.
[0047] Using the central reference plane as an axis, the main outline and drainage ditch outline are mirrored to form the complete cross-sectional outline of the ceiling support beam.
[0048] Furthermore, in step S4, calculating the three-dimensional path of the beam specifically includes:
[0049] Based on the elevation grid generated in step S2, the spatial coordinates corresponding to the unit layout and plant boundary of the underground powerhouse are extracted, and two three-dimensional path lines adapted to the beam orientation are generated.
[0050] Furthermore, in step S4, generating and instantiating the beam entity specifically includes:
[0051] Using the two three-dimensional path lines as the fusion path and the corresponding complete cross-sectional outline of the beam as the solid outline, the three-dimensional solid of the beam is generated through the Revit lofting and fusion function, and the spatial position of the three-dimensional solid of the beam is controlled according to the bottom elevation parameter of the beam.
[0052] Secondly, a model construction system for rock wall crane beams and ceiling support beams, applied to the rock wall crane beam and ceiling support beam model construction method described in any of the preceding claims, includes:
[0053] The parameter acquisition module is used to acquire design parameters, including at least elevation grid parameters and structural model parameters. The elevation grid parameters are used to locate the spatial layout of the factory building, and the structural model parameters are used to construct the structural entity.
[0054] The grid generation module is used to generate an elevation grid adapted to the layout of the underground plant based on the elevation grid parameters.
[0055] The structural column modeling module is used to calculate the three-dimensional insertion points of structural columns based on the structural model parameters and the elevation grid parameters, and to create structural column entities in batches.
[0056] The beam modeling module is used to draw the cross-sectional outline of the beam, calculate the three-dimensional path of the beam, generate the beam entity through lofting and fusion, and instantiate it.
[0057] Model output module: used to integrate the structural column entity and the beam entity, and output the three-dimensional structural model of the rock wall crane beam, the ceiling support beam and the structural column.
[0058] Compared with existing technologies, the present invention provides a method and system for constructing models of rock wall crane beams and ceiling support beams. The method includes: acquiring design parameters including elevation grid parameters and structural model parameters; generating an elevation grid adapted to the layout of the underground plant based on the elevation grid parameters; calculating the three-dimensional points of structural columns and creating entities in batches by combining structural model parameters and elevation grid; drawing the beam cross-sectional outline, calculating the three-dimensional path, generating and instantiating beam entities through lofting and fusion; integrating components to output a three-dimensional structural model; the system includes modules for parameter acquisition, grid generation, structural column modeling, beam modeling, and model output; the present invention realizes parameterized and automated modeling of complex structures, supports dynamic updates of design parameters, improves modeling accuracy and efficiency, and ensures the consistency of design results. Attached Figure Description
[0059] Figure 1 A flowchart illustrating the method for constructing a model of a rock wall crane beam and a ceiling support beam, as provided in an embodiment of the present invention. Detailed Implementation
[0060] The technical solution of the present invention will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are not all embodiments of the present invention. All other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the present invention.
[0061] It should be noted that, unless otherwise specifically stated, the relative arrangement and numerical expressions of the components and steps described in these embodiments should not be construed as limiting the scope of the invention.
[0062] The following description of exemplary embodiments is merely illustrative and is not intended to limit the invention or its application or use in any way. Techniques, methods, and apparatus known to those skilled in the art may not be discussed in detail herein, but where applicable, such techniques, methods, and apparatus should be considered part of this specification.
[0063] Example 1
[0064] See Figure 1 , Figure 1 This is a flowchart of a method for constructing a model of a rock wall crane beam and a ceiling support beam proposed in this invention. Specific steps may include:
[0065] S1. Obtain design parameters, including elevation grid parameters and structural model parameters;
[0066] The specific parameters of the elevation grid include: the location of the installation room ( ), number of generating units ( ), width of structural joint between units ( ), width of the spray layer in the factory ( ), top arch span ( ), factory span ( ), host-to-host length ( ), Installation site length ( ), Unit centerline spacing (DistanceParameter1), Plant centerline offset distance ( ), Distance between the unit centerline and the unit edge ( ), distance between the unit centerline and the side wall of the auxiliary plant ( ), generator floor elevation ( ), rail top elevation ( ) and arch elevation ( );
[0067] The structural model parameters specifically include: structural column size parameters, installation column size, rock wall crane beam section parameters, secondary concrete parameters, drainage ditch parameters, track positioning parameters, anchor bolt position parameters, beam bottom elevation parameters, inclination angle parameters, and ceiling support beam section parameters;
[0068] The structural column dimensions include: structural column Z1 dimension, structural column Z2 dimension, and installation interval column dimension (SelectColumnInst).
[0069] The cross-sectional parameters of the rock wall crane beam include: rock wall crane beam cross-sectional height YBDCL_H, rock wall crane beam top surface width YBDCL_B, rock wall crane beam cantilever width YBDCL_b2, downslope angle YBDCL_Beta, rock wall angle YBDCL_RockWallAngle, and upslope angle YBDCL_Alpha.
[0070] The second-phase concrete parameters for the rock wall crane beam include: second-phase concrete height YBDCL_h1 and second-phase concrete width YBDCL_b1;
[0071] The parameters for the drainage ditch of the rock wall crane beam include: the width of the drainage ditch YBDCL_b3, and the height from the top of the beam to the bottom of the drainage ditch YBDCL_h2.
[0072] The positioning parameters for the rock wall crane beam track include: the distance from the track centerline to the edge, YBDCL_b4;
[0073] The anchor bolt position parameters for the rock wall crane beam include: the distance from the top of the first row of anchor bolts to the beam top YBDCL_h3, the distance between the first row of anchor bolts and the second row YBDCL_h4, and the distance from the bottom of the beam to the compression anchor bolt YBDCL_h5;
[0074] The beam bottom elevation parameter includes: beam bottom elevation YBDCL_ElevationBottom;
[0075] The section parameters of the ceiling support beam include:
[0076] Ceiling support beam width DDZZL_B, ceiling support beam height DDZZL_H, downward inclination angle DDZZL_Angle;
[0077] The parameters of the drainage ditch for the ceiling support beam include: drainage ditch width DDZZL_b1, drainage ditch height DDZZL_h4, and drainage ditch distance from beam edge DDZZL_b2;
[0078] The locations of the anchor rods for the ceiling support beam include: the distance from the top of the first row of anchor rods to the beam top (DDZZL_h2), the distance between the first row of anchor rods and the second row (DDZZL_h3), and the distance from the bottom of the beam to the compression anchor rod (DDZZL_h1).
[0079] The beam bottom elevation parameter includes: Beam bottom elevation DDZZL_ElevationBottom.
[0080] S2. Based on the elevation grid parameters, generate an elevation grid adapted to the layout of the underground plant; specifically including:
[0081] S21. Generate Elevation Grid: First, create elevations representing each floor, then calculate and determine the intersection points of all axes, and finally generate the grid, which includes:
[0082] S211. Convert the generator floor elevation, rail top elevation, and camber elevation from meters to Revit internal units, and create corresponding plan views and elevations. Specifically, for elevation conversion and plan view / elevation creation, convert the three elevation values from meters to Revit internal units (usually feet) according to the elevation parameters, and then create corresponding plan views and elevations using the naming rule of "name + elevation value".
[0083] S212. Calculate the longitudinal axis position: The longitudinal axis is used to define the separation of areas such as generating units and installation sites. Starting from the project base point or the origin of the internal coordinate system, determine the starting axis position corresponding to the centerline of the first generating unit. Calculate the axis positions of subsequent generating unit centerlines by accumulating the distance between the number of generating units and the spacing between their centerlines. Combine the distance between the generating unit centerlines and the unit edge distance to calculate the axis position at the end of the main unit's space. Add the width of the structural joint between generating units to calculate the starting axis position of the installation site. Finally, combine the length of the installation site to calculate the axis position at the end of the installation site. The calculation process includes:
[0084] S2121. Determine the starting point (① axis): Take the project base point or the origin of the internal coordinate system as the initial starting point (0 point). The distance from this starting point to the centerline of the first unit is the parameter: the distance between the unit centerline and the unit edge distance; the specific formula is:
[0085]
[0086] S2122. Other axes in the computer group area: If the number of units (UnitNumber) is 4, the number of axes between the centerlines of the units is UnitNumber-1=3; starting from axis ① (the centerline of the first unit), the spacing between the centerlines of the units is accumulated sequentially to obtain the axis positions of the centerlines of subsequent units, and so on, covering all units; the specific formula is:
[0087]
[0088] S2123. Determine the axis at the end of the main machine room (assuming it is) Axis: From the centerline of the last unit ( The distance to the end wall of the main unit room is The specific formula is as follows:
[0089] The coordinates of the axis at the end of the main unit = the coordinates of the centerline of the last unit + the distance between the unit's centerline and the unit's edge.
[0090] S2124. Calculate the starting axis of the installation site: There is a structural joint between the end wall of the main unit room and the installation site with a width equal to the width of the structural joint between the units. The specific formula is as follows:
[0091]
[0092] S2125. Determine the axis line at the end of the installation site: The length of the installation site is determined by parameters. The definition, and the specific formula, are as follows:
[0093]
[0094] Finally, we obtain the set of coordinates defining the positions of all longitudinal axes. ).
[0095] S213. Calculate the position of the transverse axis: Using the project base point or the origin of the internal coordinate system as a reference, determine the position of the plant centerline by combining the unit's longitudinal axis and offset distance. Using the plant centerline as a reference, offset to both sides by half the plant span to obtain the positions of the upstream and downstream sidewall axes, respectively. The specific formula is:
[0096]
[0097]
[0098]
[0099] Finally, we obtain the set of coordinates defining the positions of all horizontal axes. ).
[0100] S214. Form an orthogonal grid by combining the longitudinal axis and the transverse axis, and offset each of the calculated two endpoints outward by ten meters to form the final elevation grid.
[0101] Specifically, the grid creation and offset are based on the above-mentioned vertical axis coordinate set (UDgridInfos) and horizontal axis coordinate set (LRgridInfos), and the vertical and horizontal grids are created by traversing them respectively; during creation, both the horizontal and vertical grids are offset outward by 10m according to the calculated two endpoints.
[0102] A grid composed of orthogonal horizontal and vertical axes is formed, which accurately reflects the plan layout of the underground plant. Subsequent columns, beams and other components are all positioned according to this grid.
[0103] S3. Based on the structural model parameters and the elevation grid parameters, calculate the three-dimensional insertion points of the structural columns and create structural column entities in batches; specifically including:
[0104] S31. Generating Structural Columns: Calculate the three-dimensional coordinates (XYZ) of various structural columns according to different rules, and then create column elements by combining column dimensions and elevation information; specifically including:
[0105] S311. Calculate the Z1 column position (collectPointsZ1). The Z1 column position is strongly correlated with the unit and its coordinates need to be determined separately for each direction.
[0106] S3111. Determine the longitudinal (Y-direction) position: According to the grid design, column Z1 is divided into upstream and downstream sides; the Y-direction coordinates of the upstream and downstream Z1 columns need to be determined based on the structural column Z1 dimension parameters (SelectColumnZ1), the first axis line above the plant and the first axis line below the plant in the created grid, and the plant spray layer width parameters. )Sure;
[0107] S3112. Determine the lateral (X-direction) position: Based on the number of units in the axis network, divide this total set by unit, and store the results. In this set of sets;
[0108] For example, 4 units, There are four subsets, each corresponding to the column spacing of one unit. Taking the horizontal axis ① as the starting point in the X direction (X=0); specifically including:
[0109] First, iterate through each unit, with the iteration range i ranging from 0 to... "; For the i-th unit currently being traversed, from Obtain the column spacing subset corresponding to the unit (i.e. );
[0110] Set temporary variables Its initial value is the starting X coordinate of the current i-th unit (this starting X coordinate needs to be calculated based on design parameters such as the centerline spacing of the units);
[0111] Next, iterate through each spacing value in the current unit's column spacing subset, with the iteration range j from 0 to "". "; In each iteration, Compared with the current spacing value ( Add them together and update. The value;
[0112] every time After the update, each of these will be Combined with the "Y-coordinate of the upstream side of column Z1" and the "Y-coordinate of the downstream side of column Z1", two planar points (containing X and Y coordinates) are generated, and these two points are added to the set in sequence. middle.
[0113] Through the above steps, the collectionPointsZ1 will store the X and Y coordinates of all Z1 pillars (including upstream and downstream sides) on the plane.
[0114] The Z-direction coordinates (i.e., the column height direction coordinates) of columns S3113 and Z1 are determined by the preset design elevation parameters; by combining each plane point (X coordinate, Y coordinate) stored in the collectionPointsZ1 with the Z-direction coordinate, all three-dimensional points of the structural column Z1 can be obtained.
[0115] S32. Calculate the Z2 column positions (collectPointsZ2). The positioning rules for Z2 columns differ from Z1; they are based on a uniform arrangement of the total number and standard spacing. Specifically, this includes:
[0116] S321. Determine the longitudinal (Y direction) position: The Z2 column is usually arranged on the rock wall crane beam; its Y direction coordinate needs to be determined by referring to another reference axis (such as the center line of the factory building) and combining it with the preset offset.
[0117] S322. Determine the lateral (X-direction) position: Using the outermost axis grid on the installation side as the reference, superimpose the offset distance parameter (Second_L1) to obtain the X coordinate of the first Z2 column. The calculation formula is as follows:
[0118]
[0119] Next, calculate the positions of the remaining Z2 pillars: the number of remaining pillars is " ", from the X coordinate of the first Z2 column ( Starting with the standard spacing parameter (Second_L2), the X coordinates of all subsequent Z2 columns are obtained by sequentially incrementing the parameter. The specific calculation logic is implemented through a loop, and the expression is as follows:
[0120]
[0121] Ultimately, the collectionPointsZ2 set contains the X and Y coordinates of all Z2 pillars on the plan view.
[0122] S323, Z direction: determined by the preset elevation, forming all three-dimensional points of the Z2 column.
[0123] S33. Calculate the location of the column points during installation ( The installation of columns is logically similar to that of a single unit with column Z1, and does not require division by unit.
[0124] S331. Determine the longitudinal (Y direction) position: The longitudinal positioning method is the same as that of column Z1. The Y direction coordinates of the upstream and downstream sides of the column in the installation room are determined by the same reference rules.
[0125] S332. Determine the lateral (X-direction) position: On the upstream side, take the starting axis of the installation space (such as axis ②) as the starting point in the X-direction, and traverse the spacing set. Each time, the current X-coordinate is summed with the spacing values in the set to obtain the X-coordinate of each upstream installed column. Then, this X-coordinate is combined with the upstream Y-coordinate to generate a three-dimensional point and stored in the set. The downstream side uses the same X-direction starting point as the upstream side, and traverses the spacing set. Calculate the X-coordinate of each downstream installation column using the same accumulation method, combine the X-coordinate with the downstream Y-coordinate to generate a three-dimensional point, and store it in a set. ;
[0126] Z direction: determined by the preset elevation, forming all three-dimensional points of the installation columns.
[0127] S333. Based on the point set of the above three types of columns, begin creating solid columns in Revit, specifically including:
[0128] S3331. Obtain Family and Type: Find the corresponding column family type in the Revit project based on the size parameters (SelectColumnZ1, etc.);
[0129] S3332. Specify elevation: Determine the bottom and top elevations of each type of column;
[0130] S3333, Loop Creation: Iterate through collectPointsZ1: At each point, create a column using the family type of Z1. Iterate through collectPointsZ2: At each point, create a column using the family type of Z2. and At each point, create a column using the family type of the installation column;
[0131] S3333, Apply Offset: When creating a column, the calculated planar point position (X,Y) and possible Z-direction offset value are assigned to the column to ensure its accurate positioning.
[0132] S4. Based on the structural model parameters and the elevation grid, draw the cross-sectional outline of the beam, calculate the 3D path of the beam, generate the beam entity through lofting and fusion, and instantiate it; specifically including:
[0133] S41. Generating Rock Wall Crane Beams: The core idea is to use parameters to drive the contour and the path to determine the position. Specifically, this includes:
[0134] S411. Select Family Template: Create a new file named "Metric Conventional Model.rft" as the family creation template for the rock wall crane beam;
[0135] S412. Draw the section profile (CurveArrArray): Using the lower left corner of the beam as the drawing origin (0,0), draw vertical and horizontal reference planes, and associate the reference planes with family parameters through dimensioning to realize the parameter-driven profile. First, draw the main outline of the left beam (CurveArrArraycurveArrays1): Starting from the origin (0,0) (corresponding to the leftmost point of the beam bottom), draw a diagonal line downwards to the right (the angle is determined by the upper diagonal angle YBDCL_Alpha), then draw a horizontal line to the right (length = width parameter YBDCL_B of the top surface of the rock wall crane beam), and draw a vertical line downwards (height = height parameter YBDCL_H of the rock wall crane beam section and lower diagonal angle YBDCL_Beta). Calculate point 1 using trigonometric functions, and draw a diagonal line downwards to the left from point 1 (the angle is determined by the lower diagonal angle YBDCL_Beta) to determine point 2 (the intersection of the two diagonal lines at the bottom of the beam). Connect point 1 and point 2. Calculate point 3 (located below the starting point in the Y-axis direction) using trigonometric functions based on (rock wall crane beam cantilever width parameter YBDCL_b2, rock wall angle YBDCL_RockWallAngle). Connect point 2 and point 3, and then draw a vertical line upwards to intersect the diagonal line of the rock wall angle starting from the origin, forming a closed outline.
[0136] S413. Draw the second-phase concrete section: Starting from the upper right corner of the beam, draw a vertical line upward (height = second-phase concrete height parameter YBDCL_h1), draw a horizontal line to the left (length = second-phase concrete width parameter YBDCL_b1), then draw a vertical line downward (height = second-phase concrete height parameter YBDCL_h1), and then intersect with the starting point to the right to form a closed outline;
[0137] S414. Draw the drainage ditch: Starting from the upper left corner of the beam, draw a horizontal line to the right (length = cantilever width parameter YBDCL_b2 of the rock wall crane beam), draw a vertical line downwards (height = height from the top of the beam to the bottom of the drainage ditch parameter YBDCL_h2), draw a horizontal line to the left (length = drainage ditch width parameter YBDCL_b3 of the rock wall crane beam), and draw a vertical line upwards to close to the upper right corner of the beam. After completing the drawing of curveArrays1, execute the mirror command with the central reference plane as the axis (the code performs a mirror transformation on each curve in curveArrays1) to generate the right beam outline curveArrays2;
[0138] S415. Create a lofted and merged entity: Calculate two 3D path lines (leftPath, rightPath) in the project based on the grid information. The path lines need to reflect the actual direction and inclination of the beam. Pick leftPath and rightPath as the merging path in sequence, and use curveArrays1 and curveArrays2 as the entity outline to generate a 3D rock wall crane beam entity. The bottom elevation of the entity is controlled by the beam bottom elevation parameter YBDCL_ElevationBottom.
[0139] S416, Instantiate Family: Instantiate the created rock wall crane beam family to the corresponding location in the project using Revit API code.
[0140] S42. Generate Ceiling Support Beams: The creation logic for ceiling support beams is exactly the same as that for rock wall crane beams, only the parameters and outlines are simpler; specifically including:
[0141] S421. Select Family Template: Create a new file named "Metric Conventional Model.rft" as the template for creating the ceiling support beam family;
[0142] S422. Draw the cross-sectional profile (CurveArrArray): Using the lower left corner of the beam as the drawing origin (0,0), draw the necessary vertical and horizontal reference planes. Associate the reference planes with family parameters through dimensioning to achieve parameter-driven profile control. First, draw the main profile line of the left beam (CurveArrArraycurveArrays1): Using the center of the beam bottom as the origin (0,0), draw a vertical line upwards (height corresponding to the ceiling support beam height parameter DDZZL_H), a horizontal line to the right (length corresponding to the ceiling support beam width parameter DDZZL_B), and a vertical line downwards (height corresponding to the ceiling support beam height parameter DDZZL_H and the downward inclination angle DDZZL_Beta). Calculate point 1 using trigonometric functions, and draw a diagonal line from point 1 downwards to the left (angle determined by the downward inclination angle DDZZL_Beta) intersecting the origin to form a closed profile.
[0143] S423. Draw the drainage ditch: Starting from the left side of the beam top, draw a horizontal line to the right (length corresponds to the drainage ditch's distance from the beam edge parameter DDZZL_b2), a vertical line downwards (height corresponds to the drainage ditch's height parameter DDZZL_h4), a horizontal line to the left (length corresponds to the drainage ditch's width parameter DDZZL_b1), and finally draw a vertical line upwards to close the gap to the right side of the beam top, forming the complete curveArrays1 outline. After completion, execute the mirror command with the central reference plane as the axis (the code performs a mirror transformation on each curveArrays1) to generate the right beam outline curveArrays2;
[0144] S424. Create a layout and merge entity: Based on the grid information in the project, calculate two three-dimensional path lines (leftPath, rightPath) that reflect the actual direction and inclination of the beam; pick leftPath and rightPath as the merge path in sequence, and use curveArrays1 and curveArrays2 as the entity outline to generate a three-dimensional ceiling support beam entity. The bottom elevation of the entity is controlled by the beam bottom elevation parameter DDZZL_ElevationBottom.
[0145] S425, Instantiate Family: Instantiate the created ceiling support beam family to the corresponding location in the project using Revit API code.
[0146] S5. Based on the aforementioned structural column and beam entities, output the three-dimensional structural models of the rock wall crane beam and ceiling support beam; specifically including:
[0147] The structural column entities created after calculating the 3D insertion points according to the classification in the early stage, the rock wall crane beam entities and ceiling support beam entities generated by parameter-driven cross-sectional contour and combined with the 3D path line layout of the axis grid are spatially integrated according to the established elevation axis grid to ensure that the intersection relationship and relative elevation of the structural column and beam in the 3D space completely match the design parameters.
[0148] During the integration process, the accuracy of the geometric dimensions and spatial positions of each component is verified simultaneously, ultimately forming a complete three-dimensional structural model that includes structural columns, rock wall crane beams, ceiling support beams, and auxiliary structures. This model has full parameter correlation characteristics and can fully reflect the structural morphology of the underground plant's rock wall crane beams and ceiling support beams, providing unified three-dimensional data support for subsequent automatic quantity calculation and intelligent sectioning and drawing.
[0149] Example 2
[0150] This embodiment employs a method for constructing a model of a rock wall crane beam and ceiling support beam proposed in this invention, outputting complete construction details, but is not limited to the method provided in this embodiment; specific steps include:
[0151] S1. Set drawing parameters. Drawing parameters include at least the drawing font, view scale, viewport layout, and drawing size. Setting drawing parameters includes four core aspects:
[0152] The drawing font type provides a drop-down list of text types already loaded in the Revit project (e.g., "Fangsong_GB2312"). Once selected by the user, it will be applied to all automatically generated annotations and text. The scale provides a list of commonly used scales (e.g., 1:50, 1:100, 1:200). Once selected by the user, it will be applied to newly created section views and drawings. The number and layout of viewports are specified by the user, allowing them to define the number of views to be placed on the drawing (e.g., "2 sections, 1 detail"). The plugin provides predefined layout templates such as "side-by-side" and "vertically distributed" based on the number of views. The drawing sheet size provides a list of standard sheet sizes; once selected by the user, it will match the corresponding title block family (drawing frame).
[0153] S2. Determine the cutting location and create a sectional view: The automatic cutting location is determined by automatically identifying the centerline of the structural column and key geometric features at the intersection of the rock wall crane beam and the structural column, combined with an intelligent cutting algorithm. Alternatively, the user can manually draw section lines to determine the cutting location, and then create a sectional view based on the cutting location. Specifically, this includes:
[0154] It offers two sectioning modes: automatic and manual. In automatic sectioning mode, it automatically calculates key locations and creates section views based on preset rules and grid information. In manual sectioning mode, after the user clicks the manual creation button, they draw section lines in the plan view. The plugin captures these section lines and creates a section view based on them. ).
[0155] S3. Intelligent annotation of views and automatic drawing updates based on parameter-driven methods: Intelligent annotation includes linked annotation based on model component attributes or linked annotation based on related parameters; when the design parameters of the 3D structural model change, the drawing content and corresponding annotations are adjusted synchronously; two annotation methods are included:
[0156] Automatic annotation (model-drawing linkage): Annotation information is directly taken from the model component attributes, traversing the views corresponding to each viewport on the drawing, through... Filter the component categories that need to be labeled, and call... of The method automatically annotates the dimensions (based on geometric boundaries) and tags (based on parameters such as type tags, family and family type names) of components, and the plugin's built-in rules prevent overlapping annotations;
[0157] The calculation annotation (associated with a calculation table) is used for content that needs annotation but lacks direct data in the model (such as anchor spacing and keyway dimensions for rock wall crane beams). Based on the associated component positioning lines and parameters (such as YBDCL_h3), the starting and ending coordinates (XYZ) of the annotation lines are obtained through geometric calculations. After identifying specific components, the corresponding rules are called to calculate the annotation positions, which are then displayed on the view. Create annotations.
[0158] S4. Automatically calculate engineering quantities and generate standardized engineering quantity tables based on 3D structural models: Calculate engineering quantities directly using the solid geometric information of the 3D structural model, adjust the statistical range and accuracy of engineering quantities according to preset design stage configuration parameters, and dynamically output standardized engineering quantity tables; specifically including:
[0159] S41. Define the data source and calculation rule mapping table: A rule configuration table needs to be created to associate statistical items with objects and calculation methods in the Revit model, as shown in Table 1.
[0160] Table 1. Mapping Table of Data Sources and Calculation Rules
[0161]
[0162] S42, Model Data Extraction and Calculation
[0163] S421. Initialization and configuration reading: After the plugin starts, it reads the calculation rule mapping table created in step S31.
[0164] S422, Filtering the model by beam type: Create two collections, one for storing the quantities of rock wall crane beams. Used for storing the quantity of ceiling support beams. ;pass Collect all instances of the "Rock Wall Crane Beam" family and the "Ceiling Support Beam" family in the Revit model.
[0165] S43. Traverse beam instances and count them.
[0166] S431. For each rock wall crane beam, iteratively calculate all items in the rule mapping table whose beam type is "rock wall crane beam", and perform the corresponding operation according to the data source type:
[0167] If the data is obtained directly from the model, call the function to retrieve the volume parameters, convert the units, and store them in a temporary variable.
[0168] If it is a formula calculation, call the custom function, and calculate the value from the parameters of the current beam or related components (such as structural columns) according to the formula defined in the rules;
[0169] Encapsulate the name, specifications (obtainable from the family type name), unit, and calculated quantity of each statistical item into a... Object, added to List.
[0170] S432. For each ceiling support beam, execute the same statistical logic as for the rock wall crane beams, only processing rule items in the calculation rule mapping table whose beam type is ceiling support beam, and encapsulating the results into... Store the object later List.
[0171] S433, Summary Results: The final summary lists of quantities for the rock wall crane beam project are obtained. Summary list of ceiling support beam works .
[0172] S44. Generate a compliant bill of quantities: First, dynamically create it in the code. ,Should The column structure is set as number, item, specification, unit, quantity, and remarks;
[0173] Next to Perform data population: The numbering is an automatically generated sequence number (e.g., 1, 2, 3...); the item column is filled with the statistical item name (e.g., "concrete" or "drainage steel pipe"); the specification column is extracted from the family type name or specific parameter (e.g., "C30"); the unit column is read from the rule mapping table; the quantity column is filled with the summary result of the engineering quantity calculated in the second step, and the value is formatted according to the specific content (keeping the corresponding decimal places); the remarks column can be filled with auxiliary information or left blank.
[0174] Finally passed create (View Details Table), according to The column structure is Add the corresponding fields and populate them with data. Once finished, place the view details table onto the drawing.
[0175] S5. Create drawings based on drawing parameters, and adaptively place the sectional views, plan and elevation views according to the viewport layout to generate upstream and downstream elevation views and plan layout.
[0176] pass The method involves creating a new drawing based on the selected drawing sheet size. The corresponding title block family will be automatically loaded as the drawing frame. Based on the "Number of Viewports and Layout" template selected by the user in step two, the position and size of each viewport within the drawing frame will be automatically calculated. After dividing the available area within the drawing frame, all sectional views created in step one will be traversed, and viewports will be created sequentially. Place it in the center of the defined area. Automatically and uniformly set the scale of all viewports.
[0177] S6. Load the standardized engineering quantity table into the drawings to generate complete construction details.
[0178] The final result generated by calling the quantity survey and statistics process Creating a drawing legend view in Revit ( ),pass and Draw the bill of quantities style in this view and fill in the data, then place this legend view in a blank corner of the drawing. The final output includes all views, annotations, and bill of quantities, and is a complete construction detail drawing ready for printing or publication.
[0179] Example 3
[0180] This invention proposes a model construction system for rock wall crane beams and ceiling support beams, comprising:
[0181] M1, Parameter Acquisition Module, is used to acquire design parameters including at least elevation grid parameters and structural model parameters. The elevation grid parameters are used to locate the spatial layout of the factory building, and the structural model parameters are used to construct the structural entity.
[0182] M2, the grid generation module, is used to generate an elevation grid adapted to the layout of the underground plant based on the elevation grid parameters;
[0183] M3, the structural column modeling module, is used to calculate the three-dimensional insertion points of structural columns based on the structural model parameters and the elevation grid parameters, and to create structural column entities in batches.
[0184] M4, the beam modeling module, is used to draw the cross-sectional outline of the beam, calculate the three-dimensional path of the beam, generate the beam entity through lofting and fusion, and instantiate it.
[0185] M5, Model Output Module: Used to integrate the structural column entity and the beam entity to output the three-dimensional structural model of the rock wall crane beam and the ceiling support beam.
[0186] In summary, the present invention has the following advantages:
[0187] 1. Improve modeling efficiency and accuracy: Automatically acquire design parameters and calculate elevation grids, batch create structural columns and beams, replace manual operation, reduce repetitive work and errors, and meet the accuracy requirements of water conservancy projects;
[0188] 2. Supports dynamic design adjustment: When design parameters change, the grid, component points and solid shape can be automatically updated without remodeling, adapting to the dynamic optimization needs of underground powerhouses and shortening the design iteration cycle;
[0189] 3. Ensure design consistency and compatibility: Use the elevation grid as a unified positioning benchmark to ensure that the components are connected without deviation and match the Revit family type, avoiding compatibility issues in modeling at different stages and by different personnel, and improving collaboration efficiency;
[0190] 4. Adaptation to irregular hydraulic structures: For irregular details of rock wall crane beams and ceiling support beams, the contours and calculation paths are drawn through parameter-driven methods to achieve standardized modeling of professional components and solve the problem of insufficient adaptation to general platforms.
[0191] The above specific embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to examples, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A method for constructing a model of a rock wall crane beam and a ceiling support beam, characterized in that, include: S1. Obtain design parameters, including elevation grid parameters and structural model parameters; S2. Based on the elevation grid parameters, generate an elevation grid adapted to the layout of the underground plant; the specific process of generating the elevation grid in step S2 includes: Convert the generator floor elevation, rail top elevation, and camber elevation from meters to Revit internal units, and create corresponding plan views and elevations; Calculate the longitudinal axis position: Take the project base point or the origin of the internal coordinate system as the starting point and determine the starting axis position corresponding to the center line of the first unit. Calculate the axis position of the center lines of subsequent units by accumulating the number of units and the distance between their center lines. Calculate the axis position at the end of the main unit's inter-unit axis by combining the distance between the unit's center line and the unit's edge. Calculate the starting axis position of the installation site by superimposing the width of the structural joint between units. Finally, calculate the axis position at the end of the installation site by combining the length of the installation site. Calculate the position of the transverse axis: Based on the project base point or the origin of the internal coordinate system, determine the position of the plant centerline by combining the longitudinal axis of the unit and the offset distance. Based on the plant centerline, offset by half of the plant span to both sides to obtain the positions of the upstream and downstream sidewall axes respectively. The longitudinal axis position and the transverse axis position are combined to form an orthogonal grid, and the calculated two endpoints are offset outward by ten meters to form the final elevation grid. S3. Based on the structural model parameters and the elevation grid parameters, calculate the three-dimensional insertion points of the structural columns and create structural column entities in batches. S4. Based on the structural model parameters and the elevation grid parameters, draw the cross-sectional outline of the beam, calculate the three-dimensional path of the beam, generate the beam entity through lofting and fusion, and instantiate it; in step S4, calculating the three-dimensional path of the beam specifically includes: Based on the elevation grid generated in step S2, the spatial coordinates corresponding to the unit layout and plant boundary of the underground powerhouse are extracted, and two three-dimensional path lines adapted to the beam orientation are generated; the beam entity is generated and instantiated, specifically including: Using the two three-dimensional path lines as the fusion path and the corresponding complete cross-sectional outline of the beam as the solid outline, the three-dimensional solid of the beam is generated through the Revit lofting and fusion function, and the spatial position of the three-dimensional solid of the beam is controlled according to the bottom elevation parameter of the beam. S5. Based on the structural column entity and beam entity, output the three-dimensional structural model of the rock wall crane beam and the ceiling support beam.
2. The method for constructing the model of the rock wall crane beam and ceiling support beam according to claim 1, characterized in that, The specific elevation grid parameters include: installation location, number of generator units, width of structural joint between generator units, width of sprayed layer in the plant, span of the top arch, span of the plant, length of the main generator room, length of the installation site, spacing between generator centerlines, offset distance of plant centerline, distance between generator centerline and generator edge, distance between generator centerline and auxiliary plant sidewall, generator floor elevation, rail top elevation, and arch elevation; The structural model parameters specifically include: structural column size parameters, installation column size, rock wall crane beam cross-section parameters, secondary concrete parameters, drainage ditch parameters, track positioning parameters, anchor bolt position parameters, beam bottom elevation, inclination angle parameters, and ceiling support beam cross-section parameters.
3. The method for constructing the model of the rock wall crane beam and ceiling support beam according to claim 1, characterized in that, The specific formula for calculating the position of the longitudinal axis is as follows: The coordinates of the axis at the end of the main unit = the coordinates of the centerline of the last unit + the distance between the unit's centerline and the unit's edge. The specific formula for calculating the position of the horizontal axis is as follows: A grid is generated based on the longitudinal and transverse axis coordinates, and the transverse and longitudinal grids are offset outward by a preset distance.
4. The method for constructing the model of the rock wall crane beam and the ceiling support beam according to claim 1, characterized in that, The specific process of creating a structural column entity includes: Calculate the three-dimensional coordinates of columns Z1, Z2, and the installation bay column respectively. Match the corresponding column family type according to the structural column size parameters and create column elements based on the three-dimensional coordinates and elevation information. The specific process of generating the beam entity includes: drawing the cross-sectional outlines of the rock wall crane beam and the ceiling support beam according to the structural model parameters, generating a three-dimensional path line by combining the grid information, and generating the beam entity through lofting and fusion.
5. The method for constructing the model of the rock wall crane beam and the ceiling support beam according to claim 1, characterized in that, Step S3, which involves batch creation of structural column entities, specifically includes: Based on the dimensions of the structural columns, match the corresponding structural column family type in the Revit platform, and create structural column entities in batches according to the 3D insertion points of the structural columns and the elevations generated in step S2.
6. The method for constructing the model of the rock wall crane beam and ceiling support beam according to claim 1, characterized in that, Step S4, drawing the cross-sectional profile of the beam, specifically includes: Using the leftmost point of the bottom of the rock wall crane beam as the origin, draw the main outline of the rock wall crane beam by combining the cross-sectional height, top surface width, cantilever width, rock wall angle, lower inclination angle, and upper inclination angle of the rock wall crane beam; Draw the outline of the second-stage concrete for the rock wall crane beam, taking into account the height and width of the second-stage concrete. Draw the outline of the rock wall crane beam drainage ditch by combining the height of the beam top from the bottom of the drainage ditch and the width of the drainage ditch; Using the central reference plane as the axis, the main outline, the secondary concrete outline, and the drainage ditch outline are mirrored to form the complete cross-sectional outline of the rock wall crane beam. Using the leftmost point of the bottom of the ceiling support beam as the origin, draw the main outline of the ceiling support beam in combination with the height, width, and downward inclination angle of the ceiling support beam; Draw the outline of the ceiling support beam and drainage ditch by combining the height of the beam top from the bottom of the drainage ditch and the width of the drainage ditch. Using the central reference plane as an axis, the main outline and drainage ditch outline are mirrored to form the complete cross-sectional outline of the ceiling support beam.
7. A model construction system for a rock wall crane beam and ceiling support beam, characterized in that, The method for constructing the model of the rock wall crane beam and ceiling support beam as described in any one of claims 1-6 includes: The parameter acquisition module is used to acquire design parameters, including at least elevation grid parameters and structural model parameters. The elevation grid parameters are used to locate the spatial layout of the factory building, and the structural model parameters are used to construct the structural entity. The grid generation module is used to generate an elevation grid adapted to the layout of the underground plant based on the elevation grid parameters. The structural column modeling module is used to calculate the three-dimensional insertion points of structural columns based on the structural model parameters and the elevation grid parameters, and to create structural column entities in batches. The beam modeling module is used to draw the cross-sectional outline of the beam, calculate the three-dimensional path of the beam, generate the beam entity through lofting and fusion, and instantiate it. Model output module: used to integrate the structural column entity and the beam entity, and output the three-dimensional structural model of the rock wall crane beam, the ceiling support beam and the structural column.