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

    [Plugin] Sketchup Ivy

    Scheduled Pinned Locked Moved Plugins
    732 Posts 172 Posters 265.8k Views 172 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.
    • P Offline
      Pierreden
      last edited by Pierreden

      After playing with "An Ivy Generator"(found here) I thhought about how awesome it would be to be able to play with something like this directly in Sketchup. I therefore started to port the ivy generator to ruby and Sketchup. As i now have working code with regards to the main parts of the algorithm, collition detection, adhesion and the growing of the ivy branches, i decided to post a proof of concept.

      Usage
      -Select "Sketchup Ivy..." in the Plugins sub-menu
      -Adjust Parameters in Menu
      -Every time you click your left mouse button, the ivy will grow
      -CTRL-Click for leafs (repeat as many times you want)
      -When you're happy with the ivy Shift-click to make it into actual volumes.

      http://i.imgur.com/qrOAJ.jpg

      Please get the latest version's RBZ from the PluginStorehttp://sketchucation.com/pluginstore?pln=SketchupIvy Now suitable for all OSs and SketchUp versions from v8 through to v2015...

      VERSION 0.6
      UPDATE 12.05.2011
      -Tooltip
      -Minor bug fixes
      -Additional parameters.

      VERSION 0.5
      UPDATE 09.05.2011

      • Will now use components with "ivyleaf" in the name as leafs. 3 included by default.
      • Hopefully better mac support πŸ˜’
      • Small algorithm changes πŸ‘
      • ALT+click to make ivy grow towards pointer
        - Thea users: uncheck 'export as components' before exporting. (Thanks Solo)
        Fix 0.5.2
      • Tool startup fix (maybe?)

      VERSION 0.3
      UPDATE 05.05.2011

      • Simple gui. (More parameters to come)
      • Leaves
      • Speed and reliability
      • I know theres some issues with mac. As i haven't had the opportunity to debug on a mac, im not sure if its working now. Mac users with issues are very welcome to PM me or write here. (Guess this goes for everyone with issues, im sure there is lots πŸ˜’ ).

      VERSION 0.1.5
      UPDATE 28.04.2011
      [Uploaded buggy file !! Sorry]

      • Added Wind (comming from the position of the sun atm)
        -Bug fixes

      VERSION 0.1
      UPDATE 27.04.2011

      • Faster Preview
      • Better Ivy "Resolution"
      • Faster and more reliable volume generation (less buggsplats?)
      • Face normals should now be oriented correctly
      • More reliable collision detection
      • A few bugs in the force algorithms fixed.
      • Works as before. Edit the values in Plugins/SketchupIvy/setup.rb πŸ˜‰

      TO COME

      • Leaves as Components
      • More Parameters and grow patterns.
      • Other Plugins. Fur, Cloth and Tree.

      Notes

      • Never shift-click when there is more than 150 branches (information in the ruby console). This will often cause a bugsplat (seems like sketchup realy, realy, realy doesn't like programmaticaly adding of entities or seemingly infinit loops πŸ˜• )
      • For the adhesion to work, you have to be in the same scope (i made this to clearify (face.classify_point seems buggy)
      • This script has only been tested in SU8. As far as i know this script might cause bugsplat infernos and generally fuck shit up in other versions
      • If you find any bugs or problems please PM me πŸ˜‰ If you're extra awesome attach the error description from the ruby console.

      Any suggesions, comments or crits are very much welcome!

      Peace
      Pierre

      1 Reply Last reply Reply Quote 0
      • Mike LuceyM Offline
        Mike Lucey
        last edited by

        Thanks Pierre, Could this be the new 'Fur'?

        Support us so we can support you! Upgrade to Premium Membership!

        1 Reply Last reply Reply Quote 0
        • P Offline
          Pierreden
          last edited by

          @mike lucey said:

          Thanks Pierre, Could this be the new 'Fur'?

          I havent realy seen the connections before now, but i guess this algorithm is sort of like "fur branching of furs". I believe tha changes needed for this to behave as fur is minimal! brb

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

            nice! thanks for this! finally an ivy generator inside sketchup!

            http://www.bocostudio.com

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

              Great. I will surely be following this thread. πŸ‘

              1 Reply Last reply Reply Quote 0
              • romboutR Offline
                rombout
                last edited by

                hi,

                im working on a mac, the plugin doesnt seem to work at all in niether Su 6,7 nor 8

                1 Reply Last reply Reply Quote 0
                • soloS Offline
                  solo
                  last edited by

                  Download link sends my virus software into a tizzy, anyway to host it elsewhere?

                  http://www.solos-art.com

                  If you see a toilet in your dreams do not use it.

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Pierreden
                    last edited by

                    @solo said:

                    Download link sends my virus software into a tizzy, anyway to host it elsewhere?

                    Try this one πŸ˜‰

                    http://www.sendspace.com/file/xou6dj

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Pierreden
                      last edited by

                      @rombout said:

                      hi,

                      im working on a mac, the plugin doesnt seem to work at all in niether Su 6,7 nor 8

                      Thats not good. I would really appreciate it if you could PM me the error message you get in the ruby console (Window - Ruby Console)

                      Regards

                      1 Reply Last reply Reply Quote 0
                      • Rich O BrienR Offline
                        Rich O Brien Moderator
                        last edited by

                        Hi Pierre,

                        Great plugin. We normally add the [Plugin] tag to the title to help search/identify plugins. Just edit your original post. You can also edit the original when you update version numbers so members can see it's been tweaked.

                        Great to have you around SCF πŸ‘

                        Download the free D'oh Book for SketchUp πŸ“–

                        1 Reply Last reply Reply Quote 0
                        • soloS Offline
                          solo
                          last edited by

                          Thanks.

                          Okay it works fine. I will wait for the leaves however as at moment it looks like a growing spider. πŸ’š

                          A GUI would be awesome and if qnything like Ivy generator which can follow a profile like an arch would also be brilliant, as well as gravity/adhesive controls

                          Great start.

                          http://www.solos-art.com

                          If you see a toilet in your dreams do not use it.

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

                            Very interesting project. πŸ‘ I'll give it a whirl when I get time and maybe poke about in the code. Ivy generator is something I've wished I had on several projects.

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

                            1 Reply Last reply Reply Quote 0
                            • GaieusG Offline
                              Gaieus
                              last edited by

                              Hi Pierre and indeed it seems to be a very exciting project. πŸ‘

                              I've been making ivy with the fur plugin so far but a more straightforward and "real" ivy generator would be much better of course!

                              Any chance to attaching the file straight to the first post though? Some member have issues with this, others with that file hosting services (some are not accessible in certain countries) etc.

                              (Surely I cannot tella script author where to host his plugin - just suggestions for easier use)

                              Gai...

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

                                Thank You!

                                1 Reply Last reply Reply Quote 0
                                • Alan FraserA Offline
                                  Alan Fraser
                                  last edited by

                                  Very interesting start. Just to get the coder's cog wheel whirring; you realise of course that a random growth generator has implications way beyond just ivy? Especially if it has a GUI that allows you to control variables like the upper limit of vector change, the amount of branching and taper, number of segments per limb etc.
                                  Obviously, Follow Me won't follow a branching path...but there is a Max plugin called Branches that generates a single, random, tapering limb. What you then do is click on a joint higher up; and it shoots off another branch, taking the overall scale of this offshoot to be based on the now (reduced) diameter of the original limb at that point. Now that would be really something. πŸ˜‰

                                  [Edit} 20 minutes, 1 cup of coffee and 1 V-Ray render later. This is a very useful plugin, even in it's early stages.ivy.jpg


                                  tree.skp


                                  tree_thumb.jpg

                                  3D Figures
                                  Were you required to walk 500 miles? Were you advised to walk 500 more?
                                  You could be entitled to compensation. Call the Pro Claimers now!

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    Pierreden
                                    last edited by

                                    Wow. Thanks for all the replies!

                                    @Gaieus: Of course. But is it possible to attach a rar file directly to the post?

                                    @Alan: Yes. That seems brilliant! (one day πŸ˜‰ It really seems like this Ivy algorithm has a lot of potential (way beyond ivy). And in regards to what you said about gui, this is what i have in mind.It is scene-aware and quite easy to customize. Last night I rewrote a chunk of it , added an external force (wind, comming from the sun) and tried to make it a bit more aware of the scene. After some tweaking it realy looks like a good Fur plugin - (screenshots below). I guess it wouldnt be too hard to make it in to a tree growing algorithm og even combine these into a powerpack of branching awesomeness. πŸ‘

                                    http://i.imgur.com/NvjJl.jpg

                                    Regards
                                    Pierre

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

                                      @pierreden said:

                                      @Gaieus: Of course. But is it possible to attach a rar file directly to the post?

                                      Yes - under the textbox when you write a post there is an "Upload attachment" tab where you can upload files.

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

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        Pierreden
                                        last edited by

                                        @thomthom said:

                                        @pierreden said:

                                        @Gaieus: Of course. But is it possible to attach a rar file directly to the post?

                                        Yes - under the textbox when you write a post there is an "Upload attachment" tab where you can upload files.

                                        Hehe, sorry about that. Latskap.

                                        1 Reply Last reply Reply Quote 0
                                        • GaieusG Offline
                                          Gaieus
                                          last edited by

                                          And I have just checked; the extension "rar" is also allowed (I thought maybe that's the problem).

                                          Gai...

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            Sergio Morera
                                            last edited by

                                            Thank you for your generosity. I look forward to give it a try πŸ‘

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

                                            Advertisement