sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Smooth Zoom 2.1.0 - 24 October 2021

    Scheduled Pinned Locked Moved Plugins
    76 Posts 31 Posters 83.5k Views 30 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

      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 Online
                  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
                        • A Offline
                          Anton_S
                          last edited by

                          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.

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

                            Thanks Anton.

                            Your tools are always killer!

                            Download the free D'oh Book for SketchUp 📖

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

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

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

                                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 ?

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

                                  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?

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

                                    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.

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

                                      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.

                                      1 Reply Last reply Reply Quote 0
                                      • dereiD Offline
                                        derei
                                        last edited by

                                        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.

                                        DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

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

                                          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!

                                          1 Reply Last reply Reply Quote 0
                                          • dereiD Offline
                                            derei
                                            last edited by

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

                                            DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

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

                                            Advertisement