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

    [Plugin] QuadFaceTools

    Scheduled Pinned Locked Moved Plugins
    673 Posts 116 Posters 499.2k Views 116 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.
    • J Offline
      jaopedro
      last edited by

      It's the second day I'm using it, and now it gives me an annoying error everytime I run Sketchup:
      "Error: #<NameError: uninitialized constant Infinity>
      <main>:in <main>' C:/Users/JP/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_Lib2/settings.rb:51:in eval'
      C:/Users/JP/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_Lib2/settings.rb:51:in read_default' C:/Users/JP/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_Lib2/settings.rb:51:in []'
      C:/Users/JP/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_Lib2/settings.rb:96:in set_default' C:/Users/JP/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_QuadFaceTools/core.rb:61:in module:QuadFaceTools'
      C:/Users/JP/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_QuadFaceTools/core.rb:33:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2016/Tools/extensions.rb:197:in require'
      C:/Program Files/SketchUp/SketchUp 2016/Tools/extensions.rb:197:in load' C:/Users/JP/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_QuadFaceTools.rb:50:in register_extension'
      C:/Users/JP/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_QuadFaceTools.rb:50:in <module:QuadFaceTools>' C:/Users/JP/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_QuadFaceTools.rb:15:in module:Plugins'
      C:/Users/JP/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_QuadFaceTools.rb:14:in <module:TT>' C:/Users/JP/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_QuadFaceTools.rb:13:in <top (required)>'

      1 Reply Last reply Reply Quote 0
      • jujuJ Offline
        juju
        last edited by

        @jaopedro said:

        It's the second day I'm using it, and now it gives me an annoying error everytime I run Sketchup

        It will help if you complete your profile to help the programmers here get to the bottom of the problem

        Save the Earth, it's the only planet with chocolate.

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

          @jaopedro

          Have you installed the latest versions of the toolset from the PluginStore, AND the latest version of thomthom's Lib ?

          The error message suggests that something is not up to date.

          How are you installing them ?
          From the downloaded RBZ files using Window > Preferences > Extensions > Install Extension... button ?
          Or using the 'Auto-install' feature of the SketchUcation ExtensionStore³ dialog ??

          Have you restarted SketchUp after the two installations to ensure that the latest Lib code is in use ?

          TIG

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            If you enter this into the Ruby Console and restart - does that fix things?

            
            TT;;Plugins;;QuadFaceTools.settings[;uv_u_scale] = 1.0
            TT;;Plugins;;QuadFaceTools.settings[;uv_v_scale] = 1.0
            
            

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

            1 Reply Last reply Reply Quote 0
            • tuna1957T Offline
              tuna1957
              last edited by

              Thomas, The help you gave me on my pillow model over on the SubD forum got me thinking. I have run the sandbox to quads function on proxies after doing various adjustments. I'm now wondering if I'm using the tool correctly. ( I'm sure I forgot or didn't think I needed to do it to the pillow ) I've been triple clicking to select all in the group or component then clicking the sandbox to quads button. Is that correct ? Also I've noticed there is no outward indication it's doing anything. For example some plugins will turn the curser into the spinning beachball until the've done their thing. Short of running the analyze color to quads is their another indication it's done the job that I'm just missing. ?

              1 Reply Last reply Reply Quote 0
              • thomthomT Offline
                thomthom
                last edited by

                I'm afraid there is not other indication right now. I have been toying with the idea of making a function that will update the face color based on whether its a triangle, quad or n-gone.

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

                1 Reply Last reply Reply Quote 0
                • tuna1957T Offline
                  tuna1957
                  last edited by

                  Thomas , thanks for the quick response and I'll keep forging ahead and try and learn from my mistakes. 👍

                  1 Reply Last reply Reply Quote 0
                  • thomthomT Offline
                    thomthom
                    last edited by

                    I plan to make improvements to this - but I probably won't get around to do anything until after the summer.

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

                    1 Reply Last reply Reply Quote 0
                    • tuna1957T Offline
                      tuna1957
                      last edited by

                      👍 It's all good Thomas. Amazed you do all the stuff you do. You must have some hidden super powers ! Definitely making progress with your tools. Heck messing about late last night and figured out how to get rid of the triangles I always end up with in the corners of those pillows. 😮

                      1 Reply Last reply Reply Quote 0
                      • tuna1957T Offline
                        tuna1957
                        last edited by

                        Thomas, Geez I feel like I'm turning into a pain in your arse. Started to get this load error tonight. Only pops up if I open a fresh SU window. Tried a few times , the error popped up every time. Opened a couple of existing models and didn't get the error? Any idea what this is about ? What did I break ? 😲


                        load error.jpg

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          That's a pesky bug I've not been able to squash yet: https://bitbucket.org/thomthom/tt-library-2/issues/18/tt-settings-with-length-cause-errors

                          Try this in the Ruby Console as a workaround:

                          
                          TT;;Plugins;;QuadFaceTools.settings[;uv_u_scale] = 1.0
                          TT;;Plugins;;QuadFaceTools.settings[;uv_v_scale] = 1.0
                          
                          

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

                          1 Reply Last reply Reply Quote 0
                          • tuna1957T Offline
                            tuna1957
                            last edited by

                            👍 👍

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by

                              I'll try to find a fix that doesn't break other extensions. The challenge with this is that is happening inside of TT_Lib2 - which is shared my most of my other extensions. 😕

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

                              1 Reply Last reply Reply Quote 0
                              • thomthomT Offline
                                thomthom
                                last edited by

                                Hi everyone

                                I have uploaded a new version of QFT - 0.10.0. It doesn't have new end-user features, but I implemented the error handler which Solid Inspector, SUbD and Vertex Tools already use. This means that if you run into Ruby errors you will get a dialog that let you submit it back to me.

                                Please upgrade and make sure you hit submit when you run into errors. I'm trying to map out the various bugs in the extension. "Got to catch them all!" 😛

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

                                1 Reply Last reply Reply Quote 0
                                • plot-parisP Offline
                                  plot-paris
                                  last edited by

                                  Hey guys,

                                  I run into this problem quite often, where I model a shape, making sure, every surface is a quad.

                                  But when I use SUbD to subdivide, it looks wrong.

                                  When I then use the "Flip Triangulation Tool" of QuadFaceTools, I can see that some faces (marked red in the model below) are not being recognized as quads.

                                  Does any one know how this happens? And more importantly, how to fix it?

                                  Cheers,
                                  Jakob

                                  QuadProblem_v01.skp

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

                                    Sometimes you just need to tell it to make quads.


                                    Tri.gif

                                    1 Reply Last reply Reply Quote 0
                                    • plot-parisP Offline
                                      plot-paris
                                      last edited by

                                      haha, I could have sworn I tried that. But obviously I didn't. 😳

                                      Thanks a lot

                                      1 Reply Last reply Reply Quote 0
                                      • thomthomT Offline
                                        thomthom
                                        last edited by

                                        That reminds me - I had this idea for a function that would automatically color the faces as you modelled. I added an issue to track this: https://bitbucket.org/thomthom/quadface-tools/issues/98/live-quad-validation

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

                                        1 Reply Last reply Reply Quote 0
                                        • thomthomT Offline
                                          thomthom
                                          last edited by

                                          Just need an icon...


                                          QFT-LiveAnalysis.gif

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

                                          1 Reply Last reply Reply Quote 0
                                          • thomthomT Offline
                                            thomthom
                                            last edited by

                                            Version 0.11.0 is out.

                                            2016-08-01_23h07_36.png

                                            2016-08-01_23h08_26.png

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

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 22
                                            • 23
                                            • 24
                                            • 25
                                            • 26
                                            • 33
                                            • 34
                                            • 24 / 34
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement