Skip to content

Add via-in-pad autorouter configuration - #665

Closed
AnasSarkiz wants to merge 2 commits into
tscircuit:mainfrom
AnasSarkiz:feat/via-in-pad-opt-in
Closed

Add via-in-pad autorouter configuration#665
AnasSarkiz wants to merge 2 commits into
tscircuit:mainfrom
AnasSarkiz:feat/via-in-pad-opt-in

Conversation

@AnasSarkiz

@AnasSarkiz AnasSarkiz commented Jul 27, 2026

Copy link
Copy Markdown
Member

Summary

  • add optional allow_via_in_pad to pcb_group.autorouter_configuration
  • add focused schema coverage for the new flag
  • regenerate the Circuit JSON README types

Why

Via-in-pad routing can add fabrication cost, so downstream autorouters need an explicit opt-in that survives Circuit JSON serialization. Omitted or false remains disabled; only an explicit true will enable the downstream behavior.

This is the Circuit JSON companion to tscircuit/props#759.

Compatibility

The new field is optional and backward-compatible.

Validation

  • bun test — 271 pass, 0 fail
  • bunx tsc --noEmit
  • bun run build
  • bun run lint:zod
  • bun run check-snake-case
  • changed-file Biome formatting
  • bun run generate-docs

@AnasSarkiz
AnasSarkiz marked this pull request as ready for review July 27, 2026 15:08

@seveibar seveibar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not needed?

@AnasSarkiz AnasSarkiz closed this Jul 28, 2026
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.

2 participants