Align cross sections of sweeps to surface

Hi
I have been struggling to create sweeps for timber lattice of a ceiling design. I keep failing to make the cross sections of these sweeps align to normal of the reference/base surface.

I know there have been a lot of discussion about ‘box pipes’ on this forum but I have not found solution to my problem yet.

diagrid.gh (17.9 KB)

DUPLICATE THREAD: