sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [PLUGIN] Voronoi + Conic Curve

    Scheduled Pinned Locked Moved Plugins
    136 Posts 53 Posters 224.7k 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.
    • CTXC Offline
      CTX
      last edited by

      any news on SU2014?
      thanks in advance!!

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

        It works in v2014 on PC for me. πŸ˜„

        You do need delauney3.rb loading to get the 'Voroni' part to load and work.
        The zip on this thread's second page includes that. http://sketchucation.com/forums/viewtopic.php?p=417942#p417942
        It also makes the toolbar.
        The issue with MAC and toolbar's missing icons is most usually to do with the PNG files' format.
        Some PC-made PNG images are not suitable for the MAC.
        Try editing the PNGs shipped within the ZIP's subfolder on the MAC and saving them, they might then become MAC-friendly.
        The dialog won't open on MAC because the ConicCurveInFace.rb code uses:
        def onKeyDown(...
        at line #10.
        For some unfathomable reason a TAB-key down on MAC is not 'seen', so while pressing the TAB-key on a PC works, it fails silently on a MAC.
        It's easily fixed by changing the code to read:
        def onKey**Up**(...
        So then when you release the TAB-key the dialog appears - works on MAC AND PC.
        Also change the next line from:
        if key==9 or key==15 or key==48...
        to read:
        if key==9 or key==15 ###or key==48...
        As key#48 is NOT a TAB newer MACs - it's #15, and #9 on PCs.
        You might find odd things happening otherwise.
        This old toolset is a bit creaky BUT it works, and can be fixed up easily too...

        TIG

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

          Thanks TIG for the info, the dialog appears now on MAC. The icons don't show, I changed them to png mac format and resize their resolution of 96 to 72 but without result. It's a mystery!! ❓

          "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
          • TIGT Offline
            TIG Moderator
            last edited by

            @oxer said:

            Thanks TIG for the info, the dialog appears now on MAC. The icons don't show, I changed them to png mac format and resize their resolution of 96 to 72 but without result. It's a mystery!! ❓
            If you make brand new PNG files does that help ?
            The attached ZIP contains just the PNG files at 72 dpi and with the Color Profile 'generalized' [i.e. NOT IExxx] - put them into the subfolder...
            Do they help on your MAC ?


            voronoi_conic.zip

            TIG

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

              Thanks TIG for the effort but your icons don't show on Mac. 😒 ❓

              Icons.jpg

              I don't know if the problem is in the ConicCurveInFace.rb file, if there is a missing code to load the icons. The mouse icon shows correctly.

              "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
              • TIGT Offline
                TIG Moderator
                last edited by

                I don't expect this to fix it... but you never know 😲

                Look in subfolder's .rb files for these lines...
                cmd.small_icon = "voronoi_conic/icon0s.png" cmd.large_icon = "voronoi_conic/icon0.png"

                Change it to read thus:
                cmd.small_icon = File.join(File.dirname(__FILE__), "icon0s.png") cmd.large_icon = File.join(File.dirname(__FILE__), "icon0.png")

                AND similarly make changes for the other 2 similar entries for cmd1 & cmd2...
                Save & restart SketchUp........

                TIG

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

                  Thanks you very much TIG!! πŸ‘
                  Problem fixed, I changed the lines and the icons show now.

                  icons.jpg

                  "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
                  • CTXC Offline
                    CTX
                    last edited by

                    for TIG:
                    Thank you first of all for the suggestion ........ but I get this message .Where I do wrong? Thanks in advance! πŸŽ‰ πŸŽ‰


                    Error message

                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      Oxygen220
                      last edited by

                      anyone know what to do when this happens?

                      Error Loading File VoronoiXY.rb
                      Error: #<LoadError: cannot load such file -- delauney3.rb>
                      C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require'
                      C:/Users/MR-T-REX/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/VoronoiXY.rb:31:in `<top (required)>'

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

                        Yes.
                        It's an incompatibility with SketchUp v2014 Ruby2...

                        I'm working on a fix...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • O Offline
                          Oxygen220
                          last edited by

                          ok so i got the points and triangulation working, but when i select the point and click voronoi, nothing happens, what am i missing? 😧 no errors come up, just nothing happens.

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

                            Here is the updated RBZ in the PluginStore http://sketchucation.com/pluginstore?pln=VoronoiXY
                            It has the corrected icons / paths and is now compatibly encoded files for >= SketchUp v2014 [and earlier!]...
                            It also auto-removes any of its outdated and unwanted files from the base Plugins folder...

                            TIG

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

                              Hi TIG, you forgot to fix the problem with the TAB key on Mac in the new version:

                              @tig said:

                              The dialog won't open on MAC because the ConicCurveInFace.rb code uses:
                              def onKeyDown(...
                              at line #10.
                              For some unfathomable reason a TAB-key down on MAC is not 'seen', so while pressing the TAB-key on a PC works, it fails silently on a MAC.
                              It's easily fixed by changing the code to read:
                              def onKeyUp(...
                              So then when you release the TAB-key the dialog appears - works on MAC AND PC.
                              Also change the next line from:
                              if key==9 or key==15 or key==48...
                              to read:
                              if key==9 or key==15 ###or key==48...

                              "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
                              • TIGT Offline
                                TIG Moderator
                                last edited by

                                Doh ! πŸ˜’
                                So many bug-fixes... v2.3 in progress...

                                TIG

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

                                  Here's v2.3 which fixes the TAB bug on MACs...
                                  http://sketchucation.com/pluginstore?pln=VoronoiXY

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    Oxygen220
                                    last edited by

                                    god damn, ok so i got the 2.3 version, and finally able to get the icons, but the problems still there, i can create points, i can triangulate but when i try the vonoroi tool, nothing happens D:, either its not working or im an idiot and forgot to do something, or both..

                                    1 Reply Last reply Reply Quote 0
                                    • CTXC Offline
                                      CTX
                                      last edited by

                                      For Tig:
                                      Thank you very much, with the two updates (TIG: Triangulate Points v1.1 and
                                      MattC: VoronoiXY v2.3) now everything works great.
                                      Thanks again for the speed of response. 😍 😍 πŸ‘ πŸ‘

                                      1 Reply Last reply Reply Quote 0
                                      • CTXC Offline
                                        CTX
                                        last edited by

                                        I would like to ask if anyone knows a plugin for SU able to draw points (maybe choosing how many and in what geometry) on a surface. ❓ ❓
                                        Many thanks

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

                                          This is the staple 'PointTool'...
                                          http://sketchucation.com/pluginstore?pln=PointTool
                                          Toolbar or menu item...
                                          It draws individual cpoints [guides] - but you can of course use Rotate OR Move +Ctrl to Copy and then type NNx +<enter> to array them by the number NN repeating the distance, or /NN to divide the original distance up with your copies...

                                          TIG

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

                                            You have Raytracer by Thomthom who dropts Cpoints on Surfaces! πŸ˜‰

                                            http://sketchucation.com/forums/download/file.php?id=53901&t=1

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

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 5 / 7
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement