step-examples/12-8-mixed/M022.stp
Sources
- 14-brlcad-rhino.md (K004)
- 11-translator-vendors.md (W035, W036)
- 10-vendor-kbs.md (V015 PMI/tessellation)
Description
BRL-CAD's `step-g` and many other readers ignore `tessellated_solid`, `triangulated_face`, `complex_triangulated_surface_set`; only B-rep paths are consumed. Files containing only mesh entities appear empty.
Reproducer recipe
AP242 file using `TRIANGULATED_FACE` and `COMPLEX_TRIANGULATED_SURFACE_SET` with no `MANIFOLD_SOLID_BREP` entity.
Expected kernel behavior
import as mesh object (or convert mesh to lightweight surface); never silently drop.
Notes
Synonyms: "mesh-only AP242 appears empty", "STL-derived tessellation ignored", "triangulated_face skipped by importer", "B-rep-only reader drops mesh entities", "BRL-CAD step-g ignores tessellated solid and triangulated face entities". **OCC behavior**: crashes (signal 11) during transfer — RUNTIME-VERIFIED (2026-08-11, OCP/OCCT 7.8.1): the GEOMETRIC_SET/GEOMETRIC_CURVE_SET wrapper around the tessellated entity terminates OCC abnormally, matching both the Wave-3 correction below and the CI-verified `occt=signal(11)` line; the earlier "silently produces empty results" wording here was stale. Receivers must reject the malformed input rather than crash. 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
contains(b'COMPLEX_TRIANGULATED_SURFACE_SET')contains(b'stl_origin_cube')count_entity_def(b'MANIFOLD_SOLID_BREP') == 0
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/* M022: GEOMETRIC_CURVE_SET containing COMPLEX_TRIANGULATED_SURFACE_SET 'stl_origin_cube' with no MANIFOLD_SOLID_BREP in the file; input: AP242 STEP file produced from STL conversion using only mesh entities (TRIANGULATED_FACE, COMPLEX_TRIANGULATED_SURFACE_SET); BRL-CAD step-g and B-rep-only readers silently drop all mesh entities â file appears empty because no MANIFOLD_SOLID_BREP path exists; kernel must import as mesh object or convert to lightweight surface; must never silently drop; OCC silently produces empty results (BRep path consumes nothing); GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty; synonyms: mesh-only AP242 appears empty, STL-derived tessellation ignored, triangulated_face skipped by importer, B-rep-only reader drops mesh entities, BRL-CAD step-g ignores tessellated solid and triangulated face entities */ 3HEADER; 4FILE_DESCRIPTION(('M022'),'2;1'); 5FILE_NAME('M022.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('cube_verts',3,((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('cube_bottom',#1,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((0,1,2),(0,2,3))); 12#3=TRIANGULATED_FACE('cube_top',#1,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((4,6,5),(4,7,6))); 13#4=TRIANGULATED_FACE('cube_front',#1,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((0,1,5),(0,5,4))); 14#5=TRIANGULATED_FACE('cube_back',#1,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((3,6,2),(3,7,6))); 15#6=TRIANGULATED_FACE('cube_left',#1,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((0,3,7),(0,7,4))); 16#7=TRIANGULATED_FACE('cube_right',#1,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((1,6,2),(1,5,6))); 17#8=COMPLEX_TRIANGULATED_SURFACE_SET('stl_origin_cube',(#2,#3,#4,#5,#6,#7)); 18#9=GEOMETRIC_CURVE_SET('stl-derived-mesh-only-no-brep',(#8)); 19#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 20#9051=PRODUCT('M022','M022','',(#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;