Rectangular section of a curve

Hello,

I’m trying to give my curves a rectangular section using Grasshopper. My definition works completely fine for the straight curves but not for the “curved” ones (see picture attached). I want the rectangular section to follow exactly the direction of the curves and not make a straight “shortcut”. Does anyone have an idea of how to fix this?



section_curves.gh (15.2 KB)

Hi Monzer,
I think you will find something useful here : Rectangular pipe

Cheers mate :wink:

I just tried it and it worked perfectly!

Thank you very much ! :grinning: