Lots of unkown

 From:  Michael Gibson
8665.269 In reply to 8665.268 
Hi Tudor,

> 1. knowing 2 coordonates is it possible to make a frame ? accordigly to http://moi.maxsm.net/ it
> needs 3 (as it is from bbox to frame)

Well 2 points does not identify a unique frame, the 2 points can form a z axis direction for the frame but there is nothing that locks down the x/y axis directions to a single answer. Depending on what you need it can be possible to do something like the AutoCAD arbitrary axis algorithm (link) where you take a fixed direction like the world z axis and use cross product of that and the z axis to produce an x axis.

If you want the 2 points to be an axis to rotate around, you could try the RotateAxis command or factory, that takes 2 points instead of a frame and then a rotation angle and the rotation will be around the direction vector between those 2 points.


> 2. if upper is true wich will be (z) knowing x & y, next hotkey for flipping axis ()

Sorry I don't understand this one.


> 3. if they are other scrips for rotation ?

ScriptArray:
http://moi3d.com/forum/index.php?webtag=MOI&msg=5595.18

RotateArray:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9710.5

RotateAndExtrudeFace:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8126.34

- Michael