(Blender Style) 3D View From Any Orthographic View

 From:  Michael Gibson
7192.4 In reply to 7192.1 
Hi Greg, for this first part:

> I would simply like to roll the view into 3D to get a better perspective of what I
> am working on (using the orthographic view as a starting point).

Try setting the following script on a shortcut key. Then when you trigger the key, the 3d view will get set to the same view position and scale as the current 2D viewport, and the view mode will switch to be the full screen 3D view. So after you trigger it you will be switched to the 3D view but it will look the same as the 2D view that you were just in but since it is actually the 3D viewport you are in now, you will be able to freely rotate the view.

script: /* Set 3D view from current 2D view */ var v2d = moi.ui.getActiveViewport(); if ( v2d && !v2d.is3DView ) { var v3d = moi.ui.mainWindow.viewpanel.getViewport('3D'); v3d.projection = 'Parallel'; v3d.setCameraAndTarget( v2d.camerapt, v2d.targetpt ); v3d.fieldOfViewAngle = v2d.fieldOfViewAngle; moi.ui.mainWindow.viewpanel.mode = '3D'; }


Also note that this will switch the 3D view to be a parallel projection which is needed in order for it to be able to match the starting 2D view. A perspective view works pretty differently than an ortho view and can't match up exactly to a 2D view very easily. If you want to switch back to perspective in the 3D view later on, you can switch that by going to Options > View > "3D view projection" dropdown.


Hope this is what you were looking for.

- Michael