Can't solve space truss

Hi! I’m new to Grasshopper so I still have difficulties making structures. I want to make a parametric Space Truss with a curvature. I have the surface and the closest points of the surface but I can’t go an
y further. Any tips on how to solve this structure?
Space (21.8 KB)