Thanks for the question. This is a slightly tricky one because it required a 3 dimensional array. To get around this I propose using nested arrays for the uprights sections. These could be controlled with an instanced spline so that they're all the same length as shown below:
You could then use these along with the other segments in a two dimensional array. The approach is nearly identical to the one shown in the parametrising windows tutorial
so I'd recommend reading or watching that if you haven't already. There are however a few differences:
- In the window tutorial segments are scaled. In this version they are tiled. Therefore the Count parameters of the sequence operators has been exported to allow you to easily control the spacing.
- All segment's Z alignment
has been set to Top
. This is so that the framework remains aligned and does not move when the "legs" change size.
- To keep the legs on the ground, the Z Size of one segment is exported and wired to the Generator's Z Offset. In that way as the legs change size it appears as thought the top part of the model moves up and down.
Please see the attached file for an example of this setup and if you have any questions, please let me know.