8000 Preserve straight edges during outline smoothing by jasonmadigan · Pull Request #191 · tracefinity/tracefinity · GitHub
[go: up one dir, main page]

Skip to content

Preserve straight edges during outline smoothing - #191

Merged
jasonmadigan merged 1 commit into
mainfrom
fix/184-preserve-straight-edges
Aug 21, 2026
Merged

jasonmadigan merged 1 commit into
mainfrom
fix/184-preserve-straight-edges

Conversation

@jasonmadigan
Copy link
Copy Markdown
Collaborator

Summary

  • Bound Chaikin smoothing to a 2mm corner span so long simplified edges stay straight instead of bowing far into tool pockets.
  • Keep SVG previews and generated geometry in lockstep, with regression coverage at both public seams.
  • Document the physical smoothing bound and its backend/frontend parity requirement.

Test evidence

  • backend/venv/bin/pytest backend/tests -q — 326 passed.
  • pnpm exec vitest run src/lib/svg.test.ts --reporter=verbose — 4 passed.
  • make lint — passed (ruff, TypeScript, and ESLint with 9 pre-existing warnings).
  • Full frontend Vitest reached 118 passing tests; five existing jsdom workers could not start because the installed undici package lacks wrap-handler.js.
  • Local Playwright could not start because its Chromium binary is not installed; the E2E workflow installs Chromium before running.

Closes #184

Signed-off-by: Jason Madigan <jason@jasonmadigan.com>
@jasonmadigan
jasonmadigan marked this pull request as ready for review August 21, 2026 12:28
@jasonmadigan
jasonmadigan merged commit 5b192b6 into main Aug 21, 2026
4 checks 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.

Outline smoothing bows long straight edges in generated pockets

1 participant

0