Grasshopper Square Pipe

Hi,

I’m trying to pipe these curves square instead of circle.

I tried using Chromodoris by Cam Newnham but because it is inaccurate i have to manually fix the polysurfaces once converted from the mesh.

Does anyone know an easy way to create a ‘rectangle pipe’ so the curves are in the middle of the rectangles?

Thanks in advanced for your response.

SQUARE PIPE CURVES.3dm (470.4 KB)

Can’t look at you file atm, but you could create a center rectangle and sweep it along your curves.