step-examples/12-3a-shells/Bo001.stp
Sources
- OCCT BRepCheck_Shell.cxx:155 (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
A `MANIFOLD_SOLID_BREP` (or `BREP_WITH_VOIDS`) references a `CLOSED_SHELL` whose face list is empty. The "solid" therefore has no boundary at all; there is no surface to act as the inside/outside divider. Producers occasionally emit this when an upstream filter strips every face of a body but leaves the wrapper entities intact.
Reproducer recipe
A `MANIFOLD_SOLID_BREP` whose `outer` attribute references a `CLOSED_SHELL` with `cfs_faces=()`.
Expected kernel behavior
Detect the empty-shell case before any topological reasoning is attempted; reject the solid as malformed, or unwind the solid wrapper and report nothing was loaded.
Notes
Synonyms: "empty shell", "shell has no faces", "solid with zero faces". **See also**: Bo002. **OCC behavior**: accepts and loads shape(1) — a `CLOSED_SHELL` with 0 faces (heal_on ≡ heal_off: v0/e0/f0/shell1) — instead of rejecting the boundary-less solid; outside catalog's allowed set ({reject}). Kernel-bug witnessed: receivers must reject this fixture per the catalog's stated invariant; the acceptance is oracle-visible as occt=shape(1) diverging from gmsh=empty. Structural note: this defect is binary/verbatim — the shell's face list is empty by construction, so there is no clean/huge perturbation axis (a shell either has faces or it does not); the fixture carries the malformed structure directly rather than a tunable magnitude.
Expected validation
occt=shape(1)/shape(1) gmsh=empty ifc=schema_n/a
Byte assertions
matches(rb'CLOSED_SHELL\s*\(\s*\x27[^\x27]*\x27\s*,\s*\(\s*\)\s*\)')contains(b'MANIFOLD_SOLID_BREP')count_entity_def(b'ADVANCED_FACE') == 0
Tier-3 assertions
load == "ok"
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/* Bo001: CLOSED_SHELL('outer',()) with zero faces IS the outer shell of MANIFOLD_SOLID_BREP; empty cfs_faces IS wired into brep shell topology; OCCT silently accepts (shape(1)) â strict kernels must reject */ 3HEADER; 4FILE_DESCRIPTION(('Bo001'),'2;1'); 5FILE_NAME('Bo001.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 7ENDSEC; 8DATA; 9#9000=APPLICATION_CONTEXT('mechanical design'); 10#1=CLOSED_SHELL('outer',( )); 11#2=MANIFOLD_SOLID_BREP('empty_solid',#1); 12#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 13#9051=PRODUCT('Bo001','Bo001','',(#9050)); 14#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 15#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 16#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 17#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 18#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 19#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 20#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 21#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 22#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 23#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#2),#9060); 24#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 25ENDSEC; 26END-ISO-10303-21;