Skip to content

Preserve A03 physical clearances when emitting routes - #106

Open
seveibar wants to merge 1 commit into
codex/srj18-six-copper-sharingfrom
codex/a03-physical-via-border
Open

Preserve A03 physical clearances when emitting routes#106
seveibar wants to merge 1 commit into
codex/srj18-six-copper-sharingfrom
codex/a03-physical-via-border

Conversation

@seveibar

@seveibar seveibar commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

A03 searches with grid cell centers in board coordinates, but previously stretched those centers to the node boundaries when emitting routes. That moved vias closer to the boundary than the clearance checked during search: the new regression requests 0.15 mm and the previous output leaves only 0.1045 mm.

Keep output in the same coordinate system as the search. Exact terminal coordinates are still restored by the existing endpoint handling. Search states, costs, occupancy, and copper dimensions are unchanged. This is stacked on #105 and supports tscircuit/tscircuit-autorouter#2447.

Validation:

  • A translated and rotated native regression verifies the emitted via border clearance and unchanged diameter; it fails on the previous commit.
  • The output contract test now checks physical interior coordinates and exact endpoints. The search-reuse route hash records the corrected coordinates while retaining its solve/rip checks.
  • Full dependency test suite and TypeScript checks pass. Seven affected A03/A09 SVGs were reviewed as before/after images on white backgrounds; existing intersection and geometry assertions remain unchanged.
  • Actual autorouter sample 9 completes with zero reference DRC and zero final physical via/pad contacts when combined with the independent MultiHead final-bounds correction. The two A03 nodes keep their original search results and solve at the original node size.

@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
high-density-a01 Ready Ready Preview Sep 8, 2026 8:37am UTC

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.

1 participant