Scripting BLEND

 From:  Michael Gibson
6955.5 In reply to 6955.4 
Hi Brian,

> So Input 0 is for the curves, (or edges)
> Input 1 is for orientation, and ... etc.

For Blend:

Input 0 = Object list, objects to blend (either curves or edges).
Input 1 = Orientation list, determines direction flipping and also seam position for surface blend between closed edges
Input 2 = Continuity, string of 'G1', 'G2', or 'G3'
Input 3 = Bulge factor, floating point number
Input 4 = List of points for optional sync points for surface blend.
Input 5 = optional x,y,z vector for surface blend planar sections direction


> I do not understand how the orientations get in there from picking curves in certain
> areas, but Flow is doing it too. It must be the Magic of Moi programing.

If they were selected by a click and the click was near the end of the curve, it sets .flipped = true on the orientation record for that curve which means blend from the end of the curve rather than the start of it.

If they were not click selected (either window selected, select all, or done by scripting), it will test distances from endpoint to endpoint and set flipping so the minimum distance combination will be used.

This all happens inside the Blend factory when it processes objects.

- Michael