Assistance with creating geometry (using series)

Hi, I’m new to grasshopper and am having trouble creating a specific script/geometry. Im trying to create a right angle triangle that is made up of square pipes whereby the size of the shape can parametrically be altered using one slider. I have used rectangular with linear array to create the point/grid to pipe but for some reason when the value input to the rectangular is a large value the geometry is no longer a triangle, instead flattens out towards the top.

Is there another way of writing this script?

Different concept (20.8 KB)

Thank you so much this helped a lot. :slight_smile:

1 Like