How to sweep on non-planar closed polyline to get a closed BREP?

Sweep on Non_planar Polyline Rail.gh (35.2 KB)

I am trying to get closed BREP using the sweep method on a non-planar polyline.
I tried many plugins. None of them deliver a closed BREP result.
The most closed one is Sweep12 from Flexibility as shown below.

Is this an impossible task? If so, why?

Thanks!


I’ve tried a few things and I think you will have to use loft to get a closed brep.

Most probably the result will always have a few twisted surfaces unless the result is a moebius strip.

Setting the correct rotation of the sections is challenging. I tried with Galapagos and Kangaroo.

Below is the file with my Kangaroo definition.

For the basic model I’m projecting one section per segment to a miter plane in the following corner.

7 polylines are lofted into a closed brep.

sweep_rail_sections_loft.gh (48.6 KB)

OH MY GOD! Thank you very much for doing this, this is a huge work!

:slight_smile:

Most of it is Kangaroo. This here is the essential part for the loft:

I will take my time to digest this, BIG THANKS!