Build a beam in the grasshopper

Hi guys, i am a beginner in grasshopper.

I’ve been trying to build this curve for days, but without success.

coluna parametrica
beam.3dm (99.3 KB)

Should be something like that

solution2.gh (7.0 KB)