How to rotate every face of an extrudet geometry at its origin curve

Hi,
im currently working on a site-analysis project. I was wondering if its possible to rotate every face (with a z-coordinate) of an extrudet geometry at its origin curve. I can’t come up with a solution thats actually parametric (independet from the number and orientation of faces).
Here’s a beautifuly scribble to clarify what i mean:

Thanks!
Dave

Like this?

foldout.gh (11.8 KB)

2 Likes

Works perfectly fine. Thank you!