M090 — AP210 BoM line item with no PRODUCT_DEFINITION chain

§12.8 mixed (sub-class: AP210 BoM completeness)

P1 — silent data loss

spec-violation

Sources

Sender

deduced — ECAD exporter writing component refdes-only listings

Description

A `NEXT_ASSEMBLY_USAGE_OCCURRENCE` in a PCB BoM names a child `PRODUCT` (e.g. `R0805_10K`) but the child has no `PRODUCT_DEFINITION_FORMATION` / `PRODUCT_DEFINITION` / `SHAPE_DEFINITION_REPRESENTATION` chain. The BoM contains only a name — no geometry, no MPN association, no footprint reference. Bug-reporter language: "PCB BoM has refdes but no part", "AP210 component without geometry", "BoM strings only".

Reproducer recipe

`NAUO('R1','R1','at_corner', parent_PD, child_PRODUCT, $)` where the child PRODUCT has no PD.

Expected kernel behavior

detect missing PD chain; either synthesize a placeholder PD, drop the line item, or reject the BoM.

Notes

Synonyms: "BoM stub", "PCB part definition missing", "AP210 NAUO has no PRODUCT_DEFINITION chain", "BoM line item is name-only", "PDM child has no geometry".

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/* M090: AP210 BoM line item with no PRODUCT_DEFINITION chain */
3/* DEFECT: NEXT_ASSEMBLY_USAGE_OCCURRENCE child PRODUCT has no PD chain */
4/* BoM entry R0805_10K has name only — no geometry, footprint, or MPN */
5/* Byte assertion: contains(b'ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN') */
6/* Byte assertion: contains(b'NEXT_ASSEMBLY_USAGE_OCCURRENCE') */
7HEADER;
8FILE_DESCRIPTION(('M090: AP210 BoM NAUO child missing PRODUCT_DEFINITION chain'),'2;1');
9FILE_NAME('M090.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','','');
10/* Byte assertion: contains(b'ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN') */
11FILE_SCHEMA(('ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN { 1 0 10303 210 3 1 0 }'));
12ENDSEC;
13DATA;
14#1=APPLICATION_CONTEXT('electronic_assembly_interconnect_and_packaging_design');
15#2=APPLICATION_PROTOCOL_DEFINITION('international standard',
16  'electronic_assembly_interconnect_and_packaging_design',2014,#1);
17/* Standard unit context — mm */
18#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
19#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
20#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
21#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10,
22  'distance_accuracy_value','maximum model space distance between geometric entities');
23#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3)
24  GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))
25  GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12))
26  REPRESENTATION_CONTEXT('pcb','3D'));
27/* PRODUCT_CONTEXT for the PCB application */
28#20=PRODUCT_CONTEXT('',#1,'electronic');
29/* Parent board assembly — has full PD chain */
30#30=PRODUCT('PCB_ASSEMBLY','PCB Assembly','Main PCB board',(#20));
31#31=PRODUCT_DEFINITION_FORMATION('','',#30);
32#32=PRODUCT_DEFINITION_CONTEXT(#1,'assembly');
33#33=PRODUCT_DEFINITION('','',#31,#32);
34/* Byte assertion: child PRODUCT with NO PRODUCT_DEFINITION chain */
35/* DEFECT: R0805_10K is a bare PRODUCT with no PD formation, definition, or shape */
36/* A BoM receiver cannot resolve footprint, MPN, or placement from this stub */
37#40=PRODUCT('R0805_10K','10k resistor 0805','0805 resistor 10kohm',(#20));
38/* Byte assertion: contains(b'NEXT_ASSEMBLY_USAGE_OCCURRENCE') */
39/* NAUO references parent PD (#33) and child PRODUCT (#40) */
40/* The child #40 has no PRODUCT_DEFINITION — this is the defect */
41#50=NEXT_ASSEMBLY_USAGE_OCCURRENCE('R1','R1','at_corner',#33,#40,$);
42/* GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty */
43#300=GEOMETRIC_CURVE_SET('ap210-bom-nauo-child-missing-product-definition-chain',
44  (#30,#33,#40,#50));
45/* Product chain — parent board assembly only */
46#400=APPLICATION_CONTEXT('mechanical design');
47#401=PRODUCT_CONTEXT('',#400,'mechanical');
48#402=PRODUCT('M090','M090','M090',(#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('',(#300),#14);
54#408=SHAPE_DEFINITION_REPRESENTATION(#406,#407);
55ENDSEC;
56END-ISO-10303-21;