I am trying to creates rectangles at randomized places on this surface. I have gotten nearly what I want, except the rectangles I have created are not to the correct orientation. I have been trying to do something like changing their surface normal or juts flipping their orientation, but no matter what I try something goes wrong. Any help is appreciated.Rectangles on surface .3dm (5.3 MB) Rectangles on surface.gh (17.6 KB)
it was almost there with the orient. it needed the initial planes, which were the randomly reduced points, to be fed into an xz plane before orienting. maybe this works for you.
Rectangles on surface.gh (13.8 KB)