Skip to content

Instantly share code, notes, and snippets.

@tritao
Created April 23, 2026 14:02
Show Gist options
  • Select an option

  • Save tritao/4323e5ca209c2a270acaa39607dcf056 to your computer and use it in GitHub Desktop.

Select an option

Save tritao/4323e5ca209c2a270acaa39607dcf056 to your computer and use it in GitHub Desktop.
- Baseline behavior: a model with adjacent equal planar faces, cylindrical faces, and BSpline faces should refine to the same result as before the PR.
- No false negatives: equal faces must still merge when their geometric values sit near quantization/grid boundaries.
- No false positives: faces with the same structural hash/grid key but different actual geometry must not be merged.
- Mixed bucket case: multiple BSpline faces in the same or neighboring grid cells, where only some are equal, should produce the right equality groups.
- Plane/cylinder fallback: confirm planes and cylinders still use the old behavior effectively, since their structural hash/grid key now does not optimize them.
- Performance regression/sanity case: a shape with many same-type faces, especially many BSpline faces, should run faster or at least not worse than the old pairwise path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment