Skip to content

[ENH] Introduce weighted QEF constraints for multi-surface voxels and vertex averaging#50

Closed
Leguark wants to merge 2 commits intographite-base/50from
pretty_faults_II
Closed

[ENH] Introduce weighted QEF constraints for multi-surface voxels and vertex averaging#50
Leguark wants to merge 2 commits intographite-base/50from
pretty_faults_II

Conversation

@Leguark
Copy link
Member

@Leguark Leguark commented Mar 13, 2026

[ENH] Introduce weighted QEF constraints for multi-surface voxels and 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.

[ENH] Refine vertex averaging logic and add fault-overlap triangle removal

  • 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

Leguark added 2 commits March 10, 2026 09:22
… 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
Copy link
Member Author

Leguark commented Mar 13, 2026

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.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant