Grasshopper arrays - modifying components in the array?

I’ve made a z-axis array of a polygon.
From there, I’m trying to figure out how to rotate each duplicated item in the array on the x-y plane, either
a) by a fixed amount for each polygon, or
b) by setting the rotation of the last item in the array, so that each intermediate polygon rotates equally between them.

In reading a bit this morning, it looks like it has something to do with sets/trees… or something… basically looking for the nodes that let me perform the rotation to each polygon in the array incrementally.

It’s a simple start, but here’s what I have:


FYI,


Range+Rotate.gh (8.8 KB)

1 Like

Thanks Jessesn -

Appreciate the example - however, I should mention that it’s not just polygons I’m using as the base shape, but other open and closed curves.

Is there a way to modify the node structure I already have, rather than replacing it?

I’m looking through the Grasshopper docs, but am not sure which components are the “right” ones.

cheers

Sure, you can set the closed curve or open curve with Curve Param component to Grasshopper and connect it to G input of Linear Array component .

1 Like

Ah! Thanks - I’ll try that out.