Hello everyone. Please bear with me. I drew some curves manually in Rhino, subdivided them in Grasshopper, and then wrote a script to randomly move the points. The goal is to loft the two close curves. When I loft directly using the Rhino command, it works beautifully, like the image on the right, but in GH it’s all messed up (left). I even took care to close the curves first in GH, but it is still not working. Any idea please?
Without being able to see the data, it looks like your curves are not all oriented in the same direction, this is why there is a twist at the top and bottom. It also looks like the curves may be lofting in the wrong order, or wrong sets.
Apologies for that, and thank you for trying to help. Here is the updated file where I internalized data on all curve components. I also uploaded the Rhino file.
It is debatable whether it makes sense to loft the entire object. I would orient the curves so they sit symmetrically on the origin and just loft one half of the curved face. Ok, I see the front and back are different…
As a quick workaround and to avoid messing too much with your definition I lofted the segments individually with the rebuild option. If you really want to loft two closed curves, you need to sort the segments before joining them.