[Plugin] Quadrilateralizer v1.1 20110215
-
TIG (c) 2011
All Rights Reserved.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Script: Quadrilateralizer.rb
Usage:
Select faces. Note that other entity-types in the selection are ignored.
Run 'Quadrilateralizer' from the 'Plugins' menu.
If there are no faces in the selection there is an error-message, it exits.
If all selected faces are already quads then you are asked if you want to
split them further: 'Yes' to redivide selected quad faces or No' to abort.
If the selected faces are not equivalent to 'all connected faces' then you
are warned: 'Yes' to continue, 'No' to abort. It is recommended that all
connected faces are processed together [treble-click a face to select all]
to ensure that all connected faces become quadrilaterals; otherwise later
processing of these non-quad faces could result in the connected quads
being made into non-quads, or if all connected faces were selected the
non-quads would split but the previously made quads will be split again -
it could get messy - this might be what is required... but usually
processing all connected at once is the best method.
All selected faces are now split into quadrilaterals ['quads'].
Note that any preexisting quads in the selection will also be split
because splitting any adjacent non-quads will force these existing quads
into non-quads anyway.
UV texture mapping etc is kept.
It is one step undo-able.
The vertices of these quad faces can be adjusted with the Move tool...
Donations: By PayPal.com to info @ revitrev.org
Version:
1.0 20110214 First Release.
1.1 20110215 More info and percentage progress reported in Status Bar.
-
OK, first to download so first to thank. I know why Pete asked for it...
Will it move vertices slightly to create quads from non co-planar tris for instance (or does it only subdivide)? -
Sweet!! cannot wait to give it a run.
Thanks a bunch.
-
Some quads are created from tris in a way that they have co-linear edges. This may not be an issue in many apps but SDS2's smooth tool cannot handle these, Pete.
TIG: still great tool, thanks!
-
@gaieus said:
Some quads are created from tris in a way that they have co-linear edges. This may not be an issue in many apps but SDS2's smooth tool cannot handle these, Pete.
TIG: still great tool, thanks!Most quads will not have co-linear sides [although thin slivers of triangles do approach co-linearity] - but those that do you can manually Move a vertex as desired.
The subdivision can produce unoptimized quads anyway that would benefit from some adjustments to some vertex locations...This is only v1.0, I only starting thinking about writing it a couple of hours ago
Any feedback or suggestions on improvements welcomed...
-
Thank you very much TIG.
-
I can envisage another tool to optimize selected coplanar quads...
It tests a faces for their vertices' 'concave-ness'/co-linearity and adjusts the concave/linear vertex location until it is just convex... I suspect this might involve a lot of tail-chasing as one faces concave vertex could be its neighbor's convex vertexAlternatively if any of the Quadrilateralized faces have co-linear or concave vertices select all and Quadrilateralize them a second time - that should fix them - although the mesh will then be much finer BUT there's no such thing as as a free lunch...
-
Thanks so much TIG!
One question though: Is this gonna help exporting a model to other modelers with greater detail, is it just because quad faced geometry is better or both?
Downloaded already and I ll be checking for updates!!!!
Again THANKS A BOUNCH! -
Hi TIG,
When translating into french, I came across this (line 82):
return nil if UI.messagebox("Quadrilateralizer;\n\nThe Selected Faces are NOT\nALL of the Connected Faces.\nDo you want to Continue ?",MB_YESNO)==7
Isn't this message confusing or wrong ?
-
@didier bur said:
Hi TIG,
When translating into french, I came across this (line 82):
return nil if UI.messagebox("Quadrilateralizer;\n\nThe Selected Faces are NOT\nALL of the Connected Faces.\nDo you want to Continue ?",MB_YESNO)==7
Isn't this message confusing or wrong ?
The selected-faces are not ALL of the connected-faces.
Do you want to continue?
Les choisir-faces ne sont pas tous les relier-faces.
Voulez-vous continuer ? -
Les faces choisies ne font PAS TOUTES partie des faces connectΓ©es
-
@didier bur said:
Les faces choisies ne font PAS TOUTES partie des faces connectΓ©es
I couldn't have put it better myself!
Je n'aurais pas pu mieux dire moi-mΓͺme! -
you Rock Tig...
-
TIG, thank you.
-
Thanks bro!
-
Thanks TIG....any chance of a progress bar?
-
Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=309120#p309120
More info and percentage progress now reported in the Status Bar. -
That was quick
-
Sorry it took so long I was at the corner-shop buying some milk when you posted
-
Now that you're around and idle, how about this
Advertisement