Elastica script

 From:  Michael Gibson
7001.19 In reply to 7001.18 
Hi Brian,

re exception here:
code:
var Frame = moi.vectorMath.createFrame( FrameOrigin, FrameXAxis, FrameYAxis );

In order to form a coordinate system the given xaxis and yaxis can't be parallel to one another.

Ideally they should be at a 90 degree angle to each other so they directly form an orthonormal frame. But it will tolerate if they are not 90 degrees to each other but they can't be parallel because they need to have a z axis direction formed by the cross product between them.

So if the angle between them is less than 2 degrees it will throw an "Invalid argument" exception.

- Michael