Skip to content

feat: implement snapping logic and collinear merging phase#176

Open
Puroonjay wants to merge 4 commits intotscircuit:mainfrom
Puroonjay:main
Open

feat: implement snapping logic and collinear merging phase#176
Puroonjay wants to merge 4 commits intotscircuit:mainfrom
Puroonjay:main

Conversation

@Puroonjay
Copy link
Copy Markdown

added a merging_collinear phase to the TraceCleanupSolver pipeline

Logic: used an epsilon-based snapping pass in simplifyPath to handle coordinate jitter and force alignment. This solves the "staircase" effect mentioned in #34 and purges redundant points

/claim #34

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
schematic-trace-solver Ready Ready Preview, Comment Apr 12, 2026 7:17pm

Request Review

@Puroonjay
Copy link
Copy Markdown
Author

I have formatted the entire repository to ensure the Format check passes. The Bun test failure is expected as it is a snapshot mismatch because the new geometry is straighter than the old snapshots. Once these are updated on linux env all the tests will pass

@Puroonjay
Copy link
Copy Markdown
Author

2026-04-13.00-52-28.mp4

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant