Sweep2 failing

Hello,

I’m using Sweep2 to create profile on some curves with mixed success. Two profiles work well while one doesn’t make any sense at all. The profile pairs are aligned in the same direction, a when I bake the geometry in rhino, I can sweep2 the surface as desired. I have about 100 of these to do so manually won’t really work, and sweep1 doesn’t work at all. How can I find a work around?

Here is the GH file:

sweep2_broken.gh (25.4 KB)

It looks like the section curves were not properly sorted. If you preview with the Loft you can see how they were actually ordered. I resorted them using Sort Along Curve before sweeping.

sweep2_broken-b.gh (37.1 KB)

Thank you Ethan! Working as expected now