Sine wave not working well with closed curve

Hi everyone. While using a sine wave expression on a rectangular surface works pretty good with it using unit x, y & zfor it to work as a whole balcony, facade, roof thing, but what i want in the project is to wrap the buildings facade with it. So I tried doing a closed curve and extruding it with the gumball, but doing this the sine wave expression does not work the same way. I’m sorta new in rhino and grasshopper so if my problem has an obvious solution please dont torture me haha

Dorms Facade_1.3dm (2.2 MB) !
Facade Sine drifting|690x300 !
Facade sine working|580x500
Sine (193.6 KB)

1 Like