Hotkey and UI requests

 From:  Mike K4ICY (MAJIKMIKE)
5141.13 In reply to 5141.12 
Rich,

Here are two different flavors of "parallel" view:

Here is Parallel view at that 30/60 degrees thing... "Dimetric"
code:
 script:var vp = moi.ui.mainWindow.viewpanel.getViewport('3D'); vp.projection = 'Parallel'; var as13 = Math.asin(1/3); vp.setAngles( 90 - (Math.asin(Math.tan(as13)) * 180/Math.PI), as13 * 180/Math.PI ); 


Here is a Parallel view at 45 degrees... "Isometric"
code:
 script:var vp = moi.ui.mainWindow.viewpanel.getViewport('3D'); vp.projection = 'Parallel'; vp.setAngles( 90 - (Math.asin(Math.tan(30 * Math.PI/180)) * 180/Math.PI), 45 ); 


And to get things back in Perspective...
code:
 script:var vp = moi.ui.mainWindow.viewpanel.getViewport('3D'); vp.projection = 'Perspective'; 


Really good for when you're trying to get that "old school" look.

EDITED: 21 May 2012 by MAJIKMIKE