Hi Frederick,
> Now that I have rotation working as desired is there a script that can undo all
> the rotations and restore the 3D view to "normal"?
There isn't anything built in for that because there isn't anything really special about that particular view direction. But you can set up a shortcut key to do it:
script: /* Set default 3D view direction */ var vp = moi.ui.mainWindow.viewpanel.getViewport('3D'); vp.setCameraAndTarget( moi.vectorMath.createPoint(25,-50,25), moi.vectorMath.createPoint(0,0,0) ); vp.reset();
That should set the 3D view to the default view direction and then fit to objects. If you want to have the exact default view without fitting to objects leave off the vp.reset(); part of the script.
- Michael
|