I am trying to design a horizontal parametric louver system that curves like a single wave of a sine curve.

Elements to be controlled by the attractor curve:

- length of horizontal projection
- point of maximum distance from the original line

I attempted this by dividing the horizontal line into multiple points and extruding perpendicular lines which will then be affected by the proximity of the attractor curve.

But I am unable to limit the louver curve at the 2 edges where I want no projection.

I have attached the concept sketch as well as the GH file.

Please advise & thanks in advance!

Courtyard Horizontal Louvers #3.gh (64.7 KB)