sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [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 Chris Fullmer

      Scale and Rotate Multiple

      Description: This script takes a selection of groups/components and scales and rotates them based on their centerpoint, the world axis, their axis location, or the component base.

      Usage: Select the components and/or groups to be scaled and/or rotated. Run the plugin at Plugins>Chris Fullmer Tools>Scale Multiple> . There are two plugins found here. One will scale everything equally. The other will scale them randomly based on minimum and maximum provided values. NOTE: The scale factors are not percentages. They are factors. Which means if you want to scale something to be twice as large, you enter 2. If you want something to be one half the size, enter .5 . Entering 50 will not a result that is 50% the original, but will give a result that is 50 times larger than the original.

      [flash=704,554:2gpl3jmn]http://www.chrisfullmer.com/chrisfullmer/forums/scale_multiple_2_0.swf[/flash:2gpl3jmn]

      Chris

      UPDATES v2.0

      • Fixed a bug where it didn't let you scale items more than once using Axis. Should work over and over now.

      • Added "Component Base" support for those of us who don't set our component axes. This uses the bottom center of the component.

      • Added much more reliable FaceMe component support (I hope).

      • Added Rotation capability. Uniform and random with user specified min/max values.
        v2.5 - SU 7.1 compatibility fix

      • Fixed scaling so that Face Me components don't freak out like they have been doing since 7.1 was introduced. Big Thanks to Edson and Thom for helping figure out what was breaking.

      • Cleaned up some code - a big chunk thanks to a tip from TIG!

      956


      v2.5

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

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

        just when i convinced myself i didn't need to DL any more plugins 😆

        BTW you might as well add rotate and random rotate to this script too. then it would be twice as useful. 😍

        “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
        • Chris FullmerC Offline
          Chris Fullmer
          last edited by

          Randor.rb does a random scale/rotate thing. Its not super complete, as it does not let you specify the min/max values. But it is a good choice if you want a script that does random scale/rotate for making mass amounts of componeonts looks slightly different (like plants specifically).

          But who knows, maybe I'll take that on in time.

          This script might be useful enough to have its own toolbar. Maybe I'll do that tonight.

          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

            An another simple but useful one ☀
            scale.jpgscale1.jpg

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

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

              you've come this far. 😉

              finish yours and i'll give you my three bucks.

              “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
              • Chris FullmerC Offline
                Chris Fullmer
                last edited by

                All right, I got the video made and uploaded. Check it out if you have any questions about what this plugin does.

                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

                  You show all same object but that works also with any collection of objects! ☀

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

                  1 Reply Last reply Reply Quote 0
                  • MALAISEM Offline
                    MALAISE
                    last edited by

                    Still clear explanations 👍 👍
                    Champagne !

                    MALAISE

                    La Connaissance n'a de valeur que partagée

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

                      Big thanks.
                      👍
                      After initial test I dont think I expressed what I wanted very well. Could be that english is not my native language or that I was tired. 😉
                      Anyway. What I would like is another option: the center of each components bounding box at the bounding box min (in Z).
                      Many Groups or components dont have the axis at the center (if you're lazy like me)
                      So that option would also be great.

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

                        @unknownuser said:

                        (if you're lazy like me)

                        Me too 😄
                        So yes cool suggestion! ☀
                        Maybe not change the axis but yes take the middle of the Box z mini 😉

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

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

                          Sure, that should be easy enough to put in place. There are quite a few good bounding box control options built in, so it should not be too hard to find the center of the "bottom" of the bounding box. Hopefully it will work even after the component is rotated on its head. I would imagine that in that scenario it would still be preferable to use the same point that would be used if the component were not on its head, right? So the point should be the same on the component, no matter what the orientation of the component is?

                          Thanks for the feedback and positive comments. I'll see what I can do. Its early morning here right now and I'll be gone much of the day at a St.Patricks Day (US Holiday) parade in San Francisco. When I get home this afternoon I'll get back to work 😄

                          Chris

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

                          1 Reply Last reply Reply Quote 0
                          • bagateloB Offline
                            bagatelo
                            last edited by

                            Ei Chris, thank you for the manuscript, I liked a lot.
                            But... maybe you can improve the manuscript for increasing a function of rotate objects randomly.
                            This can be very good tool to work with 3D plants or similar.

                            Thanks anyway.

                            While the cat's away, the mice will play

                            1 Reply Last reply Reply Quote 0
                            • coulteriC Offline
                              coulteri
                              last edited by

                              Thanks a lot! That´s just it, I´ve requested here: http://www.sketchucation.com/forums/scf/viewtopic.php?f=15&t=17328
                              😄

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

                                Chris, thanks again for your generosity.

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

                                  @pixero said:

                                  Big thanks.
                                  👍
                                  After initial test I dont think I expressed what I wanted very well. Could be that english is not my native language or that I was tired. 😉
                                  Anyway. What I would like is another option: the center of each components bounding box at the bounding box min (in Z).
                                  Many Groups or components dont have the axis at the center (if you're lazy like me)
                                  So that option would also be great.

                                  Don't think I've forgotten about your request Jan. I have a working version that does what you asked for. But it was remarkably more difficult to code that I had expected due to some faceme component issues. But I think I've got it worked out. There are just some bugs that I need to work out. But otherwise, its almost ready. As soon as I get some to put into it, I'll get the next version released.

                                  Glad others are finding it useful, thanks for commenting!

                                  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

                                    Good to hear. I was about to ask about your progress.
                                    What about rotation?

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      dylan
                                      last edited by

                                      I missed this one, thanks Chris.

                                      I agree a random rotate in with it would be excellent, but it is easy to request these things when you are not the one creating them!

                                      http://dmdarchitecture.co.uk/

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

                                        All right, wishes granted! I just updated this script and it now has the "Component Base" scale point option as suggested by Jan. Sorry it took so long to implement. I kept hitting little speedbumps along the road with that feature. I think it is working quite well now.

                                        I've also added rotation. It rotates on the same base point as the scaling.

                                        I also updated the video in the first post to explain the new features. Here's a full feature list for the version 2.0 update:

                                        • Fixed a bug where it didn't let you scale items more than once using Axis. Should work over and over now.
                                        • Added "Component Base" support for those of us who don't set our component axes. This uses the bottom center of the component.
                                        • Added much more reliable FaceMe component support (I hope).
                                        • Added Rotation capability. Uniform and random with user specified min/max values.

                                        I tried to test it thoroughly, but its possible there are still bugs. Let me know (as I'm sure you will) if you find something,

                                        Chris

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

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

                                          I forgot to mention that I changed the filename (sorry). It was clf_scale_multiple.rb. That should be deleted. And then install the new one which is clf_scale_rotate_multiple.rb

                                          Chris

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

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

                                            KUDOs, we are all very fortunate to have you here. 👍

                                            “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
                                            • 1 / 7
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement