Skip to content

fix: merge close same-net trace lines#428

Open
jarnodevries-byte wants to merge 1 commit into
tscircuit:mainfrom
jarnodevries-byte:bounty/issue-34-merge-close-lines
Open

fix: merge close same-net trace lines#428
jarnodevries-byte wants to merge 1 commit into
tscircuit:mainfrom
jarnodevries-byte:bounty/issue-34-merge-close-lines

Conversation

@jarnodevries-byte
Copy link
Copy Markdown

Fixes #34.\n\n## Summary\n- add TraceCleanupSolver post-step to snap close collinear same-net segments onto the same axis\n- preserve terminal endpoints while inserting short connector segments\n- add focused horizontal/vertical/safety regression tests\n- update affected SVG snapshots\n\n## Tests\n- bun test tests/functions/mergeSameNetCloseTraceLines.test.ts tests/solvers/TraceCleanupSolver/TraceCleanupSolver.test.ts\n- bun test\n- bunx tsc --noEmit\n- git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 24, 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 May 24, 2026 8:47pm

Request Review

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.

Merge same-net trace lines that are close together (make at the same Y or same X)

1 participant