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

    [PLUGIN] Voronoi + Conic Curve

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

      Nice plugin! 👍

      However, Looking at the code I see that there are many methods on the global namespace. These methods will spread to ALL classes - which is not good. Could you please wrap everything into a separate unique namespace - module? Everything, even all the classes etc.
      Have a look at this article I put together with guidelines for SketchUp plugins: http://www.thomthom.net/thoughts/2012/01/golden-rules-of-sketchup-plugin-development/

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

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

        Thanks! 👍

        www.saurus.rs

        1 條回覆 最後回覆 回覆 引用 0
        • mitcorbM 離線
          mitcorb
          最後由 編輯

          Forgive my further ignorance, please. Why is it called "Conic Curve?"

          I take the slow, deliberate approach in my aimless wandering.

          1 條回覆 最後回覆 回覆 引用 0
          • pilouP 離線
            pilou
            最後由 編輯

            Some Voronoï fractures in Blender 😉

            [flash=560,315:3l0fl5l0]http://www.youtube.com/v/FIPu9_OGFgc[/flash:3l0fl5l0]

            Frenchy Pilou
            Is beautiful that please without concept!
            My Little site :)

            1 條回覆 最後回覆 回覆 引用 0
            • I 離線
              ivreich
              最後由 編輯

              Hi MattC

              Thanks for this plugin..been looking for something like this for a while.

              Anyway, I gave it a go and am experiencing lots of problems generating a proper voronoi lattice. have attached a screenshot and also the SU file for you to look at.

              Cheers,

              Joel


              Voronoi XY Errors


              Voronoi XY Errors SU File

              1 條回覆 最後回覆 回覆 引用 0
              • KrisidiousK 離線
                Krisidious
                最後由 編輯

                SO Matt are you saying if I had a box shaped plan I could plan a curve through it to fit well?

                By: Kristoff Rand
                Home DesignerUnique House Plans

                1 條回覆 最後回覆 回覆 引用 0
                • M 離線
                  MattC
                  最後由 編輯

                  Could You show me an example of box shaped plan and what You would like to obtain ?

                  1 條回覆 最後回覆 回覆 引用 0
                  • pilouP 離線
                    pilou
                    最後由 編輯

                    Cool things in 3D 😉

                    http://matsysdesign.com/wp-content/uploads/2009/06/drawings_01_voronoi3d.jpg

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

                    1 條回覆 最後回覆 回覆 引用 0
                    • pilouP 離線
                      pilou
                      最後由 編輯

                      @unknownuser said:

                      Or something else

                      Just image found on the Net 😉

                      But will be easy to make with your futur plug! ☀

                      Frenchy Pilou
                      Is beautiful that please without concept!
                      My Little site :)

                      1 條回覆 最後回覆 回覆 引用 0
                      • M 離線
                        MattC
                        最後由 編輯

                        Pilou You 're teasing me 😄
                        Is it Sketchup ??
                        Or something else?
                        Well only step that I miss from those, is generation of 3D Voronoi 😄
                        For rest I have plugins already.

                        @ Joel, indeed there WAS a problem - file in first message is updated.
                        Matt

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

                          Hey i always loved voronoi structures and i´m very interested on this plugin but when i try to use it i get this:

                          Error: #<ArgumentError: Cannot convert argument to Sketchup::Point3d>
                          C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/VoronoiXY.rb:277:in point_in_polygon_2D' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/VoronoiXY.rb:277:in voropoints'
                          C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/VoronoiXY.rb:267:in each' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/VoronoiXY.rb:267:in voropoints'
                          C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/VoronoiXY.rb:128:in voronoi' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/VoronoiXY.rb:105:in each'
                          C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/VoronoiXY.rb:105:in voronoi' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/VoronoiXY.rb:36:in initialize'
                          C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/VoronoiXY.rb:384:in `new'
                          C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/VoronoiXY.rb:384

                          am i doing something wrong, i read carefully and i think it´s my SketchUp maybe?

                          1 條回覆 最後回覆 回覆 引用 0
                          • M 離線
                            MattC
                            最後由 編輯

                            Hi Can You attach sketchup file that is causing problems, or is it in general ?
                            Matt

                            1 條回覆 最後回覆 回覆 引用 0
                            • T 離線
                              the.pjt
                              最後由 編輯

                              HI Matt ...
                              😄
                              I have made some PNG Icons ,made a loader and toolbar , define Extention for your exelent codes , and developed them a bit 😉
                              added a custom cursor to the ConicCurveInFace.rb
                              and removed the annoying UI message-box group counter from VoronoiXY.rb
                              I have also added TIG's pointcloude script as a defoult part of it , and I also made a Icon for that tool too ( points cloud triangulation ) .. I also made codes nicely and full commented .. just for you dear main developer 😄

                              suggestion for next versions :
                              add a point cloud generator ruby tool
                              add option to decide the resoult of VoronoiXY tool should be grouped or not
                              add option (ConicCurveInFace.rb) that let user make ConicCurves from grouped face (resoult of VoronoiXY tool)
                              add option (ConicCurveInFace.rb) that let user make ConicCurves from a set of selections .. no need to click and click and click ... 😄

                              and ... thanks a lot for your great script


                              to dear modorators : please please please don't delet this post !!! 😢 .. TIG says :
                              Permission to use, copy, modify, and distribute this software for
                              any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies... I didn't delete that copyright part .. and I also added TIG's name after his tool menu item ! 😉 is there any copyright issue again ? [mod=:3b85s0b6]PLEASE GET/USE THE LATEST VERSION...
                              FROM THE PluginStore...[/mod:3b85s0b6]


                              voronoi_conic.zip

                              1 條回覆 最後回覆 回覆 引用 0
                              • T 離線
                                the.pjt
                                最後由 編輯

                                here is the PSD files of ICONS


                                icons.zip

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

                                  @the.pjt said:

                                  to dear modorators : please please please don't delet this post !!

                                  This one is ok - as it has explicit statement that it can be modified and distributed.
                                  We do however prefer that the downloads for plugins at in the very first post of a plugin's thread. Otherwise it's hard for people to find the latest version if it is buried deep inside the thread. Could you agree with Matt whether that Matt puts the download in the first post - or you create a new thread where you maintain this modified version?

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

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • U 離線
                                    unclex
                                    最後由 編輯

                                    wonderful

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • T 離線
                                      the.pjt
                                      最後由 編輯

                                      thanks a lot Matt ... 😉
                                      I wish my works have been helpful for you ...
                                      and I'm glad for helpping you to have a nice plugin . 😄
                                      I myself didn't have any problem with icons and I'm wondering why it can't handle the Icon folder path ... but thanks for learning me the right way of codding ... Matt
                                      ... but you know ... I'm not a proggrammer .. 😞 , I wish I could code my sugestions .. and help you more than making some icons 😞

                                      ..
                                      thanks agane Matt .. have a nice tool 😄

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

                                        I'll be keeping eye on this. 3D... that would be great.

                                        Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

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

                                          Matt, the icons - did you put the icons in the correct folder? The change you did make it appear that you placed them in the root folder... ?

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

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • M 離線
                                            MattC
                                            最後由 編輯

                                            the.pjt thanks for a hard work.
                                            I
                                            I must admit that that part of writing rubies is still unknown to me. I just concentrate on making my code running and not on wrapping it in a nice package as You did.
                                            One question - as I downloaded Your files I could not access icons, Toolbar was blank.
                                            so in place of

                                            cmd.small_icon = "voronoi_conic/icon0s.png"
                                            

                                            I used

                                            cmd.small_icon = "./icon0s.png"
                                            

                                            and it worked.
                                            I have no idea why it was like that.
                                            As for a wishlist:

                                            • add a point cloud generator ruby tool - this should be no problem, if we are talking about random pints in a cube/box, and probably random points on face but I have no idea (for now) about random points in a volume (is it possible in Sketchup ?).
                                              -add option to decide the resoult of VoronoiXY tool should be grouped or not - ok , just one userform asking if groups should be exploded in the end.
                                            • add option (ConicCurveInFace.rb) that let user make ConicCurves from grouped face (resoult of VoronoiXY tool)- this should also not be a problem
                                            • add option (ConicCurveInFace.rb) that let user make ConicCurves from a set of selections .. no need to click and click and click ... - same as above.

                                            I will try to get it done, when I finish 3DVoronoi.

                                            Cheers
                                            Matt

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 6 / 7
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement