[Plugin] QuadFaceTools
-
@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-quadsIm 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
-
@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-quadsIm 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:
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?
-
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 -
@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;nohtml5Feature requests are welcome! Could you please add them to the QFT issue tracker?
https://bitbucket.org/thomthom/quadface-tools/issues?status=new%26amp;status=openMy current plan is SUbD v2, then Vertex Tools v2, then work on QFT improvements.
-
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! -
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
-
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:inread_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:inset_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:inload' 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)>' -
@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
-
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 ?
-
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, 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. ?
-
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 , thanks for the quick response and I'll keep forging ahead and try and learn from my mistakes.
-
I plan to make improvements to this - but I probably won't get around to do anything until after the summer.
-
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.
-
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 ?
-
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
-
-
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.
-
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!"
Advertisement