Loft factory question

 From:  Michael Gibson
5493.7 In reply to 5493.5 
Hi Brian,

> See EditOrientations.js, re List. Which I do not understand.

EditOrientations.js is used in the last stage of the Loft command where in addition to changing various settings in the command options you can also drag the "seam" points and also click on a loft curve inside the viewport to alter how the loft handles the connections between each profile.

That mechanism that displays the seam locations and responds to clicks is the "orientation editor" component, it's kind of similar to the point picker or object picker, it just has this specific job to deal with seam locations and flipping curves.

You can just leave out anything having to do with the orientation when scripting the Loft command and it will do some calculations internally to initialize them to a value that tries to minimize the amount of twist in the generated surface.

- Michael