Skip to content

repro: false clearance errors for unconnected thermal vias - #3360

Closed
GokulPandi-M wants to merge 2 commits into
tscircuit:mainfrom
GokulPandi-M:codex/repro-unconnected-thermal-vias
Closed

repro: false clearance errors for unconnected thermal vias#3360
GokulPandi-M wants to merge 2 commits into
tscircuit:mainfrom
GokulPandi-M:codex/repro-unconnected-thermal-vias

Conversation

@GokulPandi-M

@GokulPandi-M GokulPandi-M commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

What happens

Thermal vias fully contained by an exposed SMD pad inherit its connectivity only after that pad is connected to a trace or net. While the component pin is still unconnected, core leaves the vias electrically separate and the via-to-pad DRC reports one false clearance error per via.

Thermal vias inside an exposed PowerPAD are intentional; TI documents using them to connect the pad to internal or bottom copper planes in the TPS768-Q1 datasheet.

Reproduction

The new test creates a regulator-style board placement with:

  • input and output capacitors
  • correctly spaced VIN and VOUT pads
  • one unconnected exposed thermal pad
  • four vias fully contained by that thermal pad
  • no EasyEDA or converter dependency

It verifies that the pad already has a connectivity identity, the four vias do not inherit it, and the checker produces four false via-to-pad clearance errors.

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
tscircuit-core-benchmarks Ready Ready Preview Aug 21, 2026 12:22pm

Request Review

@GokulPandi-M GokulPandi-M changed the title Reproduce false clearance errors for unconnected thermal vias repro: false clearance errors for unconnected thermal vias Aug 21, 2026
@GokulPandi-M

Copy link
Copy Markdown
Contributor Author

Moved this reproduction to the checks layer as suggested: tscircuit/checks#231. The smaller repro shows that checkViasInPads respects is_via_in_pad_allowed, while checkViaPadClearance ignores it and reports four false errors. Closing this draft in favor of the checks PR.

@GokulPandi-M
GokulPandi-M deleted the codex/repro-unconnected-thermal-vias branch August 21, 2026 13:26
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