Orient geometry to surface

Hi !

I’m very new to Grasshopper and absolutely need to work with it for this project of perforated pannels. Someone was kind enough to help me yesterday with a definition that attracts/repulses geometry. Hoewever this needs to be done in more than one plane as the pannels change in the XY direction. I know it has to do with the surface normal and plane of the geometry for it to lay flat on the surfaces, But I cant seem to find how to do this as there seems to be many different ways. I have highlighted in purple where I believe it would fit in,

Thank you !

PATTERN REPULSION_ATTRACTION_2.gh (14.9 KB)

Use the Surface Frames component.