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
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • sadyoS 離線
      sadyo
      最後由 編輯

      Nice Plugin,but just for the report...

      When i trying v0.6.2,
      All feature inside Parameters it seem appearing and worked properly.
      Ctrl+click and Alt+click worked fine

      But when i try shift+click, nothing happen, so i cannot see the leaf 😢

      I Hope this problem would be solved on the next release

      Thanks in advance


      I,m Using SU 8 M1 Pro and Win7 64bit

      1 條回覆 最後回覆 回覆 引用 0
      • rodrigonotorR 離線
        rodrigonotor
        最後由 編輯

        Hi, i want to say: great plugin!, I try it and this is the result:

        http://img846.imageshack.us/img846/6592/ivyz.jpg

        Also, I translate to spanish, here are the file, only rename to main.html

        Me he tomado la libertad de traducirlo al español, solo hay que renombrar el archivo a main.html

        main_es.rar

        12-05-2011 10-39-36 PM.png

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

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

          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

          www.saurus.rs

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

            @pierreden said:

            (face.classify_point seems buggy)

            What issues do you have with this method?

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

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

              Thanks for all comments, kind words, crits and suggestions! Uploaded a new version 0.6.3 and tries to solve a number of issues and suggestions.

              @Earthmover: BRILLIANT! I guess this goes for everyone, but if you got some nice looking leafs, flowers or Ivy'ish stuff, im more than willing to include it in the releases (or maybe organize it somehow, website?) 💭

              @driven: Added the breaks in the html. Hope this is better for all mac users. Added formatting to h4 headings 🤓

              @driven/solo: I can confirm that i is 73 (thats on my scandinavian keyboard). Added 105 to the "reset ivy" key mapping on advice from you guys 👍

              @sadyo: The tool code is rewritten (after shameless spying on thomthoms Selection_toys code. Hopefully i handle mouse events right this time 😒 )

              @Rodrigonotor: awesome! Will include this soon.

              @srx: Thank you! The components have now been switched with SU 7 components. Hopefulle this works!

              @thomthom: I guess its expected behaviour, but if you try to classify a point on a face which is inside a group, the point is classified as not on the face. The result is this.The second problem is that some branches in the plugin sometimes manage to "break through" faces. Im not sure if this is a classify_point issue. or plugin algorithm which sometimes break, but cant solve the problem 100%.

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

                @pierreden said:

                @thomthom: I guess its expected behaviour, but if you try to classify a point on a face which is inside a group, the point is classified as not on the face. The result is this.The second problem is that some branches in the plugin sometimes manage to "break through" faces. Im not sure if this is a classify_point issue. or plugin algorithm which sometimes break, but cant solve the problem 100%.

                Have you taken into account the transformation of the group? If you pick a point on a face inside a group you get a point for the current context, and then you need to apply the transformation for the group(s) which the face is within.

                @pierreden said:

                @sadyo: The tool code is rewritten (after shameless spying on thomthoms Selection_toys code. Hopefully i handle mouse events right this time 😒 )

                For handling Shift, Ctrl etc?
                I think you might want check a more recent plugin, like Select Curve: http://forums.sketchucation.com/viewtopic.php?t=31091

                I'm not sure if Selection Toys does it 100% correct. I can have a look in the code and compare against Vertex Tools (which I have tested on Windows and OSX).

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

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

                  @thomthom said:

                  Have you taken into account the transformation of the group? If you pick a point on a face inside a group you get a point for the current context, and then you need to apply the transformation for the group(s) which the face is within.

                  No I haven't. If i make a single face and grows an ivy on it, without grouping the face first, there's no problem at all. But if i group the face before growing an ivy on it, adhesion doesn't work, a consequence of classify_point not returning 1. Unless a transformation is applied to a group by the very act of grouping, transformations itself cant explain this behaviour.

                  Can it be that Sketchup interprets this situation as if the point not being on the face itself, but "on" the group? ❓

                  @thomthom said:

                  I'm not sure if Selection Toys does it 100% correct. I can have a look in the code and compare against Vertex Tools (which I have tested on Windows and OSX).

                  PM 👍

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

                    @pierreden said:

                    No I haven't. If i make a single face and grows an ivy on it, without grouping the face first, there's no problem at all. But if i group the face before growing an ivy on it, adhesion doesn't work, a consequence of classify_point not returning 1. Unless a transformation is applied to a group by the very act of grouping, transformations itself cant explain this behaviour.

                    I couldn't find classify_point anywhere in the code... not in the current version?

                    How do you obtain the point you test against classify_point, an InputPoint?

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

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

                      @thomthom said:

                      @pierreden said:

                      No I haven't. If i make a single face and grows an ivy on it, without grouping the face first, there's no problem at all. But if i group the face before growing an ivy on it, adhesion doesn't work, a consequence of classify_point not returning 1. Unless a transformation is applied to a group by the very act of grouping, transformations itself cant explain this behaviour.

                      I couldn't find classify_point anywhere in the code... not in the current version?

                      How do you obtain the point you test against classify_point, an InputPoint?

                      Look in livevector_core.rb. line 187.

                      classify_point is used to find the closest face to a new node on a branch, so the points tested against classify_point is the last point on each branch.

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

                                            Advertisement