Creating fins on various surfaces with different normals more efficiently

I want to generate fins on 4 surfaces with the same dimensions. The way I am doing it is by isolating each surface within the list and generating the same fins independently for each surface:

This doesn’t seem efficient and only works for these 4 surfaces.
I would like a way for a simple script that would do this on any surface, not necessarily one that is on the xy plane.

Any ideas?

fins on surfaces.gh (26.9 KB)

Data trees :exclamation: Some “fins” face in, some out because of flipped surface normal vectors.



fins on surfaces_2024Mar3a.gh (16.0 KB)

1 Like

thanks!