Rotate in Series Grasshopper

Hi there, I’ve created a geometry and moved it in series along the y-axis, which duplicated it around 40 times. I want each of these 40 geometries I’ve created to rotate gradually (starting at 0° and ending at 90°) in the XY plane. I’ve tried a couple different ways of doing this which my friends recommended, but it hasn’t worked. Any advice for how I could fix this issue would be much appreciated :slight_smile:


My move in series


What I want to achieve (blue lines) - top view


What happened instead

Forum_rotation.gh (27.8 KB)

This is a data structure problem. Hover the inputs and you’ll see there are 42 breps in a flat list and 42 angles but each of them in a branch.

Grafting the geometry input results in one rotation per object but the plane input is wrong

The plane input could be a horizontal plane at the volume centroid of each of the breps.

Forum_rotation_grafted_plane.gh (33.5 KB)

Learn more about lists and data trees here:

Designing with Lists | The Grasshopper Primer Third Edition (gitbooks.io)

1 Like