sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [Plugin] Smooth Zoom 2.1.0 - 24 October 2021

    Scheduled Pinned Locked Moved Plugins
    74 Posts 30 Posters 83.4k Views 29 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      Anton_S
      last edited by Anton_S

      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.

      K 1 Reply Last reply Reply Quote 0
      • pilouP Offline
        pilou
        last edited by

        Confortable! β˜€

        Frenchy Pilou
        Is beautiful that please without concept!
        My Little site :)

        1 Reply Last reply Reply Quote 0
        • A Offline
          Anton_S
          last edited by

          Thanks, Pilou! I find it very convenient. I wish SU made this part of its features.

          1 Reply Last reply Reply Quote 0
          • N Offline
            numerobis
            last edited by

            VERY COOL! I will install it now! Thank You! πŸ˜„

            1 Reply Last reply Reply Quote 0
            • C Offline
              cadmunkey
              last edited by

              Fantastic, SU needs this so much on large models! Cheers.

              1 Reply Last reply Reply Quote 0
              • F Offline
                function
                last edited by

                I was just thinking of this idea in SKP last week! thanks anton

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Anton_S
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • BoxB Offline
                    Box
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • Rich O BrienR Offline
                      Rich O Brien Moderator
                      last edited by

                      Anton you are a legend!

                      Download the free D'oh Book for SketchUp πŸ“–

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        function
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Anton_S
                          last edited by

                          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.

                          1 Reply Last reply Reply Quote 0
                          • BoxB Offline
                            Box
                            last edited by

                            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.

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Anton_S
                              last edited by

                              Thanks for feedback, Box.

                              I will see if what I can do to improve it.

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                johnwmcc
                                last edited by

                                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.

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Anton_S
                                  last edited by

                                  @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

                                  1 Reply Last reply Reply Quote 0
                                  • Rich O BrienR Offline
                                    Rich O Brien Moderator
                                    last edited by

                                    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)>'
                                    

                                    Download the free D'oh Book for SketchUp πŸ“–

                                    1 Reply Last reply Reply Quote 0
                                    • TIGT Offline
                                      TIG Moderator
                                      last edited by

                                      @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)
                                      

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        Anton_S
                                        last edited by

                                        Ugh, I forgot about this plug... Will update once get home.

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          Berserk
                                          last edited by

                                          Very nice idea! And it will be better if add scrolling speed dependence.

                                          1 Reply Last reply Reply Quote 0
                                          • L Offline
                                            leetran72
                                            last edited by

                                            @anton_s said:

                                            Ugh, I forgot about this plug... Will update once get home.

                                            When will you fix it for x64 T.T

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement