Skip to content

feat: combine close same-net trace segments#425

Open
jarnodevries-byte wants to merge 1 commit into
tscircuit:mainfrom
jarnodevries-byte:bounty/issue-29-same-net-combine
Open

feat: combine close same-net trace segments#425
jarnodevries-byte wants to merge 1 commit into
tscircuit:mainfrom
jarnodevries-byte:bounty/issue-29-same-net-combine

Conversation

@jarnodevries-byte
Copy link
Copy Markdown

Summary

  • Adds a conservative SameNetTraceSegmentCombinationSolver phase after trace overlap shifting.
  • Combines a short internal same-net segment onto a nearby containing same-net segment when doing so preserves orthogonal routing and does not introduce different-net intersections.
  • Feeds the combined traces into later net-label placement and overlap-avoidance phases.

Test plan

  • npm exec -- tsup-node lib/index.ts --format esm --dts
  • npm exec --yes --package bun -- bun test tests/solvers/SameNetTraceSegmentCombinationSolver/same-net-trace-segment-combination-solver.test.ts
  • npm exec --yes --package bun -- bun test

/claim #29

@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 7:04pm

Request Review

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