[ENH] Introduce weighted QEF constraints for multi-surface voxels and vertex averaging#50
Closed
Leguark wants to merge 2 commits intographite-base/50from
Closed
[ENH] Introduce weighted QEF constraints for multi-surface voxels and vertex averaging#50Leguark wants to merge 2 commits intographite-base/50from
Leguark wants to merge 2 commits intographite-base/50from
Conversation
… vertex averaging - Added `find_and_inject_multi_surface_constraints` to inject cross-surface weighted QEF constraints at shared voxels. - Enhanced `_gen_vertices` to incorporate extra constraints and apply weight scaling during QEF computation. - Implemented `_average_overlapping_vertices` for watertight vertex alignment across overlapping meshes. - Updated tests to validate the weighted QEF pipeline, vertex overlap resolution, and high-resolution stress scenarios.
…moval - Replaced pairwise vertex averaging with all-surface averaging for watertightness at overlap voxels. - Introduced `_remove_fault_overlap_triangles` to handle removal of triangles from overlapping fault and layer meshes. - Reduced `DEFAULT_CROSS_SURFACE_WEIGHT` to 10.0 for better constraint handling. - Updated tests to validate triangle removal at
Member
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Mar 13, 2026
Merged
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.

[ENH] Introduce weighted QEF constraints for multi-surface voxels and vertex averaging
find_and_inject_multi_surface_constraintsto inject cross-surface weighted QEF constraints at shared voxels._gen_verticesto incorporate extra constraints and apply weight scaling during QEF computation._average_overlapping_verticesfor watertight vertex alignment across overlapping meshes.[ENH] Refine vertex averaging logic and add fault-overlap triangle removal
_remove_fault_overlap_trianglesto handle removal of triangles from overlapping fault and layer meshes.DEFAULT_CROSS_SURFACE_WEIGHTto 10.0 for better constraint handling.