Improved Zoom to Selection

free scripts, plugins, models, textures
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Improved Zoom to Selection

Post by clintonman »

The zoom to Selection script included with the Unofficial patch has been improved.

Changes:

Can zoom to a single edge selection.
Can zoom to 3d encapsulated objects.

http://www.clintons3d.com/plugins/trues ... index.html" onclick="window.open(this.href);return false;
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Improved Zoom to Selection

Post by clintonman »

Update:
January 2012
Improved zoom to single edge, one line of code from an earlier fix was wrong.
Zoom to all objects in the scene via ctrl-shift-double middle click.
Clinton Reese

http://clintons3d.com
User avatar
Draise
Captain
Posts: 3199
Joined: 21 Sep 2009, 19:33
Type the number ten into the box: 0
Location: Bogota, Colombia
Contact:

Re: Improved Zoom to Selection

Post by Draise »

How can I asign a shortcut key to the zoom to selection instead of using the MMB???... (I don't have one)
Link to a new thread :
http://united3dartists.com/forum/vi ... =39&t=3222
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Improved Zoom to Selection

Post by clintonman »

Update: Feb 2015

Change so it only zooms one 3D view instead of all open 3D views
Clinton Reese

http://clintons3d.com
User avatar
Draise
Captain
Posts: 3199
Joined: 21 Sep 2009, 19:33
Type the number ten into the box: 0
Location: Bogota, Colombia
Contact:

Re: Improved Zoom to Selection

Post by Draise »

Good update. I knew it did that, but didn't... report it. Oops!
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Improved Zoom to Selection

Post by trueBlue »

Its me again... :idea:
Can you take a peak at your Zoom to Selection script?
activeWindowOnly is not working or I am miss understanding it's use.
Is it possible to get this to work when viewing from a scene Camera.
If it is to complicated, no big deal. It works with the Eye Camera just fine.
D3D View.png
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Improved Zoom to Selection

Post by clintonman »

trueBlue wrote: 22 Jun 2020, 00:41 Its me again... :idea:
Can you take a peak at your Zoom to Selection script?
activeWindowOnly is not working or I am miss understanding it's use.
Is it possible to get this to work when viewing from a scene Camera.
If it is to complicated, no big deal. It works with the Eye Camera just fine.
D3D View.png
Hmm, don't think I ever tried it with a camera view. I'll let you know.
The activeWindowOnly looks like something that was started but never finished. I don't know if it works with widgets, but I did add it to my upcoming UU4Clinton scripts to zoom one window or zoom all windows.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Improved Zoom to Selection

Post by trueBlue »

I am not sure of the disadvantage but I was thinking that Lights and Cameras should be filtered out.
For me, Zoom to Selection is really useful when Point Editing
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Improved Zoom to Selection

Post by clintonman »

trueBlue wrote: 22 Jun 2020, 01:24 I am not sure of the disadvantage but I was thinking that Lights and Cameras should be filtered out.
For me, Zoom to Selection is really useful when Point Editing
If you don't want to zoom to them don't include them in your selection.
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Improved Zoom to Selection

Post by clintonman »

trueBlue wrote: 22 Jun 2020, 00:41 ...
Is it possible to get this to work when viewing from a scene Camera.
If it is to complicated, no big deal. It works with the Eye Camera just fine.
D3D View.png
Checked and couldn't find any way to do it. Cameras seem to be tied to the view by invisible magic.
Clinton Reese

http://clintons3d.com
Post Reply