sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Grow

    Scheduled Pinned Locked Moved Plugins
    45 Posts 19 Posters 66.3k 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.
    • S Offline
      Sir.Swaffel
      last edited by

      Well I do need some kind of scaling. As you can see from the image, I'm trying to make a spiraling tower. I need to make windows in the vertical segments, but the tower is quite large and the vertical segments get smaller as the tower gets higher. So I need the windows to follow the spiraling path upwards AND have them scaled down according to the height. Then I'm going to subtract them from the vertical segments to create the arched openings. It's a total headache ๐Ÿ˜’

      tower.jpg

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

        Try DrawHelix for the rail[s] - you can have different start/end radii and a straight-curve for the profile...Capture.PNG Here's quick example, worry about the fripperies like the door-arch later...

        TIG

        1 Reply Last reply Reply Quote 0
        • M Offline
          mikenon
          last edited by

          Hi - This is almost exactly what I need, but I would like to use other functions. Is there a way to alter this so that instead of choosing from linear/exponential/fibonacci I have the ability to select my own values. I need some other periodic functions, like sine-wave. I imagine, the easiest way to do this would be to just allow values to be passed in a list. So if I want 100 copies, I pass in a list with 100 numbers for x-offset. Is this possible?

          Mike

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

            Yes IF YOU redo the code.
            It's probably easiest to make a new tool that is run in a way that can take arguments - in your case an array of values, which it then uses to do something.
            That way the processing is somewhat independent of the outcome...
            Do not forget that there are already many tools that process CSV/TSV files so in your case you simply have a file in the format x,y,z [and even rotx,roty,rotz,scalex/,scaley,scalez etc] - one 'point' per line and then do something with the point - add cpoints, join up the points with lines etc, place an instance at every point and rotate it/scale it... You could make the 'table' file from Excel osa...
            IF you explain better what it is you want to achieve and supply a typical xyz... data set I might be able to quickly bodge something together, though I am quite busy... ๐Ÿ˜

            TIG

            1 Reply Last reply Reply Quote 0
            • brookefoxB Offline
              brookefox
              last edited by

              I'm a new 'grow' user and am confronted with immediate splats after after processing. Knowing how diligent TIG is about resolving issues, I don't doubt the problem is a conflict with one of the plugs I've recently installed. Prior to uninstalling them in batches to try to isolate the culprit, I thought I'd ask if there anyone had problems but did not mention them. I get no results searching splats here.

              Thanks.

              EDIT: Whatever the problem was, it has gone away.

              ~ Brooke

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

                Here's a minor update http://forums.sketchucation.com/viewtopic.php?p=324331#p324331
                v2.2 avoids a clash with some rogue scripts' messing with base classes/methods for selection/group and/or miscast observers, that a very few users had reported recently.
                Now fixed for all [I hope!]...

                TIG

                1 Reply Last reply Reply Quote 0
                • brookefoxB Offline
                  brookefox
                  last edited by

                  Thank you, TIG. Your attentive diligence is inspiring.

                  ~ Brooke

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

                    Hi TIG ๐Ÿ˜„ this looks like a very interesting plugin but when i try to use it i get this on the ruby console:

                    @unknownuser said:

                    for nil:NilClass>
                    C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:339:in move' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:336:in each'
                    C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:336:in move' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:554:in run'
                    C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:86:in `onLButtonDown'

                    ยฟAm i missing something?

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

                      @nektares said:

                      Hi TIG ๐Ÿ˜„ this looks like a very interesting plugin but when i try to use it i get this on the ruby console:

                      @unknownuser said:

                      for nil:NilClass>
                      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:339:in move' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:336:in each'
                      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:336:in move' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:554:in run'
                      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:86:in `onLButtonDown'

                      ยฟAm i missing something?
                      I suspect that you have some rogue script installed that is beyond this last fix... I'll look at an update... ๐Ÿ˜’

                      TIG

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

                        Here's v2.3 http://forums.sketchucation.com/viewtopic.php?p=324331#p324331
                        I hope that it finally addresses all of the issues cause by 3rd party rogue scripts that ill-advisedly overwrite base class/methods and/or with miscast observers for groups/selections...

                        Sorry for today's confusion...
                        The tool only failed for a few users who had this 3rd party script combo... BUT now ALL should work OK... ๐Ÿ˜•

                        TIG

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

                          Thanks a lot TIG ๐Ÿ˜„!!
                          I found the guilty plugin, The problem was caused by SketchyPhysics3 i removed it and now my mirror plugin, my mshstick plugin and the grow plugin now work fine!
                          Iยดm having a blast with your script, thank you!
                          grow

                          1 Reply Last reply Reply Quote 0
                          • 2 Offline
                            258093521
                            last edited by

                            good job

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

                              Instant Bugsplat
                              HI TIG

                              I downloaded the latest version of grow but I'm still having instant bugsplats. No error messages.

                              I used a simple box, and don't have SketchyPhysics installed...

                              Joel

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

                                Joel

                                If you have the Ruby Console open before you use it are there any messages ?

                                Do you have DrivingDimensions, SunStudy, Matchbox, Podium installed - these can have similar issues as SketchyPhysica and break standard methods...

                                Can you post the simple SKP that fails for you, with instructions on what you do to get a 'fail'...

                                TIG

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

                                  very nice

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

                                    Here's a new future-proofed update.
                                    http://sketchucation.com/forums/viewtopic.php?p=324331#p324331

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • H Offline
                                      huckrorick
                                      last edited by

                                      Hi Tig,
                                      I just tried your plugin. very cool. However, it seems like I can't get it to do what I want. I want to offset a component by a fixed amount (this works fine) and have each element be a fixed amount taller (e.g. 6"). I only seem to get a fixed increment with a scaling factor of 1.0 and then the increment in height is equal to the height of the component.
                                      Can I accomplish what I want with your plugin?

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

                                        Normally you can take any value on each axis, by move, by size, by rotation!

                                        grow.jpg

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

                                        1 Reply Last reply Reply Quote 0
                                        • Y Offline
                                          YDAVIDI
                                          last edited by

                                          HELLO
                                          IT SEEM LIKE A GREAT PLUGIN BUT THE AXIS I CHOSE DOESNT WORK.. IT ALWAYS ROTATE IT AROUND SOME OTHER POINT..
                                          CAN YOU PLEASE HELP
                                          THANKS!

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

                                            Make sure that your axes are reset to the default model-axes [right-click on an axis and choose reset if available].
                                            It'd be sensible to locate the objects you want to 'grow' around the model's origin, then when prompted just snap to the origin [where the axes meet].
                                            The XYZ [RGB] axes are what's used by the tool.

                                            Also ensure that unit-snapping is OFF in Model Info > Units.

                                            TIG

                                            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