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

    [PLUGIN] Voronoi + Conic Curve

    Scheduled Pinned Locked Moved Plugins
    136 Posts 53 Posters 222.5k Views 52 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.
    • pilouP Offline
      pilou
      last edited by

      And about Conic Curve
      Does this possible ?

      conic_wanted.jpg

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

      1 Reply Last reply Reply Quote 0
      • pilouP Offline
        pilou
        last edited by

        Hello

        For the Voronoï (with SU V7 tested) images previous post
        All works fine except I must click on the Ok Botton for have a voronoï polygon for each new polygon! 😲 😮

        Tig triangle works for a selection of points in one pass! 👍

        And for the conic curve : does it possible to have the same for a selection of faces ?
        Click on each polygon is some tiedious when you have thousand of them!

        voronoi2.jpg

        EDIT : About Voronoï xy

        @unknownuser said:

        I must click on the Ok Botton

        Works fine in V8 ! ☀

        But something must be made for the UNDO !!! 😉
        Here you must make each CTRL+ Z for each polygon ! 😮

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

        1 Reply Last reply Reply Quote 0
        • M Offline
          MattC
          last edited by

          Hi Pilou, Hello everybody

          Currently I am rewriting the whole Voronoi 2D plug-in.
          It is going painfully slow, but I have a lot of other things on my head right now.
          Why I am completely redesigning it? Well my understanding of Ruby got a bit better, and also I got some new ideas how to tackle this problem.
          What I want to accomplish:

          1. prepare a nice flow chart for a process of creating 2D Voronoi diagram
          2. based on that define set of standard functions that will be used
          3. compose final version of Voronoi 2D plug-in
          • do steps 1-3 with 3D Voronoi
          • do steps 1-3 with Conic Curve
          • do steps 1-3 with random point generator (2D and 3D)

          Shall I succeed then next step would be a "fracture tool" similar to one in Blender.

          @ Pilou
          So to create voronoi diagram You have to iterate through the message boxes i=1, i=2 ... etc?
          I think that that was one of the first complains and I have disabled it in one of later versions. If not I can do it one more time. the same applies to UNDO in one step. Conic curve on all faces in selection was also made, but I don't know if it was made an official release.

          Your last question is more complicated. Conic curve plug-in was made as a response to the topic in the first post. There You can see that there are multiple curves inside polygons. And all the polygons are convex. So the conic curve , which is a construction based on 3 points (let's say A B and C), is always located inside the smaller angle near the point B. In Your case polygon is Concave and conic curve will go outside. Is it possible to force it inside? Well it is.
          See explanation of how the conic curve is made in first post. You have to set an offset that will sit well inside, and also play with a weight value. But in this version You cannot set different weights for every vertex. Maybe I will get to that in one of the future releases.

          Stay tuned for more details. I will try to make a nice blog (possibly later an e-book) about it.

          Cheers
          Matt

          1 Reply Last reply Reply Quote 0
          • pilouP Offline
            pilou
            last edited by

            Cool ! ☀

            For the OK Button that must be something between V7 V8
            not works in V7, works in V8

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

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

              MattC, that sounds great! Cannot wait.

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

              1 Reply Last reply Reply Quote 0
              • M Offline
                MattC
                last edited by

                So it is officially begonnen:
                spin-heads.blogspot.com

                Cheers
                Matt

                1 Reply Last reply Reply Quote 0
                • pilouP Offline
                  pilou
                  last edited by

                  Appetizing first page! ☀

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

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mra
                    last edited by

                    Hey, nice plugin - but I do not know how to use.

                    Every option simply brings up a cmd.exe for a millisecond and nothing ever happens.

                    The steps in the OP are unclear to me? How do we first generate the CP points?

                    1 Reply Last reply Reply Quote 0
                    • pilouP Offline
                      pilou
                      last edited by

                      @unknownuser said:

                      How do we first generate the CP points?

                      You just draw them as you want!

                      First image

                      One rectangle as plane background where you draw as you want the Control points
                      DON'T erase the "background"
                      Select points
                      Call the plug
                      Select points
                      Erase points

                      Second image
                      Select lines
                      Call Lattice Maker by Tig
                      Call Random Painter by Chris Fullmer

                      Selection Toys for select only points by ThomThom

                      Lattice Maker by Tig

                      Random Painter by Chris Fullmer

                      http://www.3dsaloon.fr/phpbb3/download/file.php?id=3741&mode=view/rokbox.jpg

                      http://www.3dsaloon.fr/phpbb3/download/file.php?id=3743

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

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Mra
                        last edited by

                        Thank you very much for the help.

                        But that's the first problem I had, I'm not sure of any tool in SketchUp to draw CP points, is this a plugin? I have no issue with the rest of the steps just how to initially draw the points.

                        1 Reply Last reply Reply Quote 0
                        • cottyC Offline
                          cotty
                          last edited by

                          For this, I use the plugin point from Matt666...

                          my SketchUp gallery

                          1 Reply Last reply Reply Quote 0
                          • pilouP Offline
                            pilou
                            last edited by

                            Personnally I use the Old Projection Toolbar by Didier Bur for the Cpoints! 😉
                            because there is also some crazzy tools on it : mutiple PushPull random and the crazzy
                            Extrude line! 👍
                            old Projection

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

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              Mra
                              last edited by

                              Thanks!

                              1 Reply Last reply Reply Quote 0
                              • pilouP Offline
                                pilou
                                last edited by

                                With Wings3d and plugin Manifold

                                Sinon Cell frature dans Blender tout aussi gratoche 😄

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

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

                                  Hi Matt,

                                  Thanks for your script, can't wait to use it!

                                  Unfortunately I've recently bought 2013Pro and I'm having nightmares trying to installing the script. I run a Macbook 10.9 - With Google Sketchup 8, the plugins folder used to be located under Macintosh HD/Users/Library/Application Support/Google SketchUp 8/SketchUp/Plugins but for some reason there is no default folder for Sketchup 2013 under the same path.

                                  I've found that there is a "Show Package Contents" context menu on Applications/SketchUp 2013/SketchUp.app that reveals a PlugIns folder but my copying and pasting the script into this doesn't work either.

                                  Not sure if you have any recommendations? Would you be able to upload your script onto Sketchup Extension Warehouse? I looked for it there also but silly me couldn't find it?

                                  Anyway, thanks again! Really appreciate any help!

                                  Arky

                                  1 Reply Last reply Reply Quote 0
                                  • BoxB Offline
                                    Box
                                    last edited by

                                    The best way to sort yourself out is to go to the top of the page, Resources, and download and install the Sketchucation Plugin store. It is an RBZ which installs through the Preferences dialog within sketchup, the extensions tab. Once you have installed that you can auto install many many plugins including this one.

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

                                      Hi Box,

                                      Thanks ever so much for your reply... I've downloaded the Sketchucation Plugin store as you suggested and it has installed correctly (I saved the rbz onto my desktop). Unfortunately although the VoronoiXY plugin is shown as 'installed' under Sketchucation Plugin Manager, I can't seem to see the tool anywhere on Sketchup, when sketchup opens I get the following error message:

                                      Error Loading File VoronoiXY.rb
                                      no such file to load -- delauney3.rb

                                      In fact, the top bar of the Sketchucation Plugin Manager tells me the file path for the plugins folder but when I follow that on my computer there is no such path! - I have even created a new directory to emulate that path and see if that works but no luck?

                                      1 Reply Last reply Reply Quote 0
                                      • BoxB Offline
                                        Box
                                        last edited by

                                        It's not very clear but if you read back through the thread you'll find that you need Tig's Triangulate Points plugin. It contains the missing delauney3 file.
                                        So if you use the Sketchucation store to autoinstall Triangulate Points v1.0 the error should go away and it should show up in the Plugins menu.

                                        As to the folder path location, Mac hides the folder from you, there is a way to show the folder but as I'm not a Mac user I don't remember how.


                                        Delauney.JPG

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          ccs1987
                                          last edited by

                                          Does this work on SU 2014?

                                          Sketchup 8 pro
                                          Vray

                                          Intel Xeon W3520 2.67Ghz
                                          12Gb Ram
                                          Nvdia Quadro FX 1800

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

                                            Interesting plugin but the icons don't show on Mac (see the image below), but they work fine.

                                            Toolbar.jpg
                                            When I push Tab key on Mac the Options window doesn't apper.

                                            OSX 10.9.3 & SU2014

                                            "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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 1 / 7
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement