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
      tomot
      last edited by

      There are a number of hiccups in each new Ruby that need to be sorted out. I'm sure that will happen. With many thanks to Pierreden for taking on this task. 🎉

      I have only 2 plugins currently installed, Vray demo, and Ivy under SU8. I also resaved the 3 ivyleaf_x.skp file to my SU8 version.

      v.0.5.4 : only produces one statement in the Ruby Console after it installs the Ivy leaves.

      quietly_force_sync_mats_cb just called
      

      but otherwise works flawlessly.

      v.0.6.2.beta : after 2 clicks, the following is noted in the Ruby Console.

      (eval);1; warning; Float 0.05 out of range
      Error; #<TypeError; nil can't be coerced into Fixnum>
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;20;in `-'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;20;in `initialize'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;49;in `new'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;49;in `grow_stem'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;38;in `each'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;38;in `grow_stem'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;203;in `grow_stem'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;202;in `each'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;202;in `grow_stem'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;201;in `times'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;201;in `grow_stem'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;96;in `onLButtonDown'
      

      crashed!

      v.0.6.3.beta : after 2 clicks, the following is noted in the Ruby Console.

      (eval);1; warning; Float 0.05 out of range
      Error; #<TypeError; nil can't be coerced into Fixnum>
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;20;in `-'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;20;in `initialize'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;49;in `new'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;49;in `grow_stem'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;38;in `each'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb;38;in `grow_stem'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;204;in `grow_stem'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;203;in `each'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;203;in `grow_stem'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;202;in `times'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;202;in `grow_stem'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb;90;in `onLButtonUp'
      
      

      crashed!

      cheers

      [my plugins](http://thingsvirtual.blogspot.ca/)
      tomot

      1 Reply Last reply Reply Quote 0
      • rodrigonotorR Offline
        rodrigonotor
        last edited by

        @sadyo said:

        Shift+Click still not work on My SketchupIvy.0.6.3.beta

        Same problem and the Ivy not grow. I use the same parameters of the 0.5.4 version and not achive the same results.

        SU ver. 8.0.3117

        • [Sketchando.net](http://foro.sketchando.net/portal.php) • www.arqcad.net •

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

          The 'LiveIvy' error is because a reference that is set to 'nil' and NOT a 'float' [number] so it can't use '-' on it... See line #20...

          TIG

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

            @tig said:

            The 'LiveIvy' error is because a reference that is set to 'nil' and NOT a 'float' [number] so it can't use '-' on it... See line #20...

            hi TIG,

            if it actually has that error, why would it work on some setups and not others? just curious...

            I can get it to run on the mac if I leave the startup ruby in the folder and load after startup, but only one of the leaves are transparent and in some image format that un-editable on my mac...

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

              @tig said:

              The 'LiveIvy' error is because a reference that is set to 'nil' and NOT a 'float' [number] so it can't use '-' on it... See line #20...

              looks like just a simple typing mistake. I found out quickly its best to leave to Ruby console open then run your script to see what errors occur.

              driven: Its very difficult to have one ruby satisfy the quirks of 2 OS's. If I had bothered to make my simple rubies work for 2 OS's I would not be enjoying my retirement now. 😉

              [my plugins](http://thingsvirtual.blogspot.ca/)
              tomot

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

                @tomot said:

                v.0.5.4 : only produces one statement in the Ruby Console after it installs the Ivy leaves.

                quietly_force_sync_mats_cb just called
                

                but otherwise works flawlessly.

                That is generated by V-Ray for SketchUp.

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

                1 Reply Last reply Reply Quote 0
                • jamalitoJ Offline
                  jamalito
                  last edited by

                  @jamalito said:

                  hi guyz
                  how is it do this plugin ?
                  I downloaded it but can not use it 😕

                  is anyone tell me how is this work ?

                  Albert Einstein:
                  ((I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.))

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    function
                    last edited by

                    extract the rar file (http://www.win-rar.com/) into your Sketchup Plugin folder, located in the Google program files: Both LiveIvy.rb and the directory LiveIvy should be directly in the Plugin folder. Restart sketchup, select the faces you wish the ivy to grow on and access the plugin the the dropdown menu "Plugins" The GUI should appear, click the tab Usage for a full explanation of ...usage.

                    btw: Pierreden - this is my favorite GUI of any sketchup plugin, bravo 👍

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

                      I thought I would be able to add a 4th leaf to the LiveIvy.tool.rb script.
                      Having made a new ivyleaf_4.skp file and adding the following code paragraph

                      unless ;;Pdn;;LiveIvy;;Definitions.present?("ivyleaf_4")
                              #path = File.join(pathname, 'Textures/ivyleaf_4.skp')
                              pathname = Sketchup.find_support_file "ivyleaf_4.skp", "Plugins/LiveIvy/Textures/"
                              definitions.load pathname   
                            end  
                      

                      I thought would have worked ......it did not! 😞 any ideas what else needs to be changed to accept a 4th leaf? I also made the leaves into actual cutouts, the procedure is similar to making "face me components". I will post the new revised leaves soon.


                      ivy12.jpg

                      [my plugins](http://thingsvirtual.blogspot.ca/)
                      tomot

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

                        Oh yes,I agree the leaves need to be .png's with alpha channel, especially for render purposes, I'd like to have something similar to fur plugin that I can choose what to use as leaves if possible.

                        Face me would be awesome.

                        http://www.solos-art.com

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

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

                          @solo said:

                          Oh yes,I agree the leaves need to be .png's with alpha channel, especially for render purposes, I'd like to have something similar to fur plugin that I can choose what to use as leaves if possible.

                          Face me would be awesome.

                          have a look at the attached Texture folder, it contains the Ivy shown above.
                          let me know how it works!
                          (if you only have winzip just rename texture.rar to texture.zip and open it with winzip)


                          Textures.rar

                          [my plugins](http://thingsvirtual.blogspot.ca/)
                          tomot

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

                            0.6.3 is the version I'm using now... The ivy is not closing on shift + click. Was playing with 0.5.4 earlier and it worked perfectly. I've playing trying it out on sketchup 8. (yes i deleted the previous version) Just reporting... No complaints..😄 great work on the plugin mate..!

                            My Works

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

                              first of all thanks for this pluggin. its wonderful. I have the following request.

                              1. two skp files were done in su8, its better if they are done in SU6, they can be opened in su7 and su8. if they were done in SU 8 then it has error in SU7 and SU6.

                              2. Please make the leaf textures as png file with background as transparent. its easier to render. instead of tiff or jpg

                              3. HOw is the possibility where user can load its own skp files. rather than depending on the three skp file leaves.

                              again my honest to goodness thanks to you pierre.

                              visit my blog: http://www.nomeradona.blogspot.com

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

                                This is just a workaround IMHO. There are 3 skp files in the rubies folder these are the 3 leaves each... you can save your own png textures instead of these leaves, but i'd recommend you place them on the same position as the existing leaf as it might affect leaf position otherwise. (you can save these in the skp format you use)

                                As solo and a few others have also said it would be definitely great to have some control as to what components to use as "instances" for the leaves like we have in the make fur plugin. It would add more control as to the kind of things we can make with this wonderful plugin... ( FRUIT LADEN TREES is definitely something i might play with 😄)

                                My Works

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

                                  is an excellent plugin from the beginning was working fine....but now it seems not work properly.....I got this console ruby ivy version 0.6.3

                                  Error: #<Errno::EDOM: Domain error - acos>
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb:35:in acos' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_branch.rb:35:in grow_stem'
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:204:in grow_stem' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:203:in each'
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:203:in grow_stem' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:202:in times'
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:202:in grow_stem' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:90:in onLButtonUp'

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

                                    @pierreden said:

                                    @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.

                                    I resolved the problem. The cause went for some spyware or badware. I decided create a new account of user which solved also other errors in my pc

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

                                      All it needs now is a parameter to add bunches of grapes...and the designers of Greek tavernas will be very happy. 😄

                                      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
                                      • leedeeteeL Offline
                                        leedeetee
                                        last edited by

                                        Any idea what I'm doing wrong?

                                        My ivy leafs appear with borders?

                                        (Thanks to Earthmover for answering previous question).


                                        ivy.jpg

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

                                          What render engine?

                                          The answer is because they are jpg and have no alpha channel, they need to be .png or you need to have the alpha mask in the right slot.

                                          http://www.solos-art.com

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

                                          1 Reply Last reply Reply Quote 0
                                          • leedeeteeL Offline
                                            leedeetee
                                            last edited by

                                            Just playing with SU output at the moment, Solo.

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

                                            Advertisement