Perpendicular surfaces

Hi @Mahdiyar

I have some surfaces and a sun position which stand as a point, as you know all surfaces have a centroid so I want all surfaces as perpendicular facing to the sun, I made the vectors between the sun position and centroid, how should I rotate or make new surfaces according to my goal?

Nariman
PV_Analysis.gh (1.3 MB)


SunVector.gh (1.2 MB)

@Mahdiyar Thanks a lot.