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

    [Plugin] Sketchup Ivy

    已排程 已置頂 已鎖定 已移動 Plugins
    732 貼文 172 Posters 265.8k 瀏覽 172 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • thomthomT 離線
      thomthom
      最後由 編輯

      When you test your point against a face nested inside groups/faces you must trasnform that point to the co-ordinates of the face's containing face.

      So if you have a face nested inside a Group1 > ComponentInstance1 > Face, then you must add up the transformation of Group1 and ComponentInstance1 and apply that to the point to send to face.classify point.

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

      1 條回覆 最後回覆 回覆 引用 0
      • P 離線
        Pierreden
        最後由 編輯

        @thomthom said:

        When you test your point against a face nested inside groups/faces you must trasnform that point to the co-ordinates of the face's containing face.

        So if you have a face nested inside a Group1 > ComponentInstance1 > Face, then you must add up the transformation of Group1 and ComponentInstance1 and apply that to the point to send to face.classify point.

        Thank you, get it! But i dont understand what transformations are applied to a new group (aka what happens when you group entities)?

        1 條回覆 最後回覆 回覆 引用 0
        • thomthomT 離線
          thomthom
          最後由 編輯

          When you group, or make a component, out of existing entities they get their own local co-ordinates within the new group/component. (Within the ComponentDefinition)
          The group/component is inserted at the bottom front left corner of the boundingbox of the selected entities. To the grouped entities, this point becomes [0,0,0].
          (Though, when you add a group via Ruby API I think the group's origin is set to the current context's origin.)

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

          1 條回覆 最後回覆 回覆 引用 0
          • EarthMoverE 離線
            EarthMover
            最後由 編輯

            Here is an English Ivy leaf that works well.


            Ivy_DIFFUSE.png

            3D Artist at Clearstory 3D Imaging
            Guide Tool at Winning With Sketchup
            Content Creator at Skapeup

            1 條回覆 最後回覆 回覆 引用 0
            • leedeeteeL 離線
              leedeetee
              最後由 編輯

              This is probably a ridiculously stupied question but how do I get the ivy leafs to actually show up?! What am I doing wrong?!

              1 條回覆 最後回覆 回覆 引用 0
              • EarthMoverE 離線
                EarthMover
                最後由 編輯

                CTRL click to bring up the red "+" symbols to indicate where the leaves will go and then SHIFT click to apply and create the leaves.

                Instructions are in the last section of the User Interface.

                3D Artist at Clearstory 3D Imaging
                Guide Tool at Winning With Sketchup
                Content Creator at Skapeup

                1 條回覆 最後回覆 回覆 引用 0
                • N 離線
                  nomeradona
                  最後由 編輯

                  i dont knoe why i have this

                  Error Loading File LiveIvy.rb
                  Can't insert empty component.

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

                  1 條回覆 最後回覆 回覆 引用 0
                  • srxS 離線
                    srx
                    最後由 編輯

                    nomeradona
                    go to textures folder and convert skp files to version 7. That worked for me...

                    www.saurus.rs

                    1 條回覆 最後回覆 回覆 引用 0
                    • R 離線
                      robert111
                      最後由 編輯

                      i need help with ivy
                      why my ivy ( picture 01) is not same as this good ivy ( picture 02)


                      render01.jpg


                      SU Ivy Wisteria.jpg

                      1 條回覆 最後回覆 回覆 引用 0
                      • N 離線
                        nomeradona
                        最後由 編輯

                        thanks srx. good point. iam actually using su7

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

                        1 條回覆 最後回覆 回覆 引用 0
                        • romboutR 離線
                          rombout
                          最後由 編輯

                          @srx said:

                          When I start SU it begins with this:
                          Error Loading File LiveIvy.rb
                          Can't insert empty component.

                          This is solved with replacing version 8 leaf components with version 7 in Textures folder...
                          but still not working:

                          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

                          me to only version 5.04 worked a bit untill the shift click part
                          i got this in SU 6

                          Error; #<ArgumentError; wrong number of arguments (2 for 1)>
                          /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/LiveIvy/LiveIvy_tool.rb;233;in `start_operation'
                          /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/LiveIvy/LiveIvy_tool.rb;233;in `birth_stem'
                          /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/LiveIvy/LiveIvy_tool.rb;223;in `birth'
                          /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/LiveIvy/LiveIvy_tool.rb;98;in `onLButtonDown'
                          /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/LiveIvy/LiveIvy_tool.rb;233
                          
                          
                          1 條回覆 最後回覆 回覆 引用 0
                          • R 離線
                            rabba89
                            最後由 編輯

                            I try to install the last two version but i still have the same problem.
                            This message appears when i open sketchup: Error Loading File LiveIvy.rb Can't insert empty component.
                            Than i'm able to use correctly the plug-in untill the last step.
                            If i hold click+shift nothing happens. It the same when i only click (generate ivy)

                            Can you help me?
                            thanks a lot. Very good work, great idea 😉

                            1 條回覆 最後回覆 回覆 引用 0
                            • sadyoS 離線
                              sadyo
                              最後由 編輯

                              Shift+Click still not work on My SketchupIvy.0.6.3.beta 😢
                              is there something i should do beside waiting for the next release?

                              1 條回覆 最後回覆 回覆 引用 0
                              • N 離線
                                nomeradona
                                最後由 編輯

                                @rabba89 said:

                                I try to install the last two version but i still have the same problem.
                                This message appears when i open sketchup: Error Loading File LiveIvy.rb Can't insert empty component.
                                Than i'm able to use correctly the plug-in untill the last step.
                                If i hold click+shift nothing happens. It the same when i only click (generate ivy)

                                Can you help me?
                                thanks a lot. Very good work, great idea 😉

                                rabba the components inside the texture pluggin two of them were done in sketchup 8. download the su8 free and resaved the file to su7 or su 6 depends on what version you are using,

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • majidM 離線
                                  majid
                                  最後由 編輯

                                  just to say a thousand thanx to you Pierre 👍 👍 👍 👍 👍 👍 👍 👍

                                  My inspiring A, B, Sketches book: https://sketchucation.com/shop/books/intermediate/2612-alphabet-inspired-sketches--inspiring-drills-for-architects--3d-artists-and-designers-

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • jamalitoJ 離線
                                    jamalito
                                    最後由 編輯

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

                                    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 條回覆 最後回覆 回覆 引用 0
                                    • T 離線
                                      tomot
                                      最後由 編輯

                                      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 條回覆 最後回覆 回覆 引用 0
                                      • rodrigonotorR 離線
                                        rodrigonotor
                                        最後由 編輯

                                        @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 條回覆 最後回覆 回覆 引用 0
                                        • TIGT 離線
                                          TIG Moderator
                                          最後由 編輯

                                          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 條回覆 最後回覆 回覆 引用 0
                                          • D 離線
                                            driven
                                            最後由 編輯

                                            @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 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 36
                                            • 37
                                            • 8 / 37
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement