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.
    • romboutR Offline
      rombout
      last edited by

      @thomthom said:

      It's for converting imported geometry to Quads. When exporting geometry to blender and importing into SketchUp the edge that split the triangles in a non-planar quad is hidden - this function convert it to work with QuadFace Tools.
      https://bitbucket.org/thomthom/quadface-tools/wiki/Features#!convert-blender-quads-to-quadface-quads

      Im trying to convert a import obj which is completely triangulated to quads again. When i press the blender quads button nothing happens. Im using SU 2015 on OSX 10.11.2

      I see this in the console

      self.convert_blender_quads_to_sketchup_quads; 0.006166
      
      
      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        @rombout said:

        @thomthom said:

        It's for converting imported geometry to Quads. When exporting geometry to blender and importing into SketchUp the edge that split the triangles in a non-planar quad is hidden - this function convert it to work with QuadFace Tools.
        https://bitbucket.org/thomthom/quadface-tools/wiki/Features#!convert-blender-quads-to-quadface-quads

        Im trying to convert a import obj which is completely triangulated to quads again. When i press the blender quads button nothing happens. Im using SU 2015 on OSX 10.11.2

        I see this in the console

        self.convert_blender_quads_to_sketchup_quads; 0.006166
        > 
        

        Got a sample OBJ?

        The Blender Quads to QFT Quads is intended for the OBJ files that Blender exports. It exports quads with hidden edges. This button convert the hidden edge to the edge properties QFT needs.

        If you have a triangular mesh then you need to use the Convert Triangulated Mesh To Quads function:
        2016-02-25_16h54_24.png

        Note that this function is not perfect. There is a lot of ambiguity for such a conversion. It might be easy for a human to tell what should be a quad, but not for a script. So mileage might vary.

        The best is if you have an OBJ with quads.

        What are you exporting the OBJs from?

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

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

          I don't know if you plan to add new features to the QuadFaceTools or want to include these in SUbD. But (for me) it would be really helpful if you could include some more advanced loop tools to add or edit support edges into the SUbD toolkit. Like swift loop in max and a more intuitive and flexible connect function like in max. And the ability to move loops constrained to the edges.
          https://www.youtube.com/watch?v=3rJdMLmQRiE
          https://www.youtube.com/watch?v=jnk_QB2Ma-g%26amp;nohtml5

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

            @numerobis said:

            I don't know if you plan to add new features to the QuadFaceTools or want to include these in SUbD. But (for me) it would be really helpful if you could include some more advanced loop tools to add or edit support edges into the SUbD toolkit. Like swift loop in max and a more intuitive and flexible connect function like in max. And the ability to move loops constrained to the edges.
            https://www.youtube.com/watch?v=3rJdMLmQRiE
            https://www.youtube.com/watch?v=jnk_QB2Ma-g%26amp;nohtml5

            Feature requests are welcome! Could you please add them to the QFT issue tracker?
            https://bitbucket.org/thomthom/quadface-tools/issues?status=new%26amp;status=open

            My current plan is SUbD v2, then Vertex Tools v2, then work on QFT improvements.

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

            1 Reply Last reply Reply Quote 0
            • I Offline
              intrifen
              last edited by

              hi,you are great man ! i use so many plugins that is your design. i have a problem that with me so longer
              i hope use middle mouse button to pan and use shift or Alt +MMD to orbit, like 3ds max.because when i
              draw with sketchup long time my hands will pain. thank you very much!

              1 Reply Last reply Reply Quote 0
              • S Offline
                soopa1388
                last edited by

                Excuse me I have some problem about the Quad-face toolbar. after install everything is ok but I can not see the toolbar even though I check in the view toolbar. please help me.tnx

                1 Reply Last reply Reply Quote 0
                • 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
                                            • 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