M156 — AP210 power net carries only mechanical placement constraint

§12.8 mixed (sub-class: AP210 net constraint completeness)

P1 — silent data loss

spec-violation

Sources

Sender

deduced — ECAD exporter that retained mechanical placement rules but dropped electrical-class constraints during export

Description

A `NETWORK` named 'PWR_5V' is annotated with a mechanical placement constraint (component-spacing rule) but no electrical-class constraint (current capacity, impedance, voltage rating). A power-distribution net needs an electrical attribute for current-carrying capacity validation; the file is incomplete.

Reproducer recipe

`NETWORK('PWR_5V',..)` with `PROPERTY_DEFINITION('mechanical_placement_constraint',..,network)` and no electrical PROPERTY_DEFINITION.

Expected kernel behavior

detect power nets without electrical constraints; warn or reject.

Notes

Synonyms: "AP210 power net incomplete", "PCB net missing electrical", "ECAD constraint coverage".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(1) 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/* M156: AP210 power net carries only mechanical placement constraint */
3/* DEFECT: NETWORK 'PWR_5V' has mechanical_placement_constraint but no electrical constraint */
4/* Power rail needs current_capacity / voltage_rating for validation */
5/* ECAD exporter dropped electrical-class constraints during export */
6/* Per ISO 10303-210 §7 power-distribution net requires electrical attribute */
7/* Byte assertion: contains(b'ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN') */
8/* Byte assertion: contains(b"NETWORK('PWR_5V'") */
9/* Byte assertion: contains(b'mechanical_placement_constraint') */
10HEADER;
11FILE_DESCRIPTION(('M156: AP210 PWR_5V net has only mechanical constraint, no electrical'),'2;1');
12FILE_NAME('M156.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','','');
13/* Byte assertion: contains(b'ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN') */
14FILE_SCHEMA(('ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN { 1 0 10303 210 3 1 0 }'));
15ENDSEC;
16DATA;
17#1=APPLICATION_CONTEXT('electronic_assembly_interconnect_and_packaging_design');
18#2=APPLICATION_PROTOCOL_DEFINITION('international standard',
19  'electronic_assembly_interconnect_and_packaging_design',2014,#1);
20/* Standard unit context (mm) */
21#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
22#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
23#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
24#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10,
25  'distance_accuracy_value','maximum model space distance between geometric entities');
26#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3)
27  GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))
28  GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12))
29  REPRESENTATION_CONTEXT('pcb','3D'));
30/* VCC entry terminal on the power connector */
31#51=CARTESIAN_POINT('VCC_PIN_loc',(2.0,2.0,0.0));
32#50=TERMINAL('VCC_PIN',#51);
33/* Byte assertion: contains(b"NETWORK('PWR_5V'") */
34/* DEFECT: NETWORK 'PWR_5V' — 5V power rail — will receive only a mechanical property */
35#60=NETWORK('PWR_5V',(#50));
36/* Byte assertion: contains(b'mechanical_placement_constraint') */
37/* PROPERTY_DEFINITION with only a mechanical placement constraint — missing electrical */
38#70=PROPERTY_DEFINITION('mechanical_placement_constraint',
39  'Component spacing rule for 5V rail',#60);
40#71=DESCRIPTIVE_REPRESENTATION_ITEM('mechanical_placement_constraint',
41  '0.2mm_min_clearance');
42#72=REPRESENTATION('mech_props',(#71),#14);
43#73=PROPERTY_DEFINITION_REPRESENTATION(#70,#72);
44/* NOTE: no current_capacity, voltage_rating, or impedance PROPERTY_DEFINITION */
45/* The absence of electrical constraint is the defect per ISO 10303-210 §7 */
46/* GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty */
47#200=GEOMETRIC_CURVE_SET('ap210-power-net-no-electrical-constraint-pwr5v-mechanical-only',
48  (#50,#51,#60,#70,#71,#72,#73));
49/* Product chain */
50#400=APPLICATION_CONTEXT('mechanical design');
51#401=PRODUCT_CONTEXT('',#400,'mechanical');
52#402=PRODUCT('M156','M156','M156',(#401));
53#403=PRODUCT_DEFINITION_FORMATION('','',#402);
54#404=PRODUCT_DEFINITION_CONTEXT(#400,'design');
55#405=PRODUCT_DEFINITION('','',#403,#404);
56#406=PRODUCT_DEFINITION_SHAPE('','',#405);
57#407=SHAPE_REPRESENTATION('',(#200),#14);
58#408=SHAPE_DEFINITION_REPRESENTATION(#406,#407);
59ENDSEC;
60END-ISO-10303-21;