[Plugin] Smooth Zoom 2.1.0 - 24 October 2021
-
Description
SmoothZoom makes zoom in/out mouse wheel transitions smoother just like in new apps. This is useful in case your mouse wheel has notches, which yield bumpy zoom in/out transitions.
Controls
- (Menu) Extensions → SmoothZoom → Enabled (Toggle)
Use to turn on/off smooth zoom (turned on by default)
-
(Menu) Extensions → SmoothZoom → Options
-
Duration: controls how long each mouse wheel notch should last. The higher the value, the longer the zoom. By default, the value is set to 250 ms. If you are using the X mouse buttons to zoom in/out, change the duration to 50 ms for normal zoom behavior. See this post http://sketchucation.com/forums/viewtopic.php?f=323&t=59140&start=30#p687355
-
Notches per second: how many notches to dispatch per second. The higher the value, the smoother the zoom (but also the slower the render). The lower the value the bumpier the zoom. You should keep this value as is, at 60 notches per second unless you experience slow performance, in which case you can reduce.
Requirements
- Microsoft Windows XP, Vista, 7, 8, or 10. This does not work with Mac OS X.
- SketchUp 6 or later (only tested with SU2020 and SU2022 but should be compatible with all SU versions on Windows)
- Note: If you're using SU2019, ensure to install the latest version of SU2019. Older versions of SU2019 will error out.
Download
SmoothZoom is available at [url=https://sketchucation.com/pluginstore?pln=ams_SmoothZoom:23q029ao]SketchUcation ExtensionStore[/url:23q029ao]
SmoothZoom can be installed through SketchUcation ExtensionStore, provided that [url=https://sketchucation.com/resources/plugin-store-download:23q029ao]SketchUcation Tools[/url:23q029ao] is installed.
To install manually, download the RBZ file and refer to [url=https://help.sketchup.com/en/extension-warehouse/adding-extensions-sketchup:23q029ao]Installing Extensions[/url:23q029ao] for instructions.
To uninstall, navigate to your plugins folder and delete ams_SmoothZoom folder and ams_SmoothZoom.rb file.
-
Confortable!
-
Thanks, Pilou! I find it very convenient. I wish SU made this part of its features.
-
VERY COOL! I will install it now! Thank You!
-
Fantastic, SU needs this so much on large models! Cheers.
-
I was just thinking of this idea in SKP last week! thanks anton
-
@numerobis said:
VERY COOL! I will install it now! Thank You!
Thank you
@cadmunkey said:
Fantastic, SU needs this so much on large models! Cheers.
Thank you
@function said:
I was just thinking of this idea in SKP last week! thanks anton
And Thank you
I found some type where this new zoom tool doesn't behave properly. I will investigate and upload a fix next week. As well, I think camera acceleration and deceleration should be added too.
-
Oh what a difference! Excellent.
That's one of those plugins that you didn't really know you needed but now couldn't do without. -
Anton you are a legend!
-
@anton_s said:
@numerobis said:
VERY COOL! I will install it now! Thank You!
Thank you
@cadmunkey said:
Fantastic, SU needs this so much on large models! Cheers.
Thank you
@function said:
I was just thinking of this idea in SKP last week! thanks anton
And Thank you
I found some type where this new zoom tool doesn't behave properly. I will investigate and upload a fix next week. As well, I think camera acceleration and deceleration should be added too.
The plug stopped working for me, panning left and right instead of zooming, but I was and am still assuming it has to do with all the mousehook ahk files I'm running.
Here is another idea on the lines of acceleration: flick-panning
I hated this feature when adobe put it on default in photoshop, but have since grown to love it for quick navigation. -
Thanks, function.
I have some tool installed and encounter similar problems where the mouse wheel in Sketchup stops workin'. This happens because the tool doesn't pass it's mouse hook notifications to the next hook on the list, which prevents my hook from working. I will see if I could change my script to use a different type of hook, such as message proc, which can also monitor mouse wheel messages.I will see if I could implement the flick-panning feature. Thanks for suggestion.
-
I'm finding it quite unstable, it often needs to be disabled and enabled to get it going again. It doesn't play well with some other plugins. For example Fredo's new VisuHole makes it run slow and then drop the zooming function while still showing enabled.
Love the plugin, just catching bugs. -
Thanks for feedback, Box.
I will see if what I can do to improve it.
-
Just tried this on 64-bit Win7 and SU 2015 Pro 64-bit - crashes on launch with error that starts:
Error Loading File C:/Users/John/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/ams_SmoothZoom/main.rb
Error: #<LoadError: 193: %1 is not a valid Win32 application. - C:/Users/John/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/ams_SmoothZoom/win32/2.0/ams_smooth_zoom.so>Presumably designed for 32-bit SU?
Had to delete from Plugins folder.
Works very nicely in older SU 2014 32-bit - it would be great to have it updated for 64-bit SU 2015, if possible.
-
@johnwmcc said:
Works very nicely in older SU 2014 32-bit - it would be great to have it updated for 64-bit SU 2015, if possible.
Hello John,
Sorry for not replying. I never noticed this post.
Yes, the plugin is not compatible with SU2015. I already got it working, but I want to add all prior requests before posting the new version.
-- Anton
-
Hi Anton,
Getting this on SU2015 at startup....
Error Loading File C;/Users/user1/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/ams_SmoothZoom/main.rb Error; #<LoadError; 193; %1 is not a valid Win32 application. - C;/Users/user1/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/ams_SmoothZoom/win32/2.0/ams_smooth_zoom.so> C;/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb;45;in `require' C;/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb;45;in `require' C;/Users/user1/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/ams_SmoothZoom/main.rb;8;in `<top (required)>' C;/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb;197;in `require' C;/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb;197;in `load' C;/Users/user1/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/ams_SmoothZoom.rb;55;in `register_extension' C;/Users/user1/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/ams_SmoothZoom.rb;55;in `<module;SmoothZoom>' C;/Users/user1/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/ams_SmoothZoom.rb;37;in `<top (required)>'
-
@rich o brien said:
Hi Anton,
Getting this on SU2015 at startup....Error Loading File C;/Users/user1/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/ams_SmoothZoom/main.rb > Error; #<LoadError; 193; %1 is not a valid Win32 application. - C;/Users/user1/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/ams_SmoothZoom/win32/2.0/ams_smooth_zoom.so> > ...
Looks like you have 64bit SUp v2015 and this tool has a Ruby? 32 bit .so ?
It quite possible to compile two or more .so files, so they are either 32 bit or 64 bit and load/require the correct one...
For example..if defined?(Sketchup.is_64bit?) && Sketchup.is_64bit? ### >= v2015 my_so = File.join(File.dirname(__FILE__), 'win32', '2.0', 'ams_smooth_zoom_64.so') else ### it's < v2015 and/or 32 bit - use existing .so version ? my_so = File.join(File.dirname(__FILE__), 'win32', '2.0', 'ams_smooth_zoom.so') end require(my_so)
-
Ugh, I forgot about this plug... Will update once get home.
-
Very nice idea! And it will be better if add scrolling speed dependence.
-
@anton_s said:
Ugh, I forgot about this plug... Will update once get home.
When will you fix it for x64 T.T
Advertisement