Extrude a "rectangular pipe" along a curve

Hello, I have some curves and i tried to create a rectangular extrusion along them and it seems that it flattens itself along the way. Ideally i want it to look like this where the rectancle (20x60 centimeters) is centered along the curves:


It looks good on the bottom but it gets weird as it gets highier.

I have no idea how to fix this. Thank you in advance!

extrude_along_curve.gh (52.3 KB)

Iā€™m not familiar with Extrude Along but placing rectangles at both ends of each curve and using Sweep 1 works pretty well.

extrude_along_curve_2023Dec29a.gh (52.4 KB)

This is almost it but ideally I need the rail to be in the middle of the rectangle. Thanks for this fix though!

Then you need to create the rectangles differently, like this:

extrude_along_curve_2023Dec29b.gh (55.4 KB)

1 Like

That makes sense! Thank you, happy new year