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.
    • T Offline
      tulacong
      last edited by

      @pierreden said:

      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 0.5" 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/eSwjM.jpg

      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

      thank you very good

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

        @gaonirico said:

        @thomthom said:

        @gaonirico said:

        Mnn, maybe two errors: the first
        quietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledERROR: skpHelperClasses.rb:updateSkpMaterial, unable to find a material called: Ivyleaf_21
        ERROR: skpHelperClasses.rb:updateSkpMaterial, unable to find a material called: Ivyleaf_21

        ... the second and but notable is that not takes me the changes of parameters in the menu

        That is a V-Ray for SketchUp error. What version do you have installed?

        Im use Sketchup 8.0.4811 and Vray 1.49.00

        Completely delete previous versions from the plugins folder and install the new 0.5.4

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

          I can't get leaf size to work in the latest version.

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

            mostly works on the mac here.

            if key == 105 #i as in ivy, isn't an english SU shortcut key and works...

            john

            learn from the mistakes of others, you may not live long enough to make them all yourself...

            1 Reply Last reply Reply Quote 0
            • G Offline
              gaonirico
              last edited by

              @pierreden said:

              @gaonirico said:

              @thomthom said:

              @gaonirico said:

              Mnn, maybe two errors: the first
              quietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledERROR: skpHelperClasses.rb:updateSkpMaterial, unable to find a material called: Ivyleaf_21
              ERROR: skpHelperClasses.rb:updateSkpMaterial, unable to find a material called: Ivyleaf_21

              ... the second and but notable is that not takes me the changes of parameters in the menu

              That is a V-Ray for SketchUp error. What version do you have installed?

              Im use Sketchup 8.0.4811 and Vray 1.49.00

              Completely delete previous versions from the plugins folder and install the new 0.5.4

              I installed the version 0.5.4 but from the previous version 0.3 the menu not shows correctly and function the change of parameters. Happens because my monitor functions only to 800x600? or I must have installed some update of internet explorer?


              This is the menu of SketchupIvy showed in my screen

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

                thanks! You're updating this plugin faster as hell! It's a nice improvement to have the stem (circle) made with more segments but maybe you should let the user choose between 3 and more, so we can keep the polycount low for big ivy walls.

                anyway thanks for your hard work, this plugin IS epic!

                http://www.bocostudio.com

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

                  After I do shift+click I get either nothing or :
                  Error: #<TypeError: reference to deleted Group>
                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:236:in entities' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:236:in birth_stem'
                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:234:in each' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:234:in birth_stem'
                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:223:in birth' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:98:in onLButtonDown'
                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:251

                  I have win7.
                  edit
                  This is when using 0.5.4 I have not tried other versions yet.
                  edit2
                  Ok I understand now that I need a leaf material. Sorry...
                  Then, the pluggin cant find now the stem material and stops after the first path and circle.

                  Hope this helps.

                  Thanks

                  Jerome

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

                    @pixero said:

                    I can't get leaf size to work in the latest version.

                    @pixero: Its working now πŸ‘

                    @driven said:

                    mostly works on the mac here.

                    if key == 105 #i as in ivy, isn't an english SU shortcut key and works...

                    john

                    @driven: Thanks for the tip! reset button is now "i" πŸ‘

                    @gaonirico said:

                    I installed the version 0.5.4 but from the previous version 0.3 the menu not shows correctly and function the change of parameters. Happens because my monitor functions only to 800x600? or I must have installed some update of internet explorer?

                    @gaonarico: I dont know im afraid. It might be a javascript issue, if so, updating you IExplorer might help. But this problem is noted and i really hope to solve it soon.

                    @dbalex said:

                    thanks! You're updating this plugin faster as hell! It's a nice improvement to have the stem (circle) made with more segments but maybe you should let the user choose between 3 and more, so we can keep the polycount low for big ivy walls.

                    anyway thanks for your hard work, this plugin IS epic!

                    @dbalex: Thank you man! glad you like it! You are right about the profile segments. I've added a parameter "branch detail" which sets the number of segments of the main branch. πŸ‘

                    @oxer: Good to see its working! πŸ‘

                    Peace out
                    Pierre

                    1 Reply Last reply Reply Quote 0
                    • KrisidiousK Offline
                      Krisidious
                      last edited by

                      can Fredo's "Check Plugins for Update" be added to this?

                      http://forums.sketchucation.com/viewtopic.php?f=180&t=36701&p=323092&hilit=Check+Plugins+for+Update#p323078

                      By: Kristoff Rand
                      Home DesignerUnique House Plans

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

                        Hmm...SHIFT+left mouse click doesn't finish the Ivy in 0.6 for me?

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

                          @krisidious said:

                          can Fredo's "Check Plugins for Update" be added to this?

                          http://forums.sketchucation.com/viewtopic.php?f=180&t=36701&p=323092&hilit=Check+Plugins+for+Update#p323078

                          Good idea. Will look into it.

                          @pixero said:

                          Hmm...SHIFT+left mouse click doesn't finish the Ivy in 0.6 for me?

                          Hmmmmm.... Weird. Cleaned up the code abit. Try the new 0.6.2. πŸ‘

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

                            Sorry. 0.6.2 doesnt finish for me either. 😞
                            Interesting to hear if I'm the only one with this problem.

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

                              @unknownuser said:

                              Pixero wrote:
                              Hmm...SHIFT+left mouse click doesn't finish the Ivy in 0.6 for me?

                              Works for me, but pressing 'Y' does not reset for me.

                              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:

                                @unknownuser said:

                                Pixero wrote:
                                Hmm...SHIFT+left mouse click doesn't finish the Ivy in 0.6 for me?

                                Works for me, but pressing 'Y' does not reset for me.

                                @solo: Its "i", not "y".

                                @pixero: I dont got this problem either. maybe you have some conflicting plugins installed. I suppose there's no messages in the console?

                                1 Reply Last reply Reply Quote 0
                                • srxS Offline
                                  srx
                                  last edited by

                                  Me too...doesn't finish in 7.1, but in SU 8 it does...all the plugins are in 7.1 folder, so it could be conflict.
                                  THANK YOU! GREAT PLUGIN!

                                  ...
                                  Here is the problem:
                                  Error: #<NoMethodError: undefined method -' for nil:NilClass> C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb:241:in birth_stem'
                                  C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb:234:in each' C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb:234:in birth_stem'
                                  C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb:223:in birth' C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb:99:in onLButtonDown'
                                  C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb:234

                                  www.saurus.rs

                                  1 Reply Last reply Reply Quote 0
                                  • OxerO Offline
                                    Oxer
                                    last edited by

                                    Hi,
                                    I have probed 0.6.2 beta on Mac and don't works, i have uninstall all plugins perhaps there was some conflict and it don't works.
                                    The previous version 0.6.beta works on Mac but the leaf are very small and i don't know change the size of the leaves.
                                    One question, on Pc the "i" key is = 73 but on Mac "i" key is =105, can you make a different between "i" key on Mac and Pc.
                                    Thanks Pierreden for your incredible work!! πŸ‘

                                    Problem with size leaves on Mac

                                    "The result is the end what is important is the process" by Oxer
                                    [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

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

                                      shift+click does not finish here in SU8 Windows...

                                      also having a hard time getting ivy to grow with successive clicks, sometimes it appears, sometimes it disappears, sometimes it grows "inside" boxes, usually doesn't grow past two or three clicks.

                                      nevertheless, the plugin is looking great and keep up the fantastic work!

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

                                        I just tried on a different computer and it's the same. Doesn't finish. SU 8 Windows 7.
                                        I also have another problem, and that is that even if I click several times it still wont branch.
                                        Just one single "curve". Also it disappears completely after some clicks.
                                        Didn't have a problem with earlier versions.

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

                                          Jeff, can you send me the SU model and let me try.

                                          Pixero, I installed new update and I get exactly same as you, it won't finish, only one branch shows.

                                          http://www.solos-art.com

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

                                          1 Reply Last reply Reply Quote 0
                                          • EscapeArtistE Offline
                                            EscapeArtist
                                            last edited by

                                            Ahhh, dangit. I just closed the window and didn't save it. I'll post a reproduction if it works.

                                            EDIT: Go figure. I can't reproduce the half-scattered effect. Still want the model?

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

                                            Advertisement