I have built some wave profiles from a curve that changes like a wave through a line that I have divided.
I’m at a point, where I want to have control of the starting rectangle and the last rectangle of every profile in the XZ plane. I want to align the starting rectangle with the edge of the ceiling and I want to do the same thing in the other direction.
@elios.kovaci, if all your Rectangles are generated through Grasshopper and are properly structured in Data, you can use the Component “List Item” and select the First and Last rectangle from the list of rectangles. Like this:
I want both of them (red box list and blue box list) to be aligned, possibly with a line and the wave effect to happen only in-between the loft-ed profile.
Although the whole script can be done in different way to optimise all of that, but I dont want to change your logic approach.
So just added the additional feature required wave_profiles Modified SU.gh (30.7 KB) wave_profilesModified SU.3dm (4.3 MB)
Thank you very much for the input! The idea is clear. My only concern is that on the upper part I can’t find a way to align the rectangle on the Z vector. Somehow to loft appears rotated at the end like this:
Something like this?[wave_profiles Modified SU (1)_ME.gh|attachment]
I hope you are able to open the gh file, I only noticed the rhino 5 request.
(upload://kgkGwm6wn9BDSGkVlUC7WFQiPZ.gh) (34.1 KB)