[Plugin] zoom_selection.rb
-
Sorry for some bad news... Sketchup.send_action("viewZoomToSelection:") has zoomed the selection for some time !
Also if you select something and right-click there is a context-menu for this called "Zoom Extents" (Should be called Zoom Selection but lazy bug fixers !)
You can also shortcut key it to Z (I do already) by selecting something and then opening the Preferences Window and Shortcut option, filter for 'Zoom Ex' and you'll get Edit/Item/Zoom Extents - set the Z key to that...
Don't feel bad I have reinvented several inbuilt functions in my time !
-
@tig said:
Sorry for some bad news... Sketchup.send_action("viewZoomToSelection:") has zoomed the selection for some time !
Also if you select something and right-click there is a context-menu for this called "Zoom Extents" (Should be called Zoom Selection but lazy bug fixers !)
You can also shortcut key it to Z (I do already) by selecting something ans then opening the Preferences Window and Shortcut option, filter for 'Zoom Ex' and you'll get Edit/Item/Zoom Extents - set the Z key to that...
Don't feel bad I have reinvented several inbuilt functions in my time !
Thanks TIG, the difference is that if nothing is selected, my zoom selected does a zoom extents. In addition, I add a little extra zoom-out to fit my zooming tastes. A minor enhancement perhaps, but I miss it when it's not there.
-
I say thank you for it much RB work
humanticnc[kecsaphu]
-
Thanks alot!
-
It'd act as 'zoom extents' when nothing selected (a-la 3ds max)
Jim could you expand this rb please? -
@rv1974 said:
It'd act as 'zoom extents' when nothing selected (a-la 3ds max)
Jim could you expand this rb please?This is what it does.
-
@jim said:
@rv1974 said:
It'd act as 'zoom extents' when nothing selected (a-la 3ds max)
Jim could you expand this rb please?This is what it does.
Jim thanks for attention.
I'm afraid it doesn't.
What I mean is the ruby should:- When nothing selected it'd zoom out (not zoom out by a factor of 2). It'd respect group\component extends while editing with the 'hide the rest of model' mode .
- With item selected it'd zoom to object (no complains it's already OK).
- It'd be 'two in one' command: one shortcut for 2 states (see p.1&2)
Edit: If I already got you could you please-please-please add the scale tweaking to your Mover 2? I love this tool but random\exact\by axys scaling is really missing.
Thank you in advance.
-
This plugin is a wonderful idea when I have an imported DWG with real far away geometry that I'd like to select "blindly" geometry that I cannot see. I've tried it though, placing a bunch of components at the 0,0,0 and one component far - 1000 meters away... I select the far away component and it just won't zoom on it... it kind of zooms to extents or something similar, cause if I zoom extents I get something else... ideas?
-
The native Zoom Extents is an interesting tool. If you use Zoom extents from the toolbar, it zooms to fit all of the model that is displayed. If you make a selection and use Zoom Extents from the Context menu, it zooms to the selection.
Often, when I import a CAD file or open a SketchUp file from someone else, I hit Zoom Extents on the toolbar. If the camera zooms out so the obvious geometry is relatively small in the model space, I drag a right to left selection box around the apparently empty space making sure I don't get any of the model. Then I hit Delete and Zoom Extents again to see if I've removed the unneeded stuff.
-
@dave r said:
Often, when I import a CAD file or open a SketchUp file from someone else, I hit Zoom Extents on the toolbar. If the camera zooms out so the obvious geometry is relatively small in the model space, I drag a right to left selection box around the apparently empty space making sure I don't get any of the model. Then I hit Delete and Zoom Extents again to see if I've removed the unneeded stuff.
That is exactly what I do. I zoom extents and select the geometry I can't see and delete it. I was hoping though that with this plugin I could zoom in to the selected geometry to see what it is that I am going to be deleting... but it just won't zoom...
-
So use Zoom Extents from the Context menu.
I used to have a Zoom Extents on a custom toolbar that Jim did that would zoom in to the selection. I'll see if I can find it.
-
Check this out.
There's a command for Center Selection which would probably get you started. On my PC I have his toolbar set up so Zoom Extents zooms to a selection if there is one.
-
@dave r said:
Check this out.
There's a command for Center Selection which would probably get you started. On my PC I have his toolbar set up so Zoom Extents zooms to a selection if there is one.
Thanks!
The plugin from Jim's website (Is it the same Jim?) works!! It zooms to the selected item no matter how far or where it is.
The plugin can be found here:
https://sites.google.com/site/jimfoltz/my-sketchup-plugins/zoom-selection-extents
Advertisement