I created a Pergola' (A horizontal trellis or framework, supported on posts that carries climbing plants and may form a covered walk) using the component tool in Revit. A simple example was created in order to use parametric modeling on the Pergola to see how the parameters of various inner families(individual elements of the pergola) can be associated to parameters of the Main Pergola family to enable them to change with respect to each other.



Three individual elements were created using the 'Generic Model' Family option in 3D format in the x,y and z axis directions. The same method used to create the sunshade in Project 1 was used to create the components here. The Length, Breadth and Height were added as parameters and fixed for the components. They were the following.
1. Vertical Component of the matrix
2. Horizontal component of the matrix
3. Stand(Legs) for the matrix.
3. Stand(Legs) for the matrix.
Pictures are shown below in the same order as mentioned above.



These elements were then incorporated into a Generic Line based Family one by one. First teh Vertical component was added and it was arrayed. The 1st and last elements were locked into place to the top horizontal reference plane and to their respective left and right vertical reference planes. Then 2 more parameters were added for 'Number of Vertical Elements' and 'Vertical element Spacing'. A formula was added so that the Number of Vertical elements = Length of the Vertical Array/ Vertical Element Spacing. This system now worked well as when the length was changed, the other parameters changed respectively.
Next the Horizontal Element was introduced into the Pergola Family. The vertical line where the horizontal elements would be arayed was added as a parameter called 'Breadth'. In the properties of the horizontal element, its length was associated with the length of the vertical array. This ensured that when the length of the array was increased, the length of the horizontal element would increase accordingly. Similiarly in the properties of the Vertical element, its length was associated with the length of the horizontal array (ie Breadth). After the horizontal element was arrayed, the 1st and last elements were again locked to the left vertical reference plane and to the top horizontal reference plane. Again 2 new parameters were created and connected by the formula: Number of Horizontal Elements= Breadth/ Horizontal Element Spacing. Now the matrix worked both ways.
Finally the Stand for the Mtrix was introduced into the main Pergola family. Four copies were made and and locked to the 4 ends of the matrix. The heigth of the whole pergola could be controlled by changing the height of the stand element.

The final resulting 'Pergola' Family could be changed according to the user's wishes with respect to the length, breadth and height of the matrix as well as the number of Horizontal and Vertical elements as well as their spacing. The various length, breadth and height parameters of the individual elements of the pergola could be further be changed either by using the new parameters added for system height or else by opening the individual families and editing them.


No comments:
Post a Comment