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.
    • massimoM Offline
      massimo Moderator
      last edited by

      Thanks for this one Pierreden. πŸ‘ I've tried the very first version and it worked, but now i get this when i start the plugin:

      Error; #<RuntimeError; Can't insert empty component.>
      C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb;305;in `load'
      C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb;305;in `load_definitions'
      C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb;10;in `initialize'
      C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb;348;in `new'
      C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb;348
      C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/LiveIvy/LiveIvy_tool.rb;347;in `call'
      
      

      Maybe SU 8 is required?

      1 Reply Last reply Reply Quote 0
      • M Offline
        mukul.ar
        last edited by

        I don't know if its just me or some other thea user, probably solo can confirm... I get more leaves in thea than the ones visible in sketchup.. this may be a sketchup to thea issue, maybe not.. just thought of sharing it here.


        SKP1.jpg


        1.png

        My Works

        1 Reply Last reply Reply Quote 0
        • M Offline
          mukul.ar
          last edited by

          I've uploaded a *Rar file of the sketchup file of the above image. In case anyone wants to look into it... will try and see if its a one off incident or happens again...

          great plugin by the way!! πŸ˜„

          *EDIT: definitely something going on here... the problem persits.. leaves are scattering around in thea. Its probably due to the way the pivot points might be getting relocated or twisted somehow in the sketchup to thea interface or maybe something totally unrelated..


          11.rar

          My Works

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

            I also got the
            Error: #<RuntimeError: Can't insert empty component.>

            Figured out the texture components are in SU8 format, so I converted them to SU7 and it al works fine.
            http://www.megaupload.com/?d=2HBVEVR0

            Great plugin, thanks a lot!

            Dave

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

              I got the same problem in Thea as described above.

              @unknownuser said:

              Will now use components with "ivyleaf" in the name as leafs. 3 included by default.

              May I suggest an option where you select what components should be used as leaves instead.
              How is your solution working if you want to use different leaves for different "ivys"?

              1 Reply Last reply Reply Quote 0
              • M Offline
                mukul.ar
                last edited by

                @ Pixero: the leaves are materials applied to rectangular components. I believe you can select a new material (your leaf) and change it in one component (will change in all). But it might have limitations as to the position of the texture of the leaves. (or not)

                how did you go about solving the thea issue?

                My Works

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

                  Thea users: uncheck 'export as components' before exporting.

                  Change the leaves in thea, just copy the one you like and paste it in the material slot of the one you want to replace.

                  http://www.solos-art.com

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

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

                    @mukul.ar said:

                    @ Pixero: the leaves are materials applied to rectangular components. I believe you can select a new material (your leaf) and change it in one component (will change in all). But it might have limitations as to the position of the texture of the leaves. (or not)

                    Thats just it.
                    I would like to use
                    a) different components for different Ivy's.
                    b) components that are not just a rectangle.

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

                      @pixero said:

                      @mukul.ar said:

                      @ Pixero: the leaves are materials applied to rectangular components. I believe you can select a new material (your leaf) and change it in one component (will change in all). But it might have limitations as to the position of the texture of the leaves. (or not)

                      Thats just it.
                      I would like to use
                      a) different components for different Ivy's.
                      b) components that are not just a rectangle.

                      There is no need for the component to be rectangular, theres no limitations at all. All you need to think about is that the component axis is where the leaf attaches to the stem, and that the green axis (y) is the depth, x is the width and z is the height/thickness of the leaf.

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

                      As i said, beyond this there is no rules or requirements, (unless i forgot about something essential?). The easiest way to make a new leaf is to insert a old leaf component, click "make unique" and alter it as you like

                      Regarding leaf selection, i guess a less primitive method will come in a future release, but for now you'll have to delete the leafs you dont want on the ivy.... Sorry about that. (Uploaded version 0.5.3 which makes it so that the leaf components are only loaded on startup, not every time the SketchupIvy tool is activated. The components can be found in the "Plugins/LiveIvy/Textures/" folder)

                      Peace

                      1 Reply Last reply Reply Quote 0
                      • 66searcher6 Offline
                        66searcher
                        last edited by

                        @Pierreden:
                        well done ... πŸ‘ πŸ˜„


                        01.jpg

                        http://hamidtoliat.deviantart.com/

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

                          I have tested the new 0.5.3 version on Mac and now the Ivy window appears and don't disappears, in the first left-click the plugin runs, but in the second left-clic nothing happens, the keyboards combination don't works on Mac and you can't finish the ivy.
                          The Ruby console is empty, in the image below you can see all.

                          Captura de pantalla 2011-05-10 a las 12.53.32.JPG

                          Thanks again Pierreden for your effort!! πŸ‘

                          "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
                          • massimoM Offline
                            massimo Moderator
                            last edited by

                            The new revision works, thank you! πŸ‘

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

                              @oxer said:

                              I have tested the new 0.5.3 version on Mac and now the Ivy window appears and don't disappears, in the first left-click the plugin runs, but in the second left-clic nothing happens, the keyboards combination don't works on Mac and you can't finish the ivy.
                              The Ruby console is empty, in the image below you can see all.

                              Thanks again Pierreden for your effort!! πŸ‘

                              Try the new 0.5.4 Oxer... hope it helps!

                              Peace out

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

                                Thanks very much Pierreden!!!!!!! 😍 πŸ‘
                                Now the plugin works on Mac, it's fantastic, the combination Keys on Mac are:
                                Alt+Click -->Grow Ivy leafs
                                Cmd+Click -->Make the ivy grow towards the mouse position
                                SHIFT+Click --> Finish Ivy
                                The second left-click (third, fourth,......) don't works and the "r" key on Mac is assigned to make a Rectangle.

                                Ivy 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
                                • G Offline
                                  gaonirico
                                  last edited by

                                  @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

                                  1 Reply Last reply Reply Quote 0
                                  • thomthomT Offline
                                    thomthom
                                    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

                                    Not sure if it'll solve this error, but the latest version is 1.49.01.

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

                                    1 Reply Last reply Reply Quote 0
                                    • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 36
                                            • 37
                                            • 2 / 37
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement