Skip to content

Add min via size support#2148

Closed
mohan-bee wants to merge 5 commits into
tscircuit:mainfrom
mohan-bee:fix-via
Closed

Add min via size support#2148
mohan-bee wants to merge 5 commits into
tscircuit:mainfrom
mohan-bee:fix-via

Conversation

@mohan-bee
Copy link
Copy Markdown
Contributor

@mohan-bee mohan-bee commented Apr 18, 2026

This change makes minViaDiameter and minViaHole flow through core properly.

They now work from TSX on and , get stored in Circuit JSON/PCB data, pass into SimpleRouteJson, and are used when routed vias are created as pcb_via elements. It also removes the hardcoded 0.6 via size in phased autorouting so core uses the configured via size instead.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 18, 2026

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

Project Deployment Actions Updated (UTC)
tscircuit-core-benchmarks Ready Ready Preview, Comment Apr 18, 2026 6:52am

Request Review

@mohan-bee
Copy link
Copy Markdown
Contributor Author

waiting for these PR's to merge

tscircuit/props#634
tscircuit/circuit-json#542

@rushabhcodes rushabhcodes requested a review from seveibar April 18, 2026 08:27
Copy link
Copy Markdown
Contributor

@rushabhcodes rushabhcodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs seve's approval for this chanage

@mohan-bee mohan-bee changed the title Respect min via rules throughout autorouting and PCB output Add min via size support in core Apr 18, 2026
@mohan-bee mohan-bee changed the title Add min via size support in core Add min via size support Apr 18, 2026
Copy link
Copy Markdown
Member

@imrishabh18 imrishabh18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The names are confusing, minViaHole doesn't mean anything much.

@github-actions
Copy link
Copy Markdown

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@github-actions
Copy link
Copy Markdown

This PR was closed because it has been inactive for 1 day since being marked as stale.

@github-actions github-actions Bot closed this Apr 23, 2026
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.

3 participants