Sweep1 fails when trying to create a square-section pipe along a curve

Hi everyone,

I’m trying to extrude/sweep a square profile along a curve, basically like the Pipe command, but with a square section instead of a circular one.

When I use Extrude Along, the section gets flattened/distorted when the curve changes direction.
When I try using Sweep1, I get this error:

“Sweep could not be created”

I can’t figure out what is causing the problem or how to set up the square section correctly so that it follows the curve without deforming.

I’ve attached the Grasshopper file.

Thank you very much for your help!

Sweep Fail.gh (21.2 KB)

given your Profile curves are all polylines, maybe you are looking for something like MeshPipe with 4 edges?


Sweep Fail_Re.gh (27.7 KB)

From your screenshot, it seems to work! However, I can’t find the component you used. Which plug-in is it from?

When I open the file, grasshopper can’t download/install it automatically.

oh sorry, I’ve been using it forever didn’t even remember it’s not Vanilla

it comes from here: https://www.grasshopper3d.com/forum/topics/mesh-pipe

Thank you so much!!

Well, 24 x 24 = many
GRAFT


Sweep FaEWil.gh (22.8 KB)

Thank you!

Hi @Cecilia_Martello,

This should just work. I’ve logged a bug.

– Dale