audit_tented_via_ratio
Counts tented and untented via surfaces on the active PCB board, then reports the tented ratio and untented percentage for solder-mask coverage checks.
Instructions
Count tented vs untented via SURFACES on the active board and report the tented ratio.
Untented vias expose the via barrel through solder mask; in humid or salt-spray environments that risks acid traps and copper corrosion. For consumer boards spec is usually "all vias tented top + bottom"; for prototyping boards a lower ratio is fine.
Counts top and bottom surfaces separately (a via reaching only the top layer contributes one surface, a through-via two). Buried / blind via surfaces that don't reach an outer layer are ignored.
Returns:
Dict with:
- total_surfaces: tented + untented (denominator)
- tented: surfaces with tenting on
- untented: surfaces with tenting off
- ratio: tented / total (0.0 - 1.0; 1.0 = all tented)
- violation_pct: untented / total * 100
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||