Creating rectangular pipes aalong multiple curves

I am trying to create rectangular pipes along multiple curves which are basically lines made from division points of two curves in a plane.
Can you please help out with the fastest, easiest way possible?

to get help on your specific case please post your GH file with internalized geometries (curves)

this might be one general solution among the many:

Rectangular Pipes Along (12.2 KB)

Thank you very much. I think it should work.
Attaching my GH file here anyway. You’ll have to link two curves. (15.6 KB)