Parametric Stair Automatic Design Method and Storage Medium Based on Revit and Dynamo

Through the parametric stair automatic design method of Revit and Dynamo, the cumbersome problems of traditional stair design process are solved, and efficient automatic design and BIM model creation with controllable detailed parameters are realized.

CN115840978BActive Publication Date: 2025-07-29中南建筑设计院股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211606113.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-14
Publication Date
2025-07-29
Estimated Expiration
2042-12-14

AI Technical Summary

Technical Problem

The design process of traditional stairs is cumbersome and has a lot of repetitive workload, low design coordination efficiency, and inconvenient modification.

Method used

Based on the parameterized staircase automatic design method of Revit and Dynamo, by defining the program flow, Dynamo's visual programming platform is used to automatically design stairs and create BIM models, including obtaining parameters such as stair boundary, platform position, ladder segment width, step length and height, generating a solid model and importing it into Revit.

Benefits of technology

It realizes efficient and high-quality design of stairs, improves design efficiency, and accurately controllable model details and parameters, providing a good BIM information model for subsequent designs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115840978B_ABST
    Figure CN115840978B_ABST
Patent Text Reader

Abstract

The present invention discloses a parametric staircase automatic design method and storage medium based on Revit and Dynamo. The method writes Dynamo scripts according to the design logic of the staircase, picks up the floor slab boundary (wall, beam boundary) as the starting boundary, terminal boundary, starting side and terminal side of the staircase, automatically designs and creates an entity platform model, an entity flight model, as well as a landing beam and landing column models, can adjust the width of the staircase well, the thickness of the platform, the number of staircase steps, the types of landing beams and columns, and the thickness of the staircase slab by itself, and finally imports it into Revit to complete the creation of the staircase, realizing the efficient automatic design and modeling of the staircase structure. The present invention operates on Revit and the visual programming software Dynamo, has good visualization effects, is convenient to modify, and improves work efficiency; moreover, the parametric staircase structure model created by the present invention realizes precise control of detailed parameters, providing a good BIM information model for subsequent designs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of building information modeling, and particularly relates to a parametric staircase automatic design method and a storage medium based on Revit and Dynamo. Background Art

[0002] At present, with the popularization of BIM (Building Information Modeling) technology, BIM technology has developed rapidly. Among them, Autodesk Revit is the most important modeling software and design collaboration platform, which can help designers complete more energy-efficient building designs.

[0003] The design of traditional staircases requires planar functional design based on building two-dimensional drawings, and then feedback to multiple professionals for review and in-depth design. The entire design process is cumbersome, with a large amount of repetitive work, low design collaboration efficiency, and inconvenient modification.

[0004] The parametric staircase automatic design method based on Revit and Dynamo is a secondary development based on the Revit-based visual programming platform Dynamo. It automatically designs the staircase and creates a BIM model in a parametric form, and can achieve compliance verification to a certain extent. Dynamo is a Revit-based visual programming platform that allows engineers to explore parametric design solutions and automated modeling and model checking workflows by defining program processes. Summary of the Invention

[0005] The purpose of the present invention is to provide a parametric staircase automatic design method and a storage medium based on Revit and Dynamo, which are used for efficient and high-quality design and creation of staircases, and solve the problems of cumbersome design process and repetitive work of traditional staircases.

[0006] To achieve the above purpose, the present invention provides a parametric staircase automatic design method based on Revit and Dynamo, including the following steps:

[0007] S1. Taking the floor slab edge or wall and beam edges of the staircase opening as parameters for generating control lines, obtaining the starting boundary, terminal boundary, starting side, and terminal side of the staircase, and defining the width of the stairwell, the thickness of the landing, the number of staircase steps, the thickness of the stair slab, and the types of stair beams and columns;

[0008] S2. In Dynamo, determining the positions and lengths of the landing and floor landing according to the starting boundary and terminal boundary of the staircase, then determining the width of the staircase flight according to the width of the stairwell, and further determining the widths of the landing and floor landing. Finally, creating a solid landing model in combination with the thickness of the landing;

[0009] S3. In Dynamo, determine the tread length and height according to the number of stair steps. If the tread length and height do not meet the requirements, redefine the number of stair steps. Determine the upward direction of the stairs based on the starting side and the terminal side, and then generate a solid stair flight model according to the tread length, height, and thickness of the stair slab.

[0010] S4. In Dynamo, call beam and column families according to the types of stringers and columns, and generate stringer and column models in combination with the platform position.

[0011] S5. Define the class, material, and name of the created Dynamo solid model, and import it into Revit to complete the creation of the stairs.

[0012] Furthermore, use the Select Edge node in Dynamo to obtain the starting boundary, terminal boundary, starting side, and terminal side of the stairs.

[0013] Furthermore, step S2 specifically includes:

[0014] S201. Determine the length, width, and height information of the overall stair model according to the starting boundary and terminal boundary of the stairs.

[0015] S202. Determine the platform length of the landing and floor platform according to the width information of the overall model, and then determine the stair flight width according to the defined well width. Determine the platform width of the landing and floor platform according to the stair flight width.

[0016] S203. Determine the position of the floor platform according to the starting boundary and terminal boundary of the stairs, and determine the position of the landing according to the height information of the overall model. Translate the starting boundary or terminal boundary to the positions of the landing and floor platform, use the Curve.Extrude node to extrude the corresponding platform width to generate a platform surface, and then use the Surface.Thicken node to extrude the platform surface according to the platform thickness to generate a platform.

[0017] Furthermore, determine whether the stair flight width is greater than 1200 mm. If so, the platform width of the landing and floor platform takes the stair flight width; otherwise, the platform width of the landing and floor platform takes 1200 mm.

[0018] Furthermore, step S3 specifically includes:

[0019] S301. Determine the stair flight length according to the length of the overall stair model and the platform width of the landing and floor platform. Determine the upward direction of the stairs based on the starting side and the terminal side, and then determine the starting lines and terminal lines of the lower and upper stair flights of the stairs in combination with the stair flight width, platform width, starting boundary, and starting side of the stairs.

[0020] S302. Determine the flight height; determine the step length and height according to the number of stairs. If the step length and height do not meet the requirements, redefine the number of stairs; use the Atan node to obtain the stair slope named θ.

[0021] S303. Determine the flight center line according to the flight length; specifically: use the Curve.PointAtParameter node in Dynamo to create the midpoint of the starting line of the lower flight, then use the Geometry.Translate node to translate horizontally in the upward stair direction by the length of one flight, and then use Line.ByStartPointEndPoint to connect the lines, named the lower flight center line; create the upper flight center line in the same way.

[0022] S304. Create the step lines according to the number of stairs and the step length; specifically: use Curve.PointAtParameter to divide the flight center line according to the stair width and quantity to generate division points, then use the Vector.ByTwoPoints node to create vectors from the midpoint of the starting line of the lower flight to each division point, and use the Geometry.Translate node in Dynamo to translate the starting line of the lower flight to create the step lines.

[0023] S305. Generate each step surface using Surface.ByLoft; specifically: use Vector.Scale to create the height vector of each step, and use Curve.ExtrudeAsSolid to stretch the step surface upward to create the step body.

[0024] S306. Judge whether the thickness h of the stair slab meets the bearing capacity requirements. If not, reset it.

[0025] S307. Create the lower surface of the flight according to the thickness of the stair slab.

[0026] S308. Use the Geometry.Split node in Dynamo to cut the step body with the lower surface of the flight, leaving the upper stair part, and the flight is created.

[0027] Furthermore, step S301 is specifically as follows:

[0028] Use the Curve.PointAtParameter node in Dynamo to generate the intersection point of the starting boundary and the starting side of the staircase. Use the Geometry.Translate node to translate this point a distance equal to the width of one flight of stairs in the direction of the stairwell. Use Line.ByStartPointEndPoint to connect the points into a line, and translate this line a distance equal to the width of one floor landing in the horizontal direction of the upward staircase direction. Name the translated line the starting line of the lower flight of stairs; use the Geometry.Translate node to translate the starting line of the lower flight of stairs a distance equal to the length of one flight of stairs and a specific proportional height (determined according to the type of staircase) towards the landing, and name it the terminal line of the lower flight of stairs; use the same method to generate the starting line and the terminal line of the upper flight of stairs.

[0029] Further, step S307 is specifically as follows:

[0030] Use the Curve.PointAtParameter node in Dynamo to create the midpoint of the terminal line of the lower flight of stairs. Use the Geometry.Translate node to translate the midpoint of the terminal line of the lower flight of stairs downward by a length of h / cosθ; use the Geometry.Translate node to translate the midpoint of the starting line of the lower flight of stairs in the upward staircase direction by a length of h / sinθ, use Line.ByStartPointEndPoint to connect the points into a line, and then connect the two translated points into a line. Use the List Create node to combine the two lines into a list, and use PolyCurve.ByJoinedCurves to combine multiple line objects into a two-dimensional planar polyline, named the midline of the lower surface of the lower flight of stairs; use the same method to create the midline of the lower surface of the upper flight of stairs;

[0031] Then use Surface.BySweep to create the lower surface of the lower flight of stairs by sweeping the starting line of the lower flight of stairs along the midline of the lower surface of the lower flight of stairs; use the same method to create the lower surface of the upper flight of stairs.

[0032] Further, step S4 is specifically as follows:

[0033] S401. Use the Surface.PerimeterCurves node in Dynamo to obtain the contour line of the platform surface. Use the PolyCurve.ByJoinedCurves node to combine multiple line objects into a closed two-dimensional planar polyline. Use the Curve.Offset node in Dynamo to offset the platform contour line outward by a distance equal to half the width of the stair beam, named the midline of the stair beam. Then use StructuralFraming.BeamByCurve in Dynamo to call the beam family and generate the stair beam along the line;

[0034] S402. Use Curve.StartPoint and Curve.EndPoint in Dynamo to obtain the corner points of the platform surface, translate downward by the distance of the platform height, connect the lines using Line.ByStartPointEndPoint, name it the middle line of the flight column, and then use StructuralFraming.ColumnByCurve to call the defined column family to generate the flight column.

[0035] Furthermore, all the nodes in steps S1 to S4 are integrated into a custom node with input and output ends in Dynamo software through the function of creating custom nodes in Dynamo software; the node is placed under the node package path of Dynamo software to form a common stair automatic creation and design node package.

[0036] A computer-readable storage medium stores program codes, and when the program codes run, the above-mentioned parameterized stair automatic design method based on Revit and Dynamo is executed.

[0037] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0038] 1. The present invention is a parameterized stair automatic design method based on Revit and Dynamo. By performing secondary development on Revit and Dynamo to create a model, preparing the starting boundary, terminal boundary, starting side, and terminal side of the stair opening, setting several data values such as the stair well width, platform thickness, number of stair steps, types of flight beams and columns, and the thickness of the stair slab, and the basic plane line, the efficient design and creation of the parameterized stair are realized.

[0039] 2. The present invention operates on Revit and the visual programming software Dynamo, has good visualization effects, is convenient to modify, and improves work efficiency.

[0040] 3. The parameterized stair model created by the present invention realizes precise control of each detailed parameter, and it is convenient to read and modify parameters such as the model type and material, providing a good BIM information model for subsequent design and construction. Description of the Drawings

[0041] Figure 1 is the flowchart of the stair automatic design method in the embodiment of the present invention;

[0042] Figure 2 is the schematic diagram of the stair edge line in the embodiment of the present invention;

[0043] Figure 3 is the schematic diagram of the stair and platform in the embodiment of the present invention;

[0044] Figure 4 is the model control line generated by Dynamo in the embodiments of the present invention;

[0045] Figure 5 is the Dynamo flowchart in the embodiments of the present invention;

[0046] Figure 6 is the schematic diagram of the stair model created by Dynamo+Revit in the embodiments of the present invention.

[0047] In the figure: 11 - starting boundary, 12 - terminal boundary, 13 - starting side, 14 - terminal side. Specific embodiments

[0048] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0049] The parametric stair automatic design method based on Revit and Dynamo of the present invention includes the following steps:

[0050] S1: Using the floor slab edge or the edge of the wall or beam of the stair opening as the parameter for generating the control line, pick up the starting boundary, terminal boundary, starting side and terminal side of the stair, and define the width of the stairwell, the thickness of the landing, the number of stair steps, the types of stair beams and columns, and the thickness of the stair slab;

[0051] S2: In Dynamo, determine the positions of the landing and the floor landing according to the starting boundary and the terminal boundary of the stair, determine the width of the stair flight, determine the width of the landing, and design and create a solid landing model;

[0052] S3: In Dynamo, determine the upward direction of the stair according to the starting boundary and the terminal boundary of the stair. Given the determined positions and dimensions of the landings, the span of the stair flight can be determined. According to the defined number of steps, the length and height of the steps can be obtained. The height and length of the steps need to meet the specification requirements. If not satisfied, the number of steps can be reset. The slab thickness needs to meet the bearing capacity requirements. If not satisfied, it can be reset. According to the length and width of the steps and the thickness of the stair slab, the design of the stair flight can be completed, and a solid stair flight model can be generated;

[0053] S4: In Dynamo, call the beam and column families according to the landing positions to design the stair beams and columns;

[0054] S5: Define the classes, materials and names of the created Dynamo solid models, and import them into Revit to complete the creation of the stairs.

[0055] See Figure 1 , in this embodiment, the floor height is 4.5m, and a double-run staircase is suitable. The parametric staircase automatic design method based on Revit and Dynamo in the embodiment of the present invention includes the following steps:

[0056] S1: Take the floor slab edge or the wall and beam edges of the staircase opening as the parameters for generating the control lines. See Figure 2 . Use the Select Edge node in Dynamo to obtain the starting boundary 11, terminal boundary 12, starting side 13, and terminal side 14 of the staircase edge line. The four data items of the staircase well width, landing thickness, number of staircase steps, and slab thickness provide parameter control for generating other control lines based on the staircase edge line. The types of staircase beams and columns can be selected according to the actual situation of the project.

[0057] S2: In Dynamo, determine the positions of the landing and floor landing according to the starting boundary and terminal boundary of the staircase, determine the staircase flight width, determine the landing width, and design and create a solid landing model. The specific steps are as follows:

[0058] S201: According to the starting boundary and terminal boundary, the length, width, and height information of the overall staircase model can be determined through Curve.Length in Dynamo. According to the starting side 13 and terminal side 14, the upward direction of the staircase can be determined through Vector.ByTwoPoints.

[0059] S202: According to the picked starting boundary and the defined staircase well width, the staircase flight width can be determined. According to the specification "Stair Railings and Balustrades (Part 1)" J403-1-2015 [S], the width of the staircase landing is not less than 1200mm and not less than the staircase flight width. The specific steps are as follows: Use the If node in Dynamo to judge whether the staircase flight width is greater than 1200mm. If it is greater, the staircase landing takes the staircase flight width; if it is not greater, the landing width takes 1200mm. As Figure 3 shown, the landing length is the length between the starting boundary and the terminal boundary.

[0060] S203: Create a landing according to the landing width calculated in S202. The specific steps are as follows: The height difference between the starting boundary and the terminal boundary of the staircase can determine the staircase height. Use the Geometry.Translate node in Dynamo to translate the starting side line to the position of the lower landing under the terminal boundary, which is half of the staircase height in this project. Use the Curve.Extrude node to stretch the corresponding landing width to generate the landing surface, and then use the Surface.Thicken node to stretch the previously defined landing thickness to generate the landing. Translate the starting boundary upward to the height of the terminal boundary, and repeat the above steps to generate the floor landing of the staircase.

[0061] S3: In Dynamo, based on the starting boundary and terminal boundary of the staircase, determine the upward direction of the staircase. Given the determined landing position and size, the span of the staircase flight can be determined. According to the defined number of steps, the step length and height can be obtained. The step height and length need to meet the specification requirements. If not satisfied, the number of steps can be reset. The slab thickness needs to meet the bearing capacity requirements. If not satisfied, it can be reset. Based on the step length, width, and slab thickness of the flight, the design of the flight can be completed, and a solid flight model can be generated. The specific steps are as follows:

[0062] S301: Based on the flight width, landing width, starting boundary of the staircase, and starting side, the starting and terminal lines of the lower and upper flights of the staircase can be determined. The specific steps are as follows: Use the Curve.PointAtParameter node in Dynamo to generate the intersection point of the starting boundary and starting side of the staircase. Use the Geometry.Translate node to translate this point in the direction of the stairwell by a distance equal to the length of one flight. Connect the points with the Line.ByStartPointEndPoint to form a line. Translate the resulting line horizontally in the upward direction by a distance equal to the landing width of one floor. Name the translated line the starting line of the lower flight, see Figure 4 control line 1 of. Use the Geometry.Translate node to translate the starting line of the lower flight by a distance equal to the length of one flight and half of the staircase height towards the landing, and name it the terminal line of the lower flight, see Figure 4 control line 2 of. Use the same method to generate the starting and terminal lines of the upper flight, see Figure 4 control line 3 and control line 4 of respectively.

[0063] S302: Given the flight height and customizing the number of steps of the staircase, the step height and length of the staircase can be obtained. The step height, length, and staircase slope of the steps need to meet the requirements of Article 6.8.10 of the Unified Standard for Civil Building Design GB 50352 - 2019[S].2019. If not satisfied, the number of steps of the steps can be reset. The Atan node can be used to obtain the staircase slope and name it θ.

[0064] S303: Based on the flight length, the center line of the flight can be determined. The specific steps are as follows: Use the Curve.PointAtParameter node in Dynamo to create the midpoint of the starting line of the lower flight, then use the Geometry.Translate node to translate it horizontally in the upward direction by a distance equal to the length of one flight, and then connect the points with the Line.ByStartPointEndPoint to form a line, and name it the center line of the lower flight, see Figure 4 control line 5 of. Use the same method to create the center line of the upper flight, see Figure 4 control line 6 of.

[0065] S304: Given the number of steps and the tread length of the staircase, the tread lines can be created based on the number of steps. The specific steps are as follows: Use Curve.PointAtParameter to divide the midline of the flight by the staircase width and quantity to generate division points, then use the Vector.ByTwoPoints node to create vectors from the midpoint of the starting line of the lower flight to each division point, and use the Dynamo's Geometry.Translate node to translate the starting line of the lower flight to create the tread lines.

[0066] S305: Use Surface.ByLoft to generate each tread surface. Use Vector.Scale to create the height vector for each step, and use Curve.ExtrudeAsSolid to extrude the tread surface upward to create the tread body.

[0067] S306: Customize the thickness h of the stair slab. The thickness of the stair slab needs to meet the bearing capacity requirements. If not satisfied, it can be reset.

[0068] S307: The lower surface of the flight can be created based on the thickness of the stair slab. The specific steps are as follows: Use the Curve.PointAtParameter node in Dynamo to create the midpoint of the terminal line of the lower flight, and use the Geometry.Translate node to translate the midpoint of the terminal line of the lower flight downward by a length of h / cosθ. Use the Geometry.Translate node to translate the midpoint of the starting line of the lower flight upward in the direction of the upper floor by a length of h / sinθ, connect the points with Line.ByStartPointEndPoint, then connect the two translated points. Use the List Create node to combine the two lines in a list, and use PolyCurve.ByJoinedCurves to combine multiple line objects into a two-dimensional planar polyline, named the midline of the lower surface of the lower flight, see Figure 4 Control line 7. Create the midline of the lower surface of the upper flight in the same way, see Figure 4 Control line 8. Then use Surface.BySweep to create the lower surface of the lower flight by sweeping the starting line of the lower flight along the midline of the lower surface of the lower flight. Create the lower surface of the upper flight in the same way.

[0069] S308: Use the Geometry.Split node in Dynamo to cut the tread body with the lower surface of the flight, leaving the upper staircase part, and the creation of the flight is completed.

[0070] S4: In Dynamo, call the beam and column families according to the landing position to design the stair beam and stair column. The specific steps are as follows:

[0071] S401: Use the Surface.PerimeterCurves node in Dynamo to obtain the contour line of the platform surface. Use the PolyCurve.ByJoinedCurves node to combine multiple line objects into a closed 2D planar polyline. Use the Curve.Offset node in Dynamo to offset the platform contour line outward by a distance equal to half of the width of the flight beam, and name it the median line of the flight beam. Then, use the StructuralFraming.BeamByCurve in Dynamo to call the beam family and generate the flight beam along the line.

[0072] S402: Use Curve.StartPoint and Curve.EndPoint in Dynamo to obtain the corner points of the platform surface, translate them downward by a distance equal to half of the height of the staircase, and use Line.ByStartPointEndPoint to connect them into a line, named the median line of the flight column. Then, use StructuralFraming.ColumnByCurve to call the defined column family to generate the flight column. The script writing of the Dynamo part is completed. See Figure 5 。

[0073] S5: Use the "Create Custom Node" function in the Dynamo software to integrate all the nodes from S1 to S4 in the Dynamo software into a custom node with input and output ports. Place the node under the node package path of the Dynamo software to form a common staircase automatic creation and design node package.

[0074] S6: Use Springs.FamilyInstance.ByGeometry in Dynamo to define the class, material, and name of the created Dynamo solid model, and import it into Revit to complete the creation of the staircase. The creation of the staircase is completed. See Figure 6 。

[0075] The present invention also provides a computer-readable storage medium, in which program code is stored. When the program code runs, it executes the above-mentioned parametric staircase automatic design method based on Revit and Dynamo.

[0076] In summary, the present invention provides a parametric staircase automatic design method and storage medium based on Revit and Dynamo. The Dynamo script is written according to the staircase design logic, and the floor slab boundary (wall, beam boundary) is picked up as the starting boundary, terminal boundary, starting side, and terminal side of the staircase. The width of the stairwell, the thickness of the landing, the number of staircase steps, the types of stair beams and columns, and the thickness of the stair slab can be adjusted independently, realizing the function of efficient automatic design and modeling of the staircase structure. The present invention is operated on Revit and the visual programming software Dynamo, with good visual effects, convenient modification, and improved work efficiency. The parametric staircase structure model created by the present invention enables precise control of detailed parameters, providing a good BIM information model for subsequent design.

[0077] It should be noted that according to the needs of implementation, the various steps / components described in this application can be split into more steps / components, or two or more steps / components or partial operations of steps / components can be combined into new steps / components to achieve the purpose of the present invention.

[0078] It is easy for those skilled in the art to understand that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A parametric staircase automatic design method based on Revit and Dynamo, characterized in that It includes the following steps: S1. Use the floor slab edge or the wall and beam edges of the stair opening as the parameters for generating the control line, obtain the starting boundary, terminal boundary, starting side, and terminal side of the stair, and define the width of the stairwell, the thickness of the landing, the number of stair steps, the thickness of the stair slab, and the types of stair beams and columns; S2. Write the Dynamo script according to the design logic of the stair. In Dynamo, determine the positions and lengths of the landing and floor landing based on the starting boundary and terminal boundary of the stair, then determine the width of the stair flight according to the width of the stairwell, and further determine the widths of the landing and floor landing. Finally, create a solid landing model in combination with the thickness of the landing; S3. In Dynamo, determine the tread length and height according to the number of stair steps. If the tread length and height do not meet the requirements, redefine the number of stair steps; determine the upward direction of the stair according to the starting side and terminal side, and then generate a solid stair flight model based on the tread length and height and the thickness of the stair slab; S4. In Dynamo, call the beam and column families according to the types of stair beams and columns, and generate the stair beam and column models in combination with the landing positions; S5. Define the class, material, and name of the created Dynamo solid model, and import it into Revit to complete the creation of the stair.

2. The parametric staircase automatic design method based on Revit and Dynamo according to claim 1, characterized in that, Use the Select Edge node in Dynamo to obtain the starting boundary, terminal boundary, starting side, and terminal side of the stair.

3. The parametric staircase automatic design method based on Revit and Dynamo according to claim 1, characterized in that, Step S2 specifically includes: S201. Determine the length, width, and height information of the overall stair model based on the starting boundary and terminal boundary of the stair; S202. Determine the lengths of the landing and floor landing according to the width information of the overall model, and then determine the width of the stair flight according to the defined width of the stairwell; determine the widths of the landing and floor landing according to the width of the stair flight; S203. Determine the position of the floor landing according to the starting boundary and terminal boundary of the stair, and determine the position of the landing according to the height information of the overall model; translate the starting boundary or terminal boundary to the positions of the landing and floor landing, use the Curve.Extrude node to stretch the corresponding landing width to generate the landing surface, and then use the Surface.Thicken node to stretch the landing surface according to the thickness of the landing to generate the landing.

4. The parametric staircase automatic design method based on Revit and Dynamo according to claim 3, characterized in that, Judge whether the width of the stair flight is greater than 1200 mm. If so, the widths of the landing and floor landing are taken as the width of the stair flight; otherwise, the widths of the landing and floor landing are taken as 1200 mm.

5. The parametric staircase automatic design method based on Revit and Dynamo according to claim 3, wherein, Step S3 specifically includes: S301. Determine the length of the stair flight according to the length of the overall stair model and the widths of the landing and floor landing, determine the upward direction of the stair according to the starting side and terminal side, and then determine the starting lines and terminal lines of the lower and upper stair flights of the stair in combination with the width of the stair flight, the width of the landing, and the starting boundary and starting side of the stair; S302. Determine the height of the stair flight; determine the step tread length and height according to the number of stair steps. If the step tread length and height do not meet the requirements, redefine the number of stair steps; use the Atan node to obtain the stair slope named θ; S303. Determine the center line of the flight according to the flight length. Specifically: Use the Curve.PointAtParameter node in Dynamo to create the midpoint of the starting line of the lower flight, then use the Geometry.Translate node to translate horizontally in the upward floor direction by the length of one flight, and then use Line.ByStartPointEndPoint to connect the lines, naming it the center line of the lower flight; use the same method to create the center line of the upper flight. S304. Create the tread lines according to the number of steps and the tread length of the stairs. Specifically: Use Curve.PointAtParameter to divide the center line of the flight according to the width and number of the stairs to generate division points, then use the Vector.ByTwoPoints node to create vectors from the midpoint of the starting line of the lower flight to each division point, and use the Geometry.Translate node in Dynamo to translate the starting line of the lower flight to create the tread lines. S305. Generate each tread surface by Surface.ByLoft. Specifically: Use Vector.Scale to create the height vector of each step, and use Curve.ExtrudeAsSolid to stretch the tread surface upward to create the tread body. S306. Judge whether the thickness h of the slab meets the bearing capacity requirements. If not, reset it. S307. Create the lower surface of the flight according to the thickness of the slab. S308. Use the Geometry.Split node in Dynamo to cut the tread body with the lower surface of the flight, leaving the upper step part, and the creation of the flight is completed.

6. The parametric staircase automatic design method based on Revit and Dynamo according to claim 5, wherein Step S301 is specifically as follows: Use the Curve.PointAtParameter node in Dynamo to generate the intersection point of the starting boundary and the starting side of the stairs, use the Geometry.Translate node to translate this point in the direction of the stairwell by a distance equal to the width of one flight, use Line.ByStartPointEndPoint to connect the lines, translate the resulting line horizontally in the upward floor direction by a distance equal to the width of one floor landing, and name the translated line the starting line of the lower flight; use the Geometry.Translate node to translate the starting line of the lower flight to the landing by a distance equal to the length of one flight and a specific proportional height, naming it the terminal line of the lower flight; use the same method to generate the starting line and the terminal line of the upper flight.

7. The parametric staircase automatic design method based on Revit and Dynamo according to claim 5, characterized in that Step S307 is specifically as follows: Use the Curve.PointAtParameter node in Dynamo to create the midpoint of the end line of the lower flight. Use the Geometry.Translate node to translate the midpoint of the end line of the lower flight downward by a length of h / cosθ. Use the Geometry.Translate node to translate the midpoint of the starting line of the lower flight upward in the direction of the upper floor by a length of h / sinθ. Connect the points with Line.ByStartPointEndPoint, and then connect the two translated points. Use the List Create node to combine the two lines into a list. Use PolyCurve.ByJoinedCurves to combine multiple line objects into a two-dimensional planar polyline, named the midline of the lower surface of the lower flight. Create the midline of the lower surface of the upper flight in the same way. Then use Surface.BySweep to create the lower surface of the lower flight by sweeping the starting line of the lower flight along the midline of the lower surface of the lower flight. Create the lower surface of the upper flight in the same way.

8. The parametric staircase automatic design method based on Revit and Dynamo according to claim 1, characterized in that Step S4 is specifically as follows: S401. Use the Surface.PerimeterCurves node in Dynamo to obtain the contour line of the platform surface. Use the PolyCurve.ByJoinedCurves node to combine multiple line objects into a closed two-dimensional planar polyline. Use the Curve.Offset node in Dynamo to offset the platform contour line outward by a distance equal to half the width of the landing beam, named the midline of the landing beam. Then use StructuralFraming.BeamByCurve in Dynamo to call the beam family and generate the landing beam along the line. S402. Use Curve.StartPoint and Curve.EndPoint in Dynamo to obtain the corner points of the platform surface and translate them downward by a distance equal to the platform height. Connect the points with Line.ByStartPointEndPoint, named the midline of the landing column. Then use StructuralFraming.ColumnByCurve to call the defined column family and generate the landing column.

9. The parametric staircase automatic design method based on Revit and Dynamo according to claim 1, characterized in that Implement all the nodes in steps S1 to S4 in Dynamo software by using the function of creating custom nodes in Dynamo software to integrate them into a custom node with input and output ends. Place the node in the node package path of Dynamo software to form a common node package for automatic creation and design of stairs.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program code, wherein, when the program code runs, it executes the parametric staircase automatic design method according to any one of claims 1 to 9 based on Revit and Dynamo.

Citation Information

Patent Citations

  • Method for intelligently creating stairs based on Revit

    CN112329109A

  • Parameterized water collecting well modeling method based on Revit and Dynamo

    CN114218632A