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

    [Plugin] Simple Scale Tool Handles v1.2 7-25-2011

    Scheduled Pinned Locked Moved Plugins
    49 Posts 19 Posters 37.2k Views 19 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.
    • dereiD Offline
      derei
      last edited by

      Simple and Awesome. some things should be by default in SU

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

      1 Reply Last reply Reply Quote 0
      • kenK Offline
        ken
        last edited by

        This is nice plugin and needed by me since I work in large size 1/4" thick steel plate. I have added a icon and now trying to make the selection of the icon a toggle, Simple to Default and back.

        Thanks for your work

        Ken

        Fight like your the third monkey on Noah's Ark gangway.

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

          A very simple yet very clever new tool. 🤓
          Which shows us that there are still many new or alternative ideas that can be realized without thousands of lines of code... 😄

          TIG

          1 Reply Last reply Reply Quote 0
          • jolranJ Offline
            jolran
            last edited by

            Great tool Kyyu! Thanks.

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              Might want to wrap that up on a start/commit operation so it can be undone in one go.

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

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

                Thank you very much.

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

                  @krisidious said:

                  are you saying this flattens stuff?

                  No, it changes the apperance of the skechup native scale tool. The right part in the image shows the change.

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

                    Very handy. Thanks.

                    Hi

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

                      @thomthom said:

                      Might want to wrap that up on a start/commit operation so it can be undone in one go.

                      I had the start/commit operation in there originally, but no undo was created? So I removed it. Any other benifit of having it in there?

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

                        kyyu

                        I see what you mean - it seems that the resetting of the scale-handles happens outside of the undo stack ? The definition.behavior.no_scale_mask= seems weird in this respect ? Fortunately you have a simple reset to 'all' in your dialog choices... 😕

                        TIG

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

                          I added a toolbar. 1st post updated to version 1.1

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

                            Thanks! 😄

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rv1974
                              last edited by

                              Hi Kyyu!
                              Could you please make a simple version of the script without any icons and dropdown options?
                              Just a distillated simple scale ruby. Please!
                              Thank you!

                              1 Reply Last reply Reply Quote 0
                              • halroachH Offline
                                halroach
                                last edited by

                                @kyyu said:

                                @unknownuser said:

                                Description: This plugin makes it easier to use the scale tool, on thin sheet parts. When the scale tool is used on a modified component/group, the drag handles are reduces from the normal 26 to only 10. Tested on SU8, and also seems to work with SU7.

                                From Plugins Menu: If nothing is selected, than all active groups/components are processed. Run from the Plugins menu: "[ky] Simple Scale Handles"

                                Nice plugin!
                                Though it doesn't work for me as described. If I select one component, and run the tool, it still effects all of the components, except for components that are within components. No matter what I select, it always effects everything.

                                FlexTools - Super Quick Windows, Doors, Slats...

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

                                  @unknownuser said:

                                  @kyyu said:

                                  @unknownuser said:

                                  Description: This plugin makes it easier to use the scale tool, on thin sheet parts. When the scale tool is used on a modified component/group, the drag handles are reduces from the normal 26 to only 10. Tested on SU8, and also seems to work with SU7.

                                  From Plugins Menu: If nothing is selected, than all active groups/components are processed. Run from the Plugins menu: "[ky] Simple Scale Handles"

                                  Nice plugin!
                                  Though it doesn't work for me as described. If I select one component, and run the tool, it still effects all of the components, except for components that are within components. No matter what I select, it always effects everything.

                                  From the plugin menu? I just double check and it works the way it should. From the toolbar icon, it's supposed to only processes everything (if you look at the next paragraph in the description). The idea was that a depressed icon would indicate, you had processed everything. Although, I could probably set it up so the toolbar can be used with selection and only depress whatever was last all processed. You can still click the icon, when it is depressed. Is that the way people would like to have it set up?

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

                                    @rv1974 said:

                                    Hi Kyyu!
                                    Could you please make a simple version of the script without any icons and dropdown options?
                                    Just a distillated simple scale ruby. Please!
                                    Thank you!

                                    You really want a one way ruby? copy/paste into ruby console or .rb file.

                                    UI.menu("Plugins").add_item("simple scale handles"){Sketchup.active_model.definitions.each{|e|e.behavior.no_scale_mask=88}}
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      kyyu
                                      last edited by

                                      Updated to v1.2, see 1st post. The menu item has always processed the selection, if it exsit. Now the toolbar icons do this, too. But there is an option to change it back to only processing all. See the description. Also, I darkened the icons.

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        rv1974
                                        last edited by

                                        @kyyu said:

                                        @rv1974 said:

                                        Hi Kyyu!
                                        Could you please make a simple version of the script without any icons and dropdown options?
                                        Just a distillated simple scale ruby. Please!
                                        Thank you!

                                        You really want a one way ruby? copy/paste into ruby console or .rb file.

                                        UI.menu("Plugins").add_item("simple scale handles"){Sketchup.active_model.definitions.each{|e|e.behavior.no_scale_mask=88}}
                                        

                                        It's gettinng better. There's one last step. Now your simplified script assures that the next scale operation will be with simple handles, correct? What I'd like to get is simplified scale all together at once.
                                        Thank you so much

                                        1 Reply Last reply Reply Quote 0
                                        • halroachH Offline
                                          halroach
                                          last edited by

                                          @kyyu said:

                                          Updated to v1.2, see 1st post. The menu item has always processed the selection, if it exsit. Now the toolbar icons do this, too. But there is an option to change it back to only processing all. See the description. Also, I darkened the icons.

                                          The last update 1.2 works like expected. It was a bit confusing for me when the menu item was doing something different than what the toolbar was doing.
                                          By what it looks, basically what the plugin does is change the scale properties for each component, right?

                                          1. I think some people may confuse this tool as being a separate scale tool that scales only in the XYZ direction...
                                            but it is actually a tweak for each component to scale differently, with the original scale tool. I guess it is similar to using dynamic component scale attributes (as in the image attached)

                                          2. would this tweak have any effect on model performance? or file sizes!? When I was using dynamic component attributes for this exact same scaling idea, it used to make overall sketchup performance a bit laggy at times.

                                          3. Is it at all possible to have a separate scale tool that would do just this, without the need to change properties of each or all of the components, a tool that would work on simple un-grouped geometry as well?

                                          thanks!


                                          same thing using dynamic component attributes

                                          FlexTools - Super Quick Windows, Doors, Slats...

                                          1 Reply Last reply Reply Quote 0
                                          • halroachH Offline
                                            halroach
                                            last edited by

                                            In the latest version 1.2, there is a problem that the simple scale isn't constrained to only X Y Z, but also one more XY... see attached image.
                                            I used the toolbar to change the properties...


                                            bug

                                            FlexTools - Super Quick Windows, Doors, Slats...

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

                                            Advertisement