GH Truss problem

Hi everyone, ive been experimenting a bit with gh and im trying to make a truss. Ive been able to create the parametric geometry for the truss and ive been trying to make it 3d with a square profile. I know its easier to just use pipe and it works, but making an arrangement for the square pipe has just been imposible to me. Any help would be appreciated. Thanks in advance!
truss (12.8 KB)

truss problem.3dm (45.5 KB)

You didn’t internalize your curve geometry:

Especially if those two curves are straight lines, it’s often better to create them using GH instead of referring to a Rhino file, which requires posting the Rhino file or internalizing them.

heres the gh file with the internalized data
truss (16.8 KB)

truss (13.5 KB)

Thank you! It works perfectly. May I ask what was I doing wrong? Just so I dont repeat the same problem in the future.