Making bridge flat

Any way to make this “bridge” flat for any curve?

The problem has to do with the plane where the beams are created.

image

Any ideas?

flattening bridge.gh (24.5 KB)

flattening bridge_2024Feb29a
flattening bridge_2024Feb29a.gh (24.1 KB)

This code is way too complex :exclamation:

The PRot could probably be avoided if you used DePlane ‘Y’ instead of ‘X’?

Using large numbers for units (millimeters?) prevents you from seeing the very informative plane icons,

thanks!