Open general

3rdPartyFab 2L pack: min-hole rule enforces 0.15 mm on vias, header says via drill 0.10 mm is confirmed

noah ·

What is wrong

adom-3rdpartyfab-2L.kicad_dru (as installed by adom-aiflow rules use --profile 3rdPartyFab --layers 2, adom-aiflow 0.2.56) says in its own header:

  • Min via: 0.1 mm hole / 0.25 mm pad
  • Drill range: 0.1 mm to 6.3 mm
  • Confirmed on 2026-11-13 (Adonis Lysandrou and Colby Knox ...): ... via drill 0.10 mm

but its rule still enforces 0.15 mm on every via and pad hole:

(rule "min-hole"
  (constraint hole (min 0.15mm))
  (condition "A.type == 'pad' || A.type == 'via'"))

So a 0.10 mm via drill, which the header says the fab confirmed, fails DRC.

Repro

KiCad 10.0.6 (kicad-cli pcb drc), a 2-layer board with 0.1 mm drill / 0.3 mm pad vias and this rules file: each via reports Hole size out of range (rule 'min-hole' min hole 0.1500 mm; actual 0.1000 mm).

(Found on noah/via-test-board, a via-resistance coupon with 0.3/0.6, 0.2/0.4 and 0.1/0.2 mm via chains, 2026-11-16.)

Suggested fix

Split the rule: vias hole (min 0.10mm) with via_diameter (min 0.25mm) and an annular_width (min 0.10mm) (the header's via ring), and keep 0.15 mm for pad holes (Min drill: 0.15 mm), if that is still the pad limit. Also confirm whether the 0.25 mm minimum pad and the 0.10 mm via ring go together (0.10 + 2 x 0.10 = 0.30 mm, not 0.25 mm).

0 Replies

Log in to reply.