[Plugin] Smooth Zoom 2.1.0 - 24 October 2021
-
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
-
Making an update is a piece of cake. I just wanted to include all the feature requests and fix bugs before uploading, but upon your request I'll upload 64bit version shortly.
-
Thanks Anton.
Your tools are always killer!
-
Thanks Rich
I made an update to work with SU 64bit. Note that it requires AMS Library. There are still feature requests to add and bugs to fix, such as making it work properly while Fredo tools are active. Maybe someday...
-
Bonjour Anton
Smooth Zoom v1.1.0 installĂ© sur SU Make v15.3.331 64 bits, sous Windows 8.1 fonctionne parfaitement en mode camera rĂ©glĂ© sur "Perspective" ou sur "Perspective Ă deux points", mais ne semble pas fonctionner correctement si mode camera rĂ©glĂ© sur "Projection parallĂšle" : la molette de la souris provoque un dĂ©placement latĂ©ral de la vue, et non un zoom. Mis peut-ĂȘtre est ce normal ? -
Bonjour Anton
Smooth Zom v1.1.0 installé sur SU Make v15.3.331 64 bits sous Windws 8.1 fonctionne parfaitement en mode "Camera" réglé sur "Perspective" et sur "Perspective à deux points"
Par contre, il me semble ne pas fonctionner correctement en mode "Camera" rĂ©glĂ©e sur "Projection parallĂšle": la molette de la souris provoque un dĂ©placement latĂ©ral de la vue de gauche et de droite, et non un zoom. Mais peut-ĂȘtre est-ce normal? -
Bonjoir, LANDRY Patric. That plugin with parallel projection is indeed pretty weird. I will look into this someday. Meanwhile, you can always disable smooth zoom when switching to parallel projection. Uncheck Plugins -> AMS Smooth Zoom -> Enable and you're good to go. Thanks for the report.
-
This is an excellent plugin! I've been trying to control the wheel speed since the first time i worked with sketchup and FINALLY now i can. Thank you so much!!!
i would like to propose a future feature: the ability to control the zoom-in and zoom-out parameters independently. It seems a have to scroll a little more when i zoom-out to get to the same place i was before zooming-in.
-
Just tested the plugin. I like the fact it makes the zoom smoother, but from what i could see, this plugin can't make the zooming factor smaller than sketchup's default, although it can increase the factor. Is fun to play with those inertial modes when the transition is sensibly longer.
Few suggestions:
-see if the zooming factor can be DECREASED, this would help in case of precision zooming needs.
-please consider moving it in Camera Menu, because everybody is putting their plugin in Extensions, as there is no other place in SketchUp. And that menu becomes longer than some screens height...Good Luck.
-
Derei, if I understood you correctly, you want to reduce the zooming intensity, right? You can decrease the zoom factor by going to Plugins->AMS Smooth Zoom->Options and reducing intensity, to say, 0.1. Thanks for your feedback!
-
@anton_s said:
Derei, if I understood you correctly, you want to reduce the zooming intensity, right? You can decrease the zoom factor by going to Plugins->AMS Smooth Zoom->Options and reducing intensity, to say, 0.1. Thanks for your feedback!
Factor 0.1 from what i could see, actually makes the zooming intensity equal to "sketchup default". Higher values will make zooming faster (in bigger steps).
I was hoping to go under sketchup's default. To have a smoother zoom in terms of precision, not only visualization.
Advertisement