Repository navigation
Conversation
Fill the selected n-gon faces (typically after Remove hole or pipe caps) with quads. The new mesh follows the curvature of the surrounding faces. The option dialog offers Rotation, Split, Curvature and Relax; the first two choose the layout of the new edge loops, the last two only move vertices. Since no single method gives good quads for every outline, several approaches are combined: - Regular rings are filled with an A x B grid (Coons patch plus a Hermite lift from the neighbouring faces, then tangential relax). - Re-entrant corners are found from the hole angle at each border vertex and closed first, innermost first, with new edges that continue the surrounding edge loops; the remaining regular area is then filled as above. - Corners that do not fit that pattern are cut by a cost-based search for the best diagonal. - Six-sided pieces may use a three-quad star around a valence-3 vertex. - Rings with an odd number of edges get one central triangle joined to three quad regions, since a quad-only fill is impossible.
Collaborator
Author
|
Here is a video showing some commands: Wings3D: Quad fill plugin Some cases under evaluation. The re-entrance one was the most annoying, but I was very pleased with the result:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fill the selected n-gon faces (typically after Remove hole or pipe caps) with quads. The new mesh follows the curvature of the surrounding faces. The option dialog offers Rotation, Split, Curvature and Relax; the first two choose the layout of the new edge loops, the last two only move vertices.
Since no single method gives good quads for every outline, several approaches are combined:
* Comments were left for convenience to help understand each part since there are some different approach in order to try
cover the situation as possible.
NOTE: Fill the selected n-gon faces (typically after Remove hole or pipe caps) with quads.