Truss System on a Curved Roof Structure (Indoor Arena)

I am a civil engineering student and currently trying to create a parametric model for a truss system for my intended curved roof structure. However, I could not figure out how to make the truss to follow the shape of the roof. I am new to Grasshopper, and hopefully, someone could help me to solve this problem. The grasshopper script and the roof model in Rhino are attached. Thank you in advance!

Duplicate of Creating a truss system underneath a curved surface (roof)

Please don’t create duplicates of your questions as it makes it harder for people to track what has and still needs to be anwered @mfrrfm960

See the forum guidelines

Especially the keep it tidy section