Seam Positioning for Loft command

Hello,

I am working on a command that creates lofts using Brep.CreateFromLoft and I’m trying to replicate how the Loft command chooses its seam points. How does the automatic and natural options decide where seam points should be?

Hi @Cristopher_Russ,

The Normal option is the easiest to explain. When you run the Loft command and pick closed curves, the seam-adjustment UI appears and shows you what Automatic look like. The Normal option simply resets the curves to their original input value.

Automatic, on the other hand, it quite a bit more complicated. But in the end, it boils down to direction matching and closest point calculations.

– Dale

Ahh okay thank you.

I’ve also noticed that clicking automatic twice on this particular set of curves changes the position of seam for the last curve. Not sure if this a bug, but I thought I would mention it.
20230831-LoftBug.3dm (20.4 KB)