Zoom all quad views in or out at once

Next
 From:  Metin (METIN_SEVEN)
10352.1 
Hi Michael et al,

I was wondering if it would be possible to zoom all viewports in or out at the same time, with one zoom gesture?

I often focus on an object using script: moi.view.resetAll(); and then like to see some surrounding space in all views.

Thanks!

─ Metin

visualizer • illustrator • 3D designer — metinseven.nl
  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
10352.2 In reply to 10352.1 
Hi Metin,

re:
> I was wondering if it would be possible to zoom all viewports in or out at the
> same time, with one zoom gesture?

Try setting up a shortcut key with this script on it:

script: /* Zoom all viewports out a little */ var vnames = [ 'Top', 'Front', 'Right', '3D' ]; for ( var i = 0; i < 4; ++i ) { moi.ui.mainWindow.viewpanel.getViewport(vnames[i]).zoom( 1.1 ); }

- 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:  Metin (METIN_SEVEN)
10352.3 In reply to 10352.2 
Great, thanks for your service Michael!

Enjoy your weekend!

─ Metin

visualizer • illustrator • 3D designer — metinseven.nl
  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:  nameless
10352.4 In reply to 10352.2 
and anything below 1 in zoom( x ) field will zoom in! The closer to 1, the smaller the zoom increments. (for example zoom( 0.9 ) )

I have no clue about scripting, but I just tampered with it like a monkey in a spaceship lol
  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:  Metin (METIN_SEVEN)
10352.5 In reply to 10352.4 
Haha, nice to know, thanks!

─ Metin

visualizer • illustrator • 3D designer — metinseven.nl
  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:  MajorGrubert (CARLOSFERREIRAPINTO)
10352.6 
Hello Michael,

Is this possible in Options (zoom independent and together) and also a short-cut?
Thank you.
  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
10352.7 In reply to 10352.6 
HI Carlos,

re:
> Is this possible in Options (zoom independent and together) and also a short-cut?

There is an option under Options > View > Rotate/Pan/Zoom options > "Link ortho views" which will keep the Top/Front/Right views to be all at the same zoom level. When that is enabled if you zoom in the Top view for example, the Front and Right views will also update.

Is that what you were asking about or is it something different?

- 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:  Metin (METIN_SEVEN)
10352.8 In reply to 10352.7 
Wow, that's a useful hidden option I hadn't discovered yet, thanks Michael!

─ Metin

visualizer • illustrator • 3D designer — metinseven.nl
  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:  MajorGrubert (CARLOSFERREIRAPINTO)
10352.9 
Hi Michael,

Yes, but be able to turn it off/on with a short-cut?

Thanks.
  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
10352.10 In reply to 10352.9 
Hi Carlos, you can set up a shortcut key to toggle the "Link ortho views" option on or off with this:

script: /* Toggle link ortho views */ moi.view.linkOrthoViews = !moi.view.linkOrthoViews;

- 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
 From:  MajorGrubert (CARLOSFERREIRAPINTO)
10352.11 
Thank you 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