A modeling method of trapezoidal flat grid roof based on Dynamo
Through the Dynamo-based trapezoidal flat mesh roof modeling method, the problem of complex and difficult modification of flat mesh in Revit is solved, and efficient modeling and modification of trapezoidal flat mesh is realized, which improves the fidelity and parameterization of BIM three-dimensional design.
Patent Information
- Application Number
- CN202210231983.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-09
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2042-03-09
AI Technical Summary
In the existing Revit three-dimensional design, the modeling of flat panel mesh frames is complicated and difficult to modify, and it is impossible to establish a trapezoidal flat panel mesh roof model, which affects the development of BIM forward design.
The roof modeling method of trapezoidal flat mesh frame based on Dynamo is adopted. By writing input term parameters and matrix parameters, Dynamo's list and point commands are used to generate coordinate values of the lower and upper chord points, and the components of the slant rod, horizontal rod, ball, etc. of the slant rod, horizontal rod, ball, etc. of the slant frame are gradually constructed to form a complete trapezoidal flat mesh frame model.
The efficient modeling and modification of the trapezoidal flat mesh roof model is realized, which simplifies operations, avoids the complex and difficult modification of the flat mesh modeling in Revit, and makes the BIM three-dimensional design more realistic, parameterized and informatized.
Smart Images

Figure CN114692267B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a Dynamo-based trapezoidal flat grid roof modeling method. Background Art
[0002] Grids are widely used in large space structures in industrial and civil buildings. Three-dimensional architectural design requires accurate and vivid expression of spatial grid models. With the advancement of national BIM technology and the development of three-dimensional forward design of buildings, the conventional method of building grids using conventional models of Revit and other methods currently has many rods, complex spaces, huge workload, and parameterization occupies a large amount of computer memory space, which can easily cause computer crashes. The architectural design process is always changing. If modeling and importing is done using software such as Rhino, the modification workload is very large, and the model is required to be updated at any time.
[0003] It is known that Revit's "Metric General Model Based on Curtain Wall Fill Pattern" can be used to create equal-height flat grids, but the above problems also exist; and the trapezoidal grid cannot be created in Revit at present, thus affecting the development of BIM forward design. Summary of the invention
[0004] The purpose of the present invention is to overcome the above-mentioned deficiencies in the prior art and to provide a Dynamo-based trapezoidal flat grid roof modeling method with a reasonable structural design, which makes up for the deficiencies in the existing Revit three-dimensional design that the flat grid modeling is complex, the modification is difficult, and the trapezoidal flat grid roof cannot be modeled in Revit.
[0005] The technical solution adopted by the present invention to solve the above problems is:
[0006] A trapezoidal flat grid roof modeling method based on Dynamo, characterized in that it includes the following steps:
[0007] a) Write the input parameters of the trapezoidal flat grid roof: grid length, number of length direction, grid width, number of width direction, grid height, grid top slope, inclined rod radius, horizontal rod radius, and ball radius;
[0008] b) Write all the points of the lower chord: Use Dynamo's list to write the matrix parameters of all the points of the lower chord, and then use Dynamo's point command to input the x and y values in the matrix parameters, and the value of the vertical z direction defaults to 0, to obtain the coordinate values of each point of the lower chord;
[0009] c) Write all the points of the upper chord: Use Dynamo's list to write the matrix parameters of all the points of the upper chord, and then use Dynamo's point command to input the values of x, y and z in the matrix parameters to obtain the coordinate values of each point of the upper chord;
[0010] d) Write the first and last row of diagonal bars of the grid;
[0011] e) Write the middle diagonal bars of the grid: connect the second row of the lower trellis and the first and second rows of the upper trellis to form space diagonal bars, and then copy the array to form all the middle bars of the grid;
[0012] f) Write the horizontal bar of the lower chord: connect the two end points of the first row of the lower chord into bars, and then pass the array to all horizontal bars in the width direction; connect the two end points of the first column of the lower chord into bars, and then pass the array to all horizontal bars in the length direction;
[0013] g) Write the upper chord horizontal bar: connect the middle point and the two end points of the first row of the upper chord into bars, and then pass the array to all horizontal bars in the width direction; connect the two end points of the first column of the lower chord into bars, and then pass the array to all horizontal bars in the length direction;
[0014] k) Prepare the four corner vertical bars of the grid;
[0015] l) Write the first column of diagonal bars and the last column of diagonal bars;
[0016] m) Write the net ball;
[0017] k) Complete the programming of the trapezoidal flat grid;
[0018] l) After writing the program using Dynamo, run the Dynamo player in the volume modeling or internal modeling of the Revit software, enter the project parameters, and then create the required trapezoidal flat grid roof model, then save the file or directly import it into the Revit project.
[0019] Step d of the present invention specifically comprises the following steps:
[0020] (1) According to the list of the lower point matrix, filter out the points in the first row, and then filter out the even-numbered points;
[0021] (2) Filter out the points in the first row based on the points in the upper Xuan, and then filter out the odd points. The odd points in the upper Xuan correspond to the even points in the lower Xuan;
[0022] (3) Use Dynamo's point command to connect the lower even-numbered points with the upper odd-numbered points to form a diagonal bar in the left direction; then connect the lower even-numbered points with the upper odd-numbered points in reverse order to form a diagonal bar in the right direction;
[0023] (4) Use Dynamo's Copy command to copy the diagonal bars in both directions of the first row to the last row.
[0024] Step e of the present invention comprises the following steps:
[0025] (1) According to the lower point matrix list, filter out the points in the second row, and then filter out the even points;
[0026] (2) According to the points of the upper Xuan, the points of the first and second rows are selected, and then the odd points are selected. The odd points of the upper Xuan and the even points of the lower Xuan are staggered and correspond to each other;
[0027] (3) Use Dynamo's cylinder command to connect the even-numbered points on the lower grid and the odd-numbered points on the first row of the upper grid to form the first group of left-direction diagonal bars on the middle grid; then connect the even-numbered points on the lower grid and the odd-numbered points on the first row of the upper grid in reverse order to form the first group of right-direction diagonal bars on the middle grid;
[0028] (4) Use Dynamo's cylinder command to connect the even-numbered points on the lower grid and the odd-numbered points on the second row of the upper grid to form the left-direction diagonal bars in the first group of the middle grid; then connect the even-numbered points on the lower grid and the odd-numbered points on the second row of the upper grid in reverse order to form the right-direction diagonal bars in the first group of the middle grid;
[0029] (5) Use Dynamo's array command to array all the first group of diagonal bars according to the length and width spacing of the grid to complete all the diagonal bars in the middle part of the grid.
[0030] Step f of the present invention comprises the following steps:
[0031] (1) From all the points in the lower part, select the end points on both sides of the first row and use the cylinder command of Dynamo to connect them into the first row of horizontal rods;
[0032] (2) Spacing of horizontal rod array in the width direction of the lower ridge: among all points in the lower ridge, select the points with horizontal rods and calculate their spacing;
[0033] (3) Arrange the first row of horizontal rods to all horizontal rods in the width direction according to the above array spacing.
[0034] Step g of the present invention comprises the following steps:
[0035] (1) From all the points on the upper side, select the middle point of the first row and the end points on both sides, and use the cylinder command of Dynamo to connect the end points and the middle points to form the first row of horizontal rods;
[0036] (2) Spacing of horizontal rod array in the width direction of the upper ridge: among all points in the upper ridge, select the points with horizontal rods and calculate their spacing;
[0037] (3) Arrange the first row of horizontal bars in the upper right corner to all horizontal bars in the width direction according to the above array spacing.
[0038] Step h of the present invention comprises the following steps:
[0039] (1) Use Dynamo's filter command to filter out the upper and lower corner points of the left side of the trapezoidal grid;
[0040] (2) Use the Dynamo cylinder command to connect the two upper corners into a rod; then connect the two lower corners into a rod;
[0041] (3) Copy the above-mentioned rods as a group to the right side of the grid to form the four corner rods at the right end.
[0042] Step i of the present invention comprises the following steps:
[0043] (1) The first and last rows of inclined rods are also perpendicular to the Z-axis direction;
[0044] (2) According to the list of the lower point matrix, select the points in the first column, and then select the even points;
[0045] (3) Filter out the points in the first column according to the points in the upper Xuan, and then filter out the odd points. The odd points in the upper Xuan correspond to the even points in the lower Xuan;
[0046] (4) Use Dynamo's point command to connect the lower even-numbered points and the upper odd-numbered points to form a diagonal bar in the left direction; then connect the lower even-numbered points and the upper odd-numbered points in reverse order to form a diagonal bar in the right direction; use Dynamo's copy command to copy the diagonal bars in both directions in the first column to the last row.
[0047] Step j of the present invention comprises the following steps:
[0048] (1) Lower Xuan Sphere: First, select the points where the first column of spheres are located using Dynamo's list filter function, and then use the values of the horizontal bar array that have been obtained to array all the lower Xuan spheres;
[0049] (2) Upper Xuan Sphere: Filter all the points of Upper Xuan twice using Dynamo's list to obtain the points where the Upper Xuan Sphere is located, and use Dynamo's ball command to generate a grid sphere from all the points.
[0050] In step 1 of the present invention, if modification is required, edit the trapezoidal flat grid family in the Revit project - edit the model, run in reverse, modify the parameters and then import it into the project, select "overwrite the existing version and parameters" to complete the modification of the model, and you can also use the detailed list function to complete the extraction of the trapezoidal flat grid material quantity.
[0051] Compared with the prior art, the present invention has the following advantages and effects: simple operation, efficient modeling, convenient modification, and fast operation. It makes up for the shortcomings of the existing Revit three-dimensional design, such as the complex modeling and difficulty of modifying the flat grid and the inability to model the trapezoidal flat grid roof in Revit, making the BIM three-dimensional design more realistic, parametric, and information-based. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A schematic diagram of a program flow chart prepared for the present invention;
[0053] Figure 2 A schematic diagram of a visualization program for the lower point of a trapezoidal flat grid roof prepared for the present invention;
[0054] Figure 3 A schematic diagram of a visualization program for the points on the trapezoidal flat grid roof prepared for the present invention;
[0055] Figure 4 Schematic diagram of the points on the trapezoidal flat grid roof prepared for the present invention
[0056] Figure 5 A schematic diagram of a visualization program for the first and last rows of diagonal bars of a trapezoidal flat grid roof compiled for the present invention;
[0057] Figure 6 Schematic diagram of the first and last rows of diagonal bars of the trapezoidal flat grid roof prepared for the present invention
[0058] Figure 7 Schematic diagram of the visualization program for the middle diagonal rod of the trapezoidal flat grid roof compiled for the present invention
[0059] Figure 8 A first set of schematic diagrams of the middle diagonal bars of the trapezoidal flat grid roof prepared for the present invention;
[0060] Fig. 9 A schematic diagram of all the diagonal bars in the middle of the trapezoidal flat grid roof prepared for the present invention;
[0061] Fig.10 A schematic diagram of a visualization program for the horizontal rods under the trapezoidal flat grid roof compiled for the present invention;
[0062] Fig.11 A schematic diagram of a visualization program for the horizontal bars on the trapezoidal flat grid roof compiled for the present invention;
[0063] Fig.12 A schematic diagram of a visualization program for the four corner vertical bars of a trapezoidal flat grid roof compiled for the present invention;
[0064] Fig.13 A schematic diagram of a visualization program for the first and last rows of diagonal bars of a trapezoidal flat grid roof compiled for the present invention;
[0065] Fig.14 A schematic diagram of a visualization program for a trapezoidal flat grid roof grid ball compiled for the present invention;
[0066] Fig.15 A schematic diagram of the operation method of the trapezoidal flat grid roof prepared for the present invention;
[0067] Fig.16 A schematic diagram of an example of a trapezoidal flat grid roof prepared for the present invention;
[0068] Fig.17 A schematic diagram of the three-dimensional effect of the trapezoidal flat grid roof example item prepared for the present invention;
[0069] Fig.18 A bird's-eye view schematic diagram of a three-dimensional model of a trapezoidal flat grid roof example item compiled for the present invention;
[0070] Fig.19 A perspective schematic diagram of a three-dimensional model of a trapezoidal flat grid roof example item compiled for the present invention;
[0071] Figure 20-25 A breakdown of the overall diagram of the visualization program written for the present invention. DETAILED DESCRIPTION
[0072] The present invention will be further described in detail below with reference to the accompanying drawings and by way of examples. The following examples are intended to explain the present invention but the present invention is not limited to the following examples.
[0073] The embodiment of the present invention is based on the trapezoidal flat grid roof modeling method of Dynamo, which uses the visual programming provided by the Dynamo plug-in that comes with Revit to write nodes, write input and output ports and related nodes of components in Dynamo, and then test whether the trapezoidal flat grid roof can pass the operation under different steps and different working conditions according to different input parameters. After the program is written, it can be run in the Dynamo player menu of Revit. The Dynamo player only displays the dialog boxes of various input parameters and the final operation results. The finished product after the operation is completed can be imported into Revit to complete the establishment of the trapezoidal flat grid roof model. It has many advantages such as simple interface operation, efficient modeling, fast operation, etc., which makes up for the shortcomings of complex flat grid modeling and difficulty in modification in the existing Revit three-dimensional design, and the inability to model the trapezoidal flat grid roof in Revit. Specifically, the following steps are included:
[0074] a) Write the input parameters of the trapezoidal flat grid roof: grid length, number in length direction, grid width, number in width direction, grid height, grid top slope, inclined rod radius, horizontal rod radius, and spherical radius; the number in length direction is set to n1, and the number in width direction is set to n2.
[0075] b) Write all the points of the lower chord:
[0076] Using Dynamo's list, the matrix parameters of all points of the lower chord are written. The parameter formula is as follows:
[0077] The values of each point in the xy direction in the lower point list are:
[0078] [0..a..#2*n1+1],
[0079] [0..b..#2*n2+1];
[0080] in:
[0081] (1) x = a / 2*n1+1, a is the length of the grid, n1 is the number in the length direction; y = b / 2*n2+1, b is the length of the grid, n2 is the number in the width direction;
[0082] (2) Obtain the values of each point in the X and Y directions by filtering the list;
[0083] Use the point command of Dynamo to input the x and y values in the list of lower points, and the value in the vertical z direction is 0 by default, to obtain the coordinate values of each point in the lower point. Figure 2 shown.
[0084] c) Write all the points of the upper chord:
[0085] Using Dynamo's list, the matrix parameters of all points on the upper chord are written. The parameter formula is as follows:
[0086] The values of each point in the xy direction in the upper point list:
[0087] [0..a..#2*n1+1],
[0088] [0..b..#2*n2+1];
[0089] illustrate:
[0090] (1) x = a / 2*n1+1, a is the length of the grid, n1 is the number in the length direction; y = b / 2*n2+1, b is the length of the grid, n2 is the number in the width direction;
[0091] (2) Obtain the values of each point in the X and Y directions by filtering the list.
[0092] The values of each point in the Z vertical direction in the slope point list 1:
[0093] [0..h..#2*n3+1];
[0094] illustrate:
[0095] (1) Since the upper part of the trapezoidal grid has a slope, forming an isosceles triangle with the middle point, the vertical values (z) of each point on the upper part are different, which is the slope input item;
[0096] (2) z = h / 2*n1+1, h = (grid length / 2)*slope; n3 = number in the length direction n1 / 2;
[0097] 1. [List of slope points 1, 2] (the following brackets are list commands in the visualization program)
[0098] illustrate:
[0099] (1) The above [Slope Point List 1] is the height difference of each point on the left half of the isosceles triangle in the slope direction;
[0100] (2) Using Dynamo's list reverse function, mirror each value of [Slope Point List 1] to obtain the height difference values of each point on the right half of the isosceles triangle [Slope Point List 2] (the duplicate points in the middle need to be deleted);
[0101] 2. Slope value at each point
[0102] illustrate:
[0103] Slope point values = [slope point list 1] + [slope point list 2];
[0104] 3. Z value of each point vertical to the upper point:
[0105] H = h1 + h2;
[0106] illustrate:
[0107] (1) H is the height difference between the upper and lower parts, usually called the height difference, which is the "grid height" of the input item;
[0108] (2) h1 = list 1 of slope points; h2 = list of slope values (item 3 above)
[0109] Use Dynamo's point command to input the above x, y, and z values to get the coordinates of each point on the top. Figure 3 , Figure 4 shown.
[0110] d) Write the first and last rows of diagonal bars of the grid:
[0111] (1) The first and last rows of inclined rods are perpendicular to the Z-axis direction;
[0112] (2) According to the list of the lower point matrix, filter out the points in the first row, and then filter out the "even points";
[0113] (3) Filter out the points in the first row based on the points in the upper Xuan, and then filter out the "odd points". The odd points in the upper Xuan correspond to the even points in the lower Xuan;
[0114] (4) Use Dynamo's point command to connect the lower even-numbered points with the upper odd-numbered points to form a diagonal bar in the left direction; then connect the lower even-numbered points with the upper odd-numbered points in reverse order to form a diagonal bar in the right direction;
[0115] (5) Use Dynamo's copy command to copy the diagonal bars in both directions of the first row to the last row, with the distance equal to the width of the grid. Figure 5 , Figure 6 shown.
[0116] e) Write the middle diagonal bars of the grid: connect the second row of the lower trellis and the first and second rows of the upper trellis to form space diagonal bars, and then copy the array to form all the middle bars of the grid; including the following steps:
[0117] (1) According to the list of the lower point matrix, filter out the points in the second row, and then filter out the "even points";
[0118] (2) According to the points of the upper Xuan, the points of the first and second rows are selected, and then the "odd points" are selected. The odd points of the upper Xuan and the even points of the lower Xuan are staggered and correspond to each other;
[0119] (3) Use Dynamo's cylinder command to connect the even-numbered points on the lower grid and the odd-numbered points on the first row of the upper grid to form the middle grid diagonal bar 1-1 (1-1 represents all the diagonal bars on the left side of the first group and the first row of the grid;) Then connect the even-numbered points on the lower grid and the odd-numbered points on the first row of the upper grid in reverse order to form the middle grid diagonal bar 1-2 (1-2 represents all the diagonal bars on the right side of the first group and the first row of the grid)
[0120] (4) Use Dynamo's cylinder command to connect the even-numbered points on the lower grid and the odd-numbered points on the second row of the upper grid to form the middle grid diagonal bar 2-1 (2-1 represents all the diagonal bars on the left side of the first group of the second row of the grid); then connect the even-numbered points on the lower grid and the odd-numbered points on the second row of the upper grid in reverse order to form the middle grid diagonal bar 2-2 (2-1 represents all the diagonal bars on the right side of the first group of the second row of the grid)
[0121] (5) Use Dynamo's array command to array all the first group of diagonal bars formed by "middle grid diagonal bars 1-1, 1-2, 2-1, 2-2" according to the spacing in the length direction and the width direction of the grid to form all the diagonal bars in the middle part of the grid. Figure 7 , Figure 8 , Fig. 9 shown.
[0122] f) Write the horizontal bar of the lower chord: connect the two end points of the first row of the lower chord into bars, and then pass the array to all horizontal bars in the width direction; similarly, connect the two end points of the first column of the lower chord into bars, and then pass the array to all horizontal bars in the length direction; including the following steps:
[0123] (1) From all the points in the lower part, select the end points on both sides of the first row and use the cylinder command of Dynamo to connect them into the first row of horizontal rods;
[0124] (2) Spacing of horizontal rod array in the width direction of the lower ridge: among all points in the lower ridge, select the points with horizontal rods and calculate their spacing;
[0125] (3) Arrange the first row of horizontal bars to all horizontal bars in the width direction according to the above array spacing. Fig.10 shown.
[0126] g) Write the upper chord horizontal bar: Since there is a height difference between each point on the upper chord, the middle point and the two end points of the first row of the upper chord are connected to form bars, and then arrayed to all horizontal bars in the width direction; similarly, the two end points of the first column of the lower chord are connected to form bars, and then arrayed to all horizontal bars in the length direction; including the following steps:
[0127] (1) From all the points on the upper prism, select the middle point and the end points on both sides of the first row, and use the cylinder command of Dynamo to connect the end points and the middle points to form the first row of horizontal rods (the [First Row Upper prism rod-1] and [First Row Upper prism-2] commands in the visualization program file);
[0128] (2) Spacing of horizontal rod array in the width direction of the upper ridge: among all points in the upper ridge, select the points with horizontal rods and calculate their spacing;
[0129] (3) Arrange the first row of horizontal bars in the upper lattice ([First row of upper lattice bars - 1] + [First row of upper lattice - 2] in the visualization program file) to all horizontal bars in the width direction according to the above array spacing. Fig.11 shown.
[0130] h) Write the four vertical bars of the grid:
[0131] (1) Use Dynamo's filter command to filter out the upper and lower corner points of the left side of the trapezoidal grid (upper corner 1, upper corner 2, lower corner 1, lower corner 2); (1 and 2 are the serial numbers of the vertices of the upper and lower corners)
[0132] (2) Use Dynamo's cylinder command to connect the upper corner 1 and the upper corner 2 into a rod; then connect the lower corner 1 and the lower corner 2 into a rod; (1 and 2 are the vertices of the upper and lower corners)
[0133] (3) Copy the above-mentioned rods to the right side of the grid to form the four corner rods at the right end. Fig.12 shown.
[0134] i) Write the first and last columns of slashes:
[0135] (1) The first and last rows of inclined rods are also perpendicular to the Z-axis direction;
[0136] (2) According to the list of the lower point matrix, filter out the points in the first column, and then filter out the "even points";
[0137] (3) Filter out the points in the first column based on the points in the upper Xuan, and then filter out the "odd points". The odd points in the upper Xuan correspond to the even points in the lower Xuan;
[0138] (4) Use Dynamo's point command to connect the lower even-numbered points with the upper odd-numbered points to form a diagonal bar in the left direction; then connect the lower even-numbered points with the upper odd-numbered points in reverse order to form a diagonal bar in the right direction;
[0139] (5) Use Dynamo's copy command to copy the diagonal bars in both directions of the first column to the last row, with the distance equal to the length of the grid. Fig.13 shown.
[0140] j) Write the net ball:
[0141] (1) Lower Xuan Spheres: First, select the points where the first column of spheres are located using Dynamo's list filter function, and then use the values of the horizontal bar array that have been obtained to array all the lower Xuan spheres.
[0142] (2) Upper Xuan Sphere: Filter all the points of Upper Xuan twice using Dynamo's list to obtain the points where the Upper Xuan Sphere is located, and use Dynamo's ball command to generate a grid sphere from all the points. Fig.14 shown.
[0143] k) This completes the writing of the Dynamo program.
[0144] l) After writing the program using Dynamo, run the Dynamo player in the volume modeling or internal modeling of the Revit software, enter the project parameters, and then create the required trapezoidal flat grid roof model, then save the file or directly import it into the Revit project. Fig.15 , Fig.16 , Fig.17 , Fig.18 , Fig.19 shown.
[0145] If you need to modify, edit the trapezoidal flat grid family in the Revit project---edit the model, run in reverse, modify the parameters and then import it into the project, select "overwrite the existing version and parameters" to complete the model modification, and you can also extract the material quantity of the trapezoidal flat grid through the detailed list function. This avoids the repetitive labor of almost remodeling once the parameters of the previous model are modified, freeing designers from a lot of repetitive labor and greatly improving work efficiency.
[0146] In addition, it should be noted that the shapes and names of the parts and components of the specific embodiments described in this specification may be different, and the above content described in this specification is only an example of the structure of the present invention. All equivalent changes or simple changes made based on the structure, features and principles described in the patent concept of the present invention are included in the protection scope of the patent of the present invention. Technicians in the technical field of the present invention can make various modifications or supplements to the specific embodiments described or replace them in a similar manner, as long as they do not deviate from the structure of the present invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.
Claims
1. A trapezoidal flat grid roof modeling method based on Dynamo, characterized in that: The following steps are involved: a) Write the input parameters of the trapezoidal flat grid roof: grid length, number of length direction, grid width, number of width direction, grid height, grid top slope, inclined rod radius, horizontal rod radius, and ball radius; b) Write all the points of the lower chord: Use Dynamo's list to write the matrix parameters of all the points of the lower chord, and then use Dynamo's point command to input the x and y values in the matrix parameters, and the value of the vertical z direction defaults to 0, to obtain the coordinate values of each point of the lower chord; c) Write all the points of the upper chord: Use Dynamo's list to write the matrix parameters of all the points of the upper chord, and then use Dynamo's point command to input the values of x, y and z in the matrix parameters to obtain the coordinate values of each point of the upper chord; d) Write the first and last row of diagonal bars of the grid; e) Write the middle diagonal bars of the grid: connect the second row of the lower trellis and the first and second rows of the upper trellis to form space diagonal bars, and then copy the array to form all the middle bars of the grid; f) Write the horizontal bar of the lower chord: connect the two end points of the first row of the lower chord into bars, and then pass the array to all horizontal bars in the width direction; connect the two end points of the first column of the lower chord into bars, and then pass the array to all horizontal bars in the length direction; g) Write the upper chord horizontal bar: connect the middle point and the two end points of the first row of the upper chord into bars, and then pass the array to all horizontal bars in the width direction; connect the two end points of the first column of the lower chord into bars, and then pass the array to all horizontal bars in the length direction; h) Prepare the four corner vertical bars of the grid; i) Write the first column of diagonal bars and the last column of diagonal bars; j) Compile the net ball; k) Complete the programming of the trapezoidal flat grid; l) After writing the program using Dynamo, run the Dynamo player in the volume modeling or internal modeling of the Revit software, enter the project parameters, and then create the required trapezoidal flat grid roof model, then save the file or directly import it into the Revit project; Step d specifically includes the following steps: (1) According to the list of the lower point matrix, filter out the points in the first row, and then filter out the even-numbered points; (2) Filter out the points in the first row based on the points in the upper Xuan, and then filter out the odd points. The odd points in the upper Xuan correspond to the even points in the lower Xuan; (3) Use Dynamo's point command to connect the lower even-numbered points with the upper odd-numbered points to form a diagonal bar in the left direction; then connect the lower even-numbered points with the upper odd-numbered points in reverse order to form a diagonal bar in the right direction; (4) Use Dynamo's Copy command to copy the diagonal bars in both directions of the first row to the last row.
2. The trapezoidal flat grid roof modeling method based on Dynamo according to claim 1, characterized in that: Step e includes the following steps: (1) According to the lower point matrix list, filter out the points in the second row, and then filter out the even points; (2) According to the points of the upper Xuan, the points of the first and second rows are selected, and then the odd points are selected. The odd points of the upper Xuan and the even points of the lower Xuan are staggered and correspond to each other; (3) Use Dynamo's cylinder command to connect the even-numbered points on the lower grid and the odd-numbered points on the first row of the upper grid to form the first group of left-direction diagonal bars on the middle grid; then connect the even-numbered points on the lower grid and the odd-numbered points on the first row of the upper grid in reverse order to form the first group of right-direction diagonal bars on the middle grid; (4) Use Dynamo's cylinder command to connect the even-numbered points on the lower grid and the odd-numbered points on the second row of the upper grid to form the left-direction diagonal bars in the first group of the middle grid; then connect the even-numbered points on the lower grid and the odd-numbered points on the second row of the upper grid in reverse order to form the right-direction diagonal bars in the first group of the middle grid; (5) Use Dynamo's array command to array all the first group of diagonal bars according to the length and width spacing of the grid to complete all the diagonal bars in the middle part of the grid.
3. The trapezoidal flat grid roof modeling method based on Dynamo according to claim 1, characterized in that: Step f includes the following steps: (1) From all the points in the lower part, select the end points on both sides of the first row and use the cylinder command of Dynamo to connect them into the first row of horizontal rods; (2) Spacing of horizontal rod array in the width direction of the lower ridge: among all points in the lower ridge, select the points with horizontal rods and calculate their spacing; (3) Arrange the first row of horizontal rods to all horizontal rods in the width direction according to the above array spacing.
4. The trapezoidal flat grid roof modeling method based on Dynamo according to claim 1, characterized in that: Step g includes the following steps: (1) From all the points on the upper side, select the middle point of the first row and the end points on both sides, and use the cylinder command of Dynamo to connect the end points and the middle points to form the first row of horizontal rods; (2) Spacing of horizontal rod array in the width direction of the upper ridge: among all points in the upper ridge, select the points with horizontal rods and calculate their spacing; (3) Arrange the first row of horizontal bars in the upper right corner to all horizontal bars in the width direction according to the above array spacing.
5. The trapezoidal flat grid roof modeling method based on Dynamo according to claim 1, characterized in that: Step h includes the following steps: (1) Use Dynamo's filter command to filter out the upper and lower corner points of the left side of the trapezoidal grid; (2) Use the Dynamo cylinder command to connect the two upper corners into a rod; then connect the two lower corners into a rod; (3) Copy the above-mentioned rods as a group to the right side of the grid to form the four corner rods at the right end.
6. The trapezoidal flat grid roof modeling method based on Dynamo according to claim 1, characterized in that: Step i includes the following steps: (1) The first and last rows of inclined rods are also perpendicular to the Z-axis direction; (2) According to the list of the lower point matrix, select the points in the first column, and then select the even points; (3) Filter out the points in the first column according to the points in the upper Xuan, and then filter out the odd points. The odd points in the upper Xuan correspond to the even points in the lower Xuan; (4) Use Dynamo's point command to connect the lower even-numbered points and the upper odd-numbered points to form a diagonal bar in the left direction; then connect the lower even-numbered points and the upper odd-numbered points in reverse order to form a diagonal bar in the right direction; use Dynamo's copy command to copy the diagonal bars in both directions in the first column to the last row.
7. The trapezoidal flat grid roof modeling method based on Dynamo according to claim 1, characterized in that: Step j includes the following steps: (1) Lower Xuan Sphere: First, select the points where the first column of spheres are located using Dynamo's list filter function, and then use the values of the horizontal bar array that have been obtained to array all the lower Xuan spheres; (2) Upper Xuan Sphere: Filter all the points of Upper Xuan twice using Dynamo's list to obtain the points where the Upper Xuan Sphere is located, and use Dynamo's ball command to generate a grid sphere from all the points.
8. The trapezoidal flat grid roof modeling method based on Dynamo according to claim 1, characterized in that: In step 1, if you need to modify it, edit the trapezoidal flat grid family in the Revit project - edit the model, run it in reverse, modify the parameters and then import it into the project, select "Overwrite existing version and parameters" to complete the model modification, or you can use the detailed list function to complete the extraction of the trapezoidal flat grid material quantity.
Citation Information
Patent Citations
Rapid modeling method for parameterized grid structure model based on Revit and Dynamo
CN111611675A