• Login
sketchucation logo sketchucation
  • Login
Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
๐Ÿซ› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

Scaled array

Scheduled Pinned Locked Moved Developers' Forum
33 Posts 7 Posters 54.3k Views 7 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.
  • M Offline
    museummaker
    last edited by Gรกbor 27 Jun 2009, 17:53

    I was working on a model and found myself drawing (for lack of a better name) a scaled array. Where a component repeats but linearly gets smaller each time it copies.

    Attached is a simplified picture, you see this type of construction in cranes, etc.

    I ended up doing it manually but I wondered if a ruby existed that could do a copy / scale / array type action?


    scaled array.PNG

    1 Reply Last reply Reply Quote 0
    • M Offline
      mitcorb
      last edited by 27 Jun 2009, 18:07

      Check out Grow by TIG. The examples I have seen from Pilou in this forum appear to be similar. However, I do not currently have this plugin, so I don't know if it will "ungrow".
      This is based on the premise that you want to keep the data as components.
      Don't worry someone else will have your answer directly.
      mitcorb

      I take the slow, deliberate approach in my aimless wandering.

      1 Reply Last reply Reply Quote 0
      • P Offline
        pilou
        last edited by 27 Jun 2009, 22:14

        Grow by TIG makes maybe not that you want but another thing ๐Ÿ˜‰

        Seems you can make something also with Protrude by Jim Foltz


        protrude.jpg

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

        1 Reply Last reply Reply Quote 0
        • M Offline
          museummaker
          last edited by 28 Jun 2009, 00:15

          Thank you for the tips.

          I have been experiementing and quite get the perfect results.

          It is helpful and faster than doing it by hand but still end up tweaking things.

          I will continue to explore what these great rubys can do. Always things to learn. ๐Ÿค“

          1 Reply Last reply Reply Quote 0
          • P Offline
            pilou
            last edited by 28 Jun 2009, 01:50

            Grow makes the trick but you must add another plug for align drop objects! Align by Didier Bur
            After the Scale
            x = 0.8
            y = 0.8
            z = 0.8
            because the Z Spacing don't accept a coefficient but just a value in cm ๐Ÿ˜ฎ

            Maybe Tig can make something ๐Ÿ˜‰
            Another plug must be created "Drop" on an existing object
            Seems Didier Bur has a drop inside Spray tool but... ๐Ÿ˜’

            ๐Ÿ˜ฎalign.jpg

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

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 28 Jun 2009, 12:38

              Try changing the order of operations - scale then move then rotate, move then scale then rotate etc... This will produce differing results

              TIG

              1 Reply Last reply Reply Quote 0
              • P Offline
                pilou
                last edited by 28 Jun 2009, 16:32

                How change order as all is in the same dialog box???
                Sorry but seems impossible or I miss something for the Duh thread ๐Ÿ˜ณ

                Seems that the Zspacing accepting a % will be very cool?

                I have the 1.0 20070207

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

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 28 Jun 2009, 17:39

                  There is a separate dialog at the end asking for 'order of operations'...

                  The latest version of 'Grow' is now available for download here http://forums.sketchucation.com/viewtopic.php?p=324331#p324331

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pilou
                    last edited by 28 Jun 2009, 18:04

                    Indeed that is a big Duhduh ๐Ÿ˜ณ ๐Ÿ˜ณ ๐Ÿ˜ณ
                    I had a very old version! ๐Ÿ˜†
                    So I must learn your new opus โ˜€

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

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pilou
                      last edited by 28 Jun 2009, 21:31

                      Ok that works like a charm ๐Ÿ˜Ž
                      except that we must find first the "Growth point"!!!
                      the "bottom point base" of the troncated crossing edges top Pyramid! ๐Ÿ˜ฎ

                      Maybe this can be automatic because in this case its' easy to find it but in case of complex form?
                      Or biggest volume?

                      Mr TIG it's your turn ๐Ÿ˜„


                      inthe fog.jpg


                      grow.skp

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

                      1 Reply Last reply Reply Quote 0
                      • utilerU Offline
                        utiler
                        last edited by 2 Jul 2009, 06:20

                        Gee, I'm glad i stumbled on this; I like Pilou had an old version....TIG, is this only relatively new? I just went to http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_edi_page.htm and the old one still downloads.....

                        TIG, Have you produced a instructions sheet with this latest version? I am having trouble executing what i want to do. I seem to be confused as the the 'X' and 'Y' planes....
                        I assume 'X' is red direction; left and right,
                        'Y' is green direction; up and down the screen,
                        and
                        'Z' is obvious.

                        When I rotate a vertical ['Z' plane] object around what i think is the RED direction it actually rotates it around the GREEN...['Y']

                        Also, TIG, can you give a little detailed explanation of the order of parameters...?
                        I have been getting an awful lot of Bugspats!!!!

                        Don't get me wrong, I think once I get the concept of it I will have found my new favourite plugin!!!

                        Just Curious...

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          pilou
                          last edited by 2 Jul 2009, 06:59

                          @Utiler
                          Z Is not obvious, with it your model goes in the 3D space up & down! ๐Ÿ˜‰
                          there is a little help text inside the code plug! Open it ๐Ÿ˜‰

                          @unknownuser said:

                          When I rotate a vertical ['Z' plane] object around what i think is the RED direction it actually rotates it around the GREEN...['Y']

                          It's around the BLUE AXIS ๐Ÿ˜‰

                          Order gives you the natural order of transformations ๐Ÿ˜‰

                          About the first problem seems you can't oblige to have 80% for have perfect fit if you don't know the other X,Y,Z measures!
                          it's depending of the measure of the first start volume!
                          See my example above! I have 50% for this one (of course with my start measures volume)

                          My regulates and don't forget the Growth point position (see image above)
                          nb copy 3
                          X spacing = 0
                          Y spacing = 0
                          Z spacing = 100 cm
                          Scaling = Yes

                          Xspacing scaling = 1
                          Yspacing scaling = 1
                          Zspacing scaling = 0.5

                          Xcopy scaling = 0.5
                          Ycopy scaling = 0.5
                          Zcopy scaling = 0.5

                          (all exponential+ by default)

                          Move Scale Rotate order (or Move Rotate Scale as the is no rotation in this one)

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

                          1 Reply Last reply Reply Quote 0
                          • utilerU Offline
                            utiler
                            last edited by 3 Jul 2009, 01:42

                            Thanks Pilou,
                            I believe Z is always vertical [blue axis in SU]. If the ground plane is the ground then it makes sence to me that Z [blue axis is vertical....

                            See the simple Palm tree attached.
                            GrowTest01.png
                            Say I want to rotate copy and move the palm fron as noted on the attached image. Still getting weird outcomes when I try to do so...

                            thanks in advance.


                            GrowTest.skp

                            Just Curious...

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              pilou
                              last edited by 3 Jul 2009, 08:40

                              Something like this?


                              regul.jpg


                              palm.jpg

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

                              1 Reply Last reply Reply Quote 0
                              • utilerU Offline
                                utiler
                                last edited by 4 Jul 2009, 03:48

                                No, Pilou. As a Palm fron grows [pardon the pun], it faces the sky with it's flat side facing up. Sometimes, slightly rotated but for the purpose of the exersice, lets keep it simple....
                                This is what i mean.
                                GrowTest02.png
                                Then copy and rotate various frons to thicken up the folage...GrowTest03.png
                                Then do a little 'Fredo' bending....
                                GrowTest04.png

                                So thats what i want to do with grow, however I just did this example manually...
                                Skippy attached FYI...
                                Thanks for your help with this idea, Pilou, much appreciated!! ๐Ÿ‘


                                GrowTest01.skp

                                Just Curious...

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pilou
                                  last edited by 4 Jul 2009, 12:03

                                  Ok I see ๐Ÿ˜„
                                  Maybe monday a result ๐Ÿ˜„

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

                                  1 Reply Last reply Reply Quote 0
                                  • utilerU Offline
                                    utiler
                                    last edited by 5 Jul 2009, 00:04

                                    Thanks Pilou, look forward to your reply..
                                    ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘

                                    Just Curious...

                                    1 Reply Last reply Reply Quote 0
                                    • utilerU Offline
                                      utiler
                                      last edited by 6 Jul 2009, 00:52

                                      Pilou, My Grow dialouge Box looks a little different.... older or newer?


                                      GrowDialogueBox.png

                                      Just Curious...

                                      1 Reply Last reply Reply Quote 0
                                      • utilerU Offline
                                        utiler
                                        last edited by 6 Jul 2009, 01:23

                                        Still not working.... ๐Ÿ˜ก
                                        Not getting the same result as you even though I am imputting the same data...

                                        Ready to un-install.


                                        GrowTest05-GrowDialogue.png


                                        GrowTest05.png


                                        GrowTest05-plan.png


                                        GrowTest.skp

                                        Just Curious...

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          pilou
                                          last edited by 6 Jul 2009, 02:15

                                          You have an older version! ๐Ÿ˜‰
                                          The last version were in this same thread always by TIG ๐Ÿ˜‰

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

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

                                          Advertisement