Space truss on irregular surface

How do i create a space truss system on a non rectangular surface or a surface with an opening, or both lol
space truss.3dm (360.5 KB)
These are the surfaces im trying to create a truss system for

There are many examples on this forum, have you looked?

https://discourse.mcneel.com/search?q=space%20truss

None of them seem to solve my specific problem, but looking further into several different solutions, I managed to do it, and I also found a very helpful yt tutorial.

Thank you very much !