I'm quite new in Grasshopper and I'm trying to panel a surface with panels that respond to an attractor point. I'm trying to make the panels so that they are either closed or they open away from the surface.
The code that I use just shrinks them by the diagonal vector and I'm having hard time changing that vector to be away from the input surface.
You could either use the Cross Product Component to calculate the perpendicular vector from 2 edges of the surface, or use the Evaluate Surface Component to calculate the normal of a surface at a given point, like the centroid or the corner.