Is it possible to change the shape of "pipe" for a group of centerlines? for example, a rectangle? sweep is not good here

Hi everyone,

As we know the “pipe” is a good function to create pipes even for a group of centerlines. However, the section shape must be circle. Is it possible to have different secion shape? I tried to realize it using sweep function, but it is bad.

Thanks for any suggestions and idea!

Here the centerlines and the rectangle section are attached.

centerlines.3dm (29.5 KB) (8.3 KB)


Nice (and quick) work, Kim!!
Thank you so much for your kind help, especially in the weekend!

If you search in the forum you find solutions