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

    [Plugin] Scale and Rotate Multiple (UPDATED Dec 22, 09)

    Scheduled Pinned Locked Moved Plugins
    123 Posts 51 Posters 181.2k Views 51 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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      The problem with implementing that functionality is that SketchUp does not order the components you select the way you select them. So even if you select them one by one and hit the "grow" command, it might jump around in the process, and scale them out of order, rendering it useless.

      Its possible to do for sure, but you have to make an assumption of growing them in the order they lie on the x axis or something. Then it would be possible to get them to grow in order. Or if the script placed them, it could keep track of them in order easily too. But I already know some of the math here starts getting me into trouble. I can see some of the shrinking spirals and sin waves you produce. That stuff just hurts my head πŸ˜„

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

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

        When you have shown a video with a line of trees we are waiting the line of the tree growing in order! πŸ˜‰
        But alas there was not πŸ’š

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

        1 Reply Last reply Reply Quote 0
        • T Offline
          troyhome
          last edited by

          amazing stuff! thanks so much!

          IOviz.com
          SU Pro 2024 PC

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            Thanks Troy, glad you like it!

            Chris

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            1 Reply Last reply Reply Quote 0
            • I Offline
              ideas_arte
              last edited by

              Thank you very much, in fact your plugin is very useful tools..!

              1 Reply Last reply Reply Quote 0
              • plot-parisP Offline
                plot-paris
                last edited by

                fantastic tool, Chris. I like it a lot! 😍
                (how about an additional 'move' function? for offsetting each group/component...)

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

                  WOW! Very cool! Thank You!

                  3ds max feeling in sketchup...

                  1 Reply Last reply Reply Quote 0
                  • PixeroP Offline
                    Pixero
                    last edited by

                    Great script, but may I suggest a few enhancements:

                    I'd like to be able to rotate and/or scale randomly within a min to max value, a selection of components by a chooseable local axis. (I.E. each components axis.)
                    This script only works on the global/world Z axis, right?
                    Preferably the user should be able to choose X, Y or Z or any combination of them. And choose between Local or World axis.

                    "Why would you want that?" you may ask.
                    Well I've spent some time making trees and this would speed it up considerably.
                    I can think of other uses as well... πŸ˜„
                    Let me know if I need to explain better what I want.

                    1 Reply Last reply Reply Quote 0
                    • Chris FullmerC Offline
                      Chris Fullmer
                      last edited by

                      I think it might exist already, so correct me if you are thinking something more. If you select "axis" it will scale and rotate on each component's local axis.

                      Does that do the trick?

                      Chris

                      Lately you've been tan, suspicious for the winter.
                      All my Plugins I've written

                      1 Reply Last reply Reply Quote 0
                      • PixeroP Offline
                        Pixero
                        last edited by

                        @chris fullmer said:

                        I think it might exist already, so correct me if you are thinking something more.

                        Do you have the name of that plugin? Or do you mean you think its already in your script?

                        @chris fullmer said:

                        If you select "axis" it will scale and rotate on each component's local axis.
                        Chris

                        Thats right but your script only rotates around the Z axis?

                        I would like to be able to select x, y, z axis or any combination of them. Like three checkboxes one for each axis. Or a drop down menu.
                        (It should still have Z axis as default.)
                        And a checkbox for scale and one for rotation so you can have the script do just one of them or both in a easy to use way.
                        If you want I could make a image explaining what I want.

                        1 Reply Last reply Reply Quote 0
                        • Chris FullmerC Offline
                          Chris Fullmer
                          last edited by

                          Ahh, yes. That makes sense now. Correct. the script only rotates on the z axis.

                          Part of the problem with the checkboxes is that I would need to use web dialogs to make that work, and at this point, I have no clue how to do that. I could probably get all the options implemented using the default SU inputbox (expanding the current one), but that inputbox is very clunky and I don't love it. But I'll think about it and see if I can think of an easy way to get it all into the inputbox and not make it too overcrowded and difficult to understand.

                          If you'd like to mock up an image, that would be fine with me too! Thanks Jan, you've been a great help on this script,

                          Chris

                          Lately you've been tan, suspicious for the winter.
                          All my Plugins I've written

                          1 Reply Last reply Reply Quote 0
                          • PixeroP Offline
                            Pixero
                            last edited by

                            Here is a mockup of a possible interface without a fancy web dialog.
                            "Scale about" is same as current version.
                            Should maybe change name to something like: "Origin"

                            MockUp.jpg

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

                              Hi! first of all, great plugin!!
                              i have a suggestion: is it possible to have an "aplly" button in the plugin interface? i mean, sometimes is good to play around with the settings, and when you hit "ok", if you want to play a little more, you have to go all the way down again and set everything again.....so, i think an aplly button will help a lot, because it wont close the plugin window, so you can change the settings and aplly them again in the same window!
                              anyway, this is a very useful script, thanks a lot!
                              regards from brasil,

                              Jsrocha

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

                                Thanks a lot Chris, amazing plugin!!!

                                1 Reply Last reply Reply Quote 0
                                • Chris FullmerC Offline
                                  Chris Fullmer
                                  last edited by

                                  Muito obrigado amigos!

                                  @jsrocha I am learning how to use web dialogs, so once I get that down, I would be interested in trying to update some of these scripts to use them. One of the biggest benefits is the abilty to have an easier ability to implement things like you requested. I suppose I could do it without a webdialog, but it seems like it would be easier to control in a web dialog.

                                  @accabrera - Thanks, glad you like it!

                                  Chris

                                  Lately you've been tan, suspicious for the winter.
                                  All my Plugins I've written

                                  1 Reply Last reply Reply Quote 0
                                  • utilerU Offline
                                    utiler
                                    last edited by

                                    @pixero said:

                                    Here is a mockup of a possible interface without a fancy web dialog.
                                    "Scale about" is same as current version.
                                    Should maybe change name to something like: "Origin"

                                    [attachment=0:1zxmxinr]<!-- ia0 -->MockUp.jpg<!-- ia0 -->[/attachment:1zxmxinr]

                                    Great idea, Jan!!! Chris do you see this being implemented....?

                                    Cheers,

                                    purpose/expression/purpose/....

                                    1 Reply Last reply Reply Quote 0
                                    • plot-parisP Offline
                                      plot-paris
                                      last edited by

                                      @chris fullmer said:

                                      I am learning how to use web dialogs, so once I get that down, I would be interested in trying to update some of these scripts

                                      great things to come then... I can't wait to see what you are going to come up with πŸŽ‰

                                      1 Reply Last reply Reply Quote 0
                                      • Chris FullmerC Offline
                                        Chris Fullmer
                                        last edited by

                                        That's some good pressure πŸ˜„

                                        Andrew, yeah if I can ever get around to these updates I dream of, that is something I would like to add.

                                        Chris

                                        Lately you've been tan, suspicious for the winter.
                                        All my Plugins I've written

                                        1 Reply Last reply Reply Quote 0
                                        • utilerU Offline
                                          utiler
                                          last edited by

                                          Cool, appreciated all you have done for SU workflow.... πŸŽ‰

                                          purpose/expression/purpose/....

                                          1 Reply Last reply Reply Quote 0
                                          • X Offline
                                            xrok1
                                            last edited by

                                            now where's that bump button ❓

                                            β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                                            http://www.Twilightrender.com try it!

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

                                            Advertisement