View change

Next
 From:  DannyT (DANTAS)
2104.1 
Hi Michael,

I don't know if it has been asked before, is there a way to orient the model in the 3D view port to display it as front, right etc. views, not actually changing the 3D view port to another view port just the model ?

---------
~Danny~
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  PaQ
2104.2 In reply to 2104.1 
Do you mean a way to switch between perspective/front/right etc. while staying in one maximized viewport ? If so I'll quite interrested by the replies too ^^
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2104.3 In reply to 2104.1 
Hi Danny,

> I don't know if it has been asked before, is there a way to
> orient the model in the 3D view port to display it as front,
> right etc. views, not actually changing the 3D view port to
> another view port just the model ?

Really MoI is set up with the idea that you switch between the different
maximized views to do that. There is a bunch of other stuff that goes
along with that aside from just having the camera direction set, like
the construction plane is set up plan to each of those views
automatically, and those views are set up to be parallel projections
whereas the default 3D view is set to use a perspective projection.
So normally there is a bundle of stuff that is being switched between
those views and the 3D view.

It is possible to set the view direction of the 3D view using a script
macro though.

For example, to set the 3D view to be looking forward like a Front view:
code:
script:moi.ui.mainWindow.viewpanel.getViewport('3D').setAngles( 90, 0 );


However, with the default construction plane you won't be able to draw
in that view because you will be looking down exactly at the edge of it.
So you might want to set the construction plane at the same time like
this:
code:
script:moi.ui.mainWindow.viewpanel.getViewport('3D').setAngles( 90, 0 ); moi.view.setCPlane( moi.vectorMath.createFrontFrame(), false );



That would allow you to stay within the 3D view and just change the direction that it is looking in.

Does that do the kind of thing you're looking for?

- Michael

EDITED: 23 Oct 2008 by MICHAEL GIBSON

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  DannyT (DANTAS)
2104.4 In reply to 2104.3 
Exactly what I'm looking for Michael, it's more a visulisation thing, not really for construction.
Thanks for that, greatly appreciated.

Cheers
~Danny~
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2104.5 In reply to 2104.4 
You're welcome Danny.

Also the one to get a view from the Right would be this:
code:
script:moi.ui.mainWindow.viewpanel.getViewport('3D').setAngles( 90, 90 );

The above is for just the view alone. To do both view and cplane would be this:
code:
script:moi.ui.mainWindow.viewpanel.getViewport('3D').setAngles( 90, 90 ); moi.view.setCPlane( moi.vectorMath.createRightFrame(), false );

and for top, these ones (1st one just view, 2nd one view + cplane):
code:
script:moi.ui.mainWindow.viewpanel.getViewport('3D').setAngles( 0, 0 );
code:
script:moi.ui.mainWindow.viewpanel.getViewport('3D').setAngles( 0, 0 ); moi.view.setCPlane( moi.vectorMath.createTopFrame(), false );


- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2104.6 In reply to 2104.2 
Hi PaQ, let me know if you were looking for something different than the above.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
2104.7 
In the same talking of which idea
As F9 Toggle View follows position of the Mouse
As F11 Toggle Full Screen follows position of the Mouse
Maybe this will be fun in the view 3D : F10 toggle cycle 3D / Top /Bottom / Front /Back / Left / Right ?

EDITED: 23 Oct 2008 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  PaQ
2104.8 In reply to 2104.6 
>> Hi PaQ, let me know if you were looking for something different than the above.

It's perfect Michael :)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All