step-examples/12-7-pmi/Pmi164.stp
Sources
- Pattern-mined from the NIST MBE PMI FTC-08 tessellated AP242 file and the MBx-IF Tessellated-3D-Geometry Recommended Practice (public-domain / describe-only — pattern only, no bytes copied)
- audit/mining_nist_mbxif_2026-07.md #10.
Description
AP242 tessellated geometry packs all vertices of a shell into a single shared `coordinates_list` (the AP242 point holder — `cartesian_point_list_3d` is the AP203/214 name) and lets every `triangulated_face` index that one packed real array with 1-based integer index lists, instead of owning a per-face list or naming individual `cartesian_point` entities. A kernel built around per-point entities, one that assumes a per-face list, or one that treats the indices as 0-based, mis-indexes or drops faces. Distinct from M004 (per-face lists → watertightness lost); here a single shared 1-based-indexed list is the correct packed form. DRIFT audit 2026-07-12: live-verified this exact construction (one `COORDINATES_LIST` shared by six `TRIANGULATED_FACE`s) segfaults both OCCT and gmsh (signal 11) instead of loading — the same shared-list/6-face crash independently present in M022 (`COORDINATES_LIST` shared by 6 `TRIANGULATED_FACE`s via `COMPLEX_TRIANGULATED_SURFACE_SET`), which already carries `occt=signal(11) gmsh=signal(11)` as its Expected validation. Two independently-mined fixtures hitting the same crash on the same structural shape (1 shared point list × 6 indexing faces) is strong evidence this is a genuine, reproducible receiver stability bug, not a one-off construction error — the shared-array + 1-based-index mechanism this entry claims is real, and it's actually *worse* than mis-indexing: current OCCT/gmsh abort outright.
Reproducer recipe
AP242 file; one `COORDINATES_LIST` holding all 8 cube corners; six `TRIANGULATED_FACE`s each indexing that same list with 1-based triangle index lists; one `TESSELLATED_SHELL` over the six faces; wrapped in a `GEOMETRIC_CURVE_SET` model item.
Expected kernel behavior
Index the shared packed array with correct 1-based semantics; kernels built around per-point entities, or that assume a per-face list, or that read the indices as 0-based, mis-index or drop faces. At minimum, must not crash on this valid AP242 construction.
Notes
Tessellation carrier: `GEOMETRIC_CURVE_SET` over a `TESSELLATED_SHELL`. This fixture is exempt from the §12.7 PMI-presence lint (no semantic-PMI bytes by design); see `EXEMPT_PMI_PRESENCE`. See also: M004 (per-face lists, no crash), M022 (same shared-list/6-face crash pattern, independently mined). Synonyms: "shared coordinates_list packed array", "1-based tessellation index mis-read as 0-based", "tessellated_shell single point list", "triangulated_face shared vertex list mis-indexed", "AP242 packed point array dropped", "shared coordinates_list segfault", "tessellated shell crash on shared point list". Provenance tier: bytes-sufficient — the packed-array / shared-list defect is byte-structural and directly oracle-visible (both OCCT and gmsh crash on it); DRIFT audit 2026-07-12 replaced the original "provisional... pending nightly oracle rebaseline" placeholder with the live-verified crash signature. Correction (Wave-3 adversarial verification, 2026-07-12): the abnormal-termination trigger is the GEOMETRIC_SET/GEOMETRIC_CURVE_SET wrapper around the tessellated entity, not COORDINATES_LIST sharing — minimal pair re-verified (identical entity with a private list loads cleanly when wired directly as the sole representation item; the same entity wrapped in a set terminates abnormally regardless of list sharing). Recorded outcome and Expected line remain accurate; see M193-M199 for the direct-wiring fallback fixtures this previously blocked.
Expected validation
occt=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a
Byte assertions
count_entity_def(b'COORDINATES_LIST') == 1count_entity_def(b'TRIANGULATED_FACE') == 6contains(b'TESSELLATED_SHELL')
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Pmi164: single shared COORDINATES_LIST (8 cube corners) indexed by six TRIANGULATED_FACEs using 1-based integer index lists, wrapped in one TESSELLATED_SHELL; packed-array + 1-based indexing form; per-point / per-face-list / 0-based readers mis-index or drop faces; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty vertices */ 3HEADER; 4FILE_DESCRIPTION(('Pmi164'),'2;1'); 5FILE_NAME('Pmi164.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF { 1 0 10303 442 1 1 4 }')); 7ENDSEC; 8DATA; 9#9000=APPLICATION_CONTEXT('mechanical design'); 10#1=COORDINATES_LIST('shared_cube_coords',8,((0.,0.,0.),(1.,0.,0.),(1.,1.,0.),(0.,1.,0.),(0.,0.,1.),(1.,0.,1.),(1.,1.,1.),(0.,1.,1.))); 11#2=TRIANGULATED_FACE('bottom',#1,$,$,((1,2,3),(1,3,4))); 12#3=TRIANGULATED_FACE('top',#1,$,$,((5,6,7),(5,7,8))); 13#4=TRIANGULATED_FACE('front',#1,$,$,((1,2,6),(1,6,5))); 14#5=TRIANGULATED_FACE('back',#1,$,$,((4,3,7),(4,7,8))); 15#6=TRIANGULATED_FACE('left',#1,$,$,((1,4,8),(1,8,5))); 16#7=TRIANGULATED_FACE('right',#1,$,$,((2,3,7),(2,7,6))); 17#8=TESSELLATED_SHELL('shared_list_shell',(#2,#3,#4,#5,#6,#7),$); 18#9=GEOMETRIC_CURVE_SET('shared-coordinates-list-tessellation',(#8)); 19#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 20#9051=PRODUCT('Pmi164','Pmi164','',(#9050)); 21#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 22#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 23#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 24#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 25#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 26#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 27#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 28#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 29#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 30#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9),#9060); 31#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 32ENDSEC; 33END-ISO-10303-21;