Skip to content

fix: keep seam overlap repairs convex#27

Merged
agustin-littlehat merged 1 commit into
mainfrom
fix-seam-overlap-convex
May 23, 2026
Merged

fix: keep seam overlap repairs convex#27
agustin-littlehat merged 1 commit into
mainfrom
fix-seam-overlap-convex

Conversation

@agustin-littlehat
Copy link
Copy Markdown
Contributor

Summary

  • reject seam overlap repairs that would turn a render polygon concave
  • keep the original face when the repaired outline is not weakly convex
  • add a castle regression test for lossy seam overlap output

Validation

  • pnpm --filter @layoutit/polycss-core test -- src/merge/optimizePolygons.test.ts
  • git diff --check origin/main..HEAD
  • node bench/lossy-corpus-bench.mjs --models obj/castle.obj --quick --json /tmp/polycss-castle-convex-branch.json --limit 10

@agustin-littlehat agustin-littlehat merged commit 35c9a3b into main May 23, 2026
1 check passed
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.

2 participants