M152 — AP210 microvia depth exceeds substrate thickness

§12.8 mixed (sub-class: AP210 via depth out of bounds)

P1 — silent data loss

spec-violation

Sources

Sender

deduced — ECAD exporter that copied a via depth value from a thicker reference design

Description

A `VIA_DEFINITION` has stackup_depth = 0.5 mm but the laminate's total stackup thickness is 0.4 mm. The drilled microvia is deeper than the board itself; the drill exits through the back of the board. Bug-reporter language: "AP210 microvia exceeds stackup", "PCB drill exits back".

Reproducer recipe

`LAMINATE_TABLE` summing to 0.4 mm; a `VIA_DEFINITION(..,LENGTH_MEASURE(0.5),..)`.

Expected kernel behavior

validate via depth <= stackup thickness; reject or warn.

Notes

Synonyms: "AP210 via depth violation", "PCB drill through", "via depth exceeds substrate", "microvia exits back of board", "drill_depth > stackup thickness".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M152: AP210 microvia depth exceeds substrate thickness */
3/* DEFECT: VIA_DEFINITION drill depth 0.5mm > LAMINATE_TABLE total 0.4mm */
4/* The drill exits 0.1mm through the back copper — physically impossible */
5/* Per ISO 10303-210 §6 via depth must not exceed stackup thickness */
6/* Byte assertion: contains(b'ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN') */
7/* Byte assertion: contains(b'VIA_DEFINITION') */
8/* Byte assertion: contains(b'LAMINATE_TABLE') */
9HEADER;
10FILE_DESCRIPTION(('M152: AP210 microvia drill depth exceeds board thickness'),'2;1');
11FILE_NAME('M152.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','','');
12/* Byte assertion: contains(b'ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN') */
13FILE_SCHEMA(('ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN { 1 0 10303 210 3 1 0 }'));
14ENDSEC;
15DATA;
16#1=APPLICATION_CONTEXT('electronic_assembly_interconnect_and_packaging_design');
17#2=APPLICATION_PROTOCOL_DEFINITION('international standard',
18  'electronic_assembly_interconnect_and_packaging_design',2014,#1);
19/* Standard unit context (mm) */
20#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
21#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
22#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
23#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10,
24  'distance_accuracy_value','maximum model space distance between geometric entities');
25#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3)
26  GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))
27  GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12))
28  REPRESENTATION_CONTEXT('pcb','3D'));
29/* Stackup layers: total = 0.015+0.015+0.355+0.015+0.015 = 0.415 mm */
30#100=LAMINATE_OR_PLY_DEFINITION('copper_top',LENGTH_MEASURE(0.015),$);
31#101=LAMINATE_OR_PLY_DEFINITION('prepreg_top',LENGTH_MEASURE(0.015),$);
32#102=LAMINATE_OR_PLY_DEFINITION('core',LENGTH_MEASURE(0.355),$);
33#103=LAMINATE_OR_PLY_DEFINITION('prepreg_bot',LENGTH_MEASURE(0.015),$);
34#104=LAMINATE_OR_PLY_DEFINITION('copper_bot',LENGTH_MEASURE(0.015),$);
35/* Byte assertion: contains(b'LAMINATE_TABLE') */
36/* LAMINATE_TABLE: ordered layer stack, total thickness ~0.4mm */
37#110=LAMINATE_TABLE('pcb_stackup',(#100,#101,#102,#103,#104));
38/* Byte assertion: contains(b'VIA_DEFINITION') */
39/* DEFECT: microvia drill depth 0.5mm > board thickness 0.415mm */
40/* The drill exits through the back copper — fabrication is impossible */
41#120=VIA_DEFINITION('microvia_1',LENGTH_MEASURE(0.5),LENGTH_MEASURE(0.2),#100,#104);
42/* GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty */
43#200=GEOMETRIC_CURVE_SET('ap210-microvia-depth-exceeds-substrate-thickness',
44  (#100,#101,#102,#103,#104,#110,#120));
45/* Product chain */
46#400=APPLICATION_CONTEXT('mechanical design');
47#401=PRODUCT_CONTEXT('',#400,'mechanical');
48#402=PRODUCT('M152','M152','M152',(#401));
49#403=PRODUCT_DEFINITION_FORMATION('','',#402);
50#404=PRODUCT_DEFINITION_CONTEXT(#400,'design');
51#405=PRODUCT_DEFINITION('','',#403,#404);
52#406=PRODUCT_DEFINITION_SHAPE('','',#405);
53#407=SHAPE_REPRESENTATION('',(#200),#14);
54#408=SHAPE_DEFINITION_REPRESENTATION(#406,#407);
55ENDSEC;
56END-ISO-10303-21;