step-examples/12-3c-faces/Tfa265.stp
Sources
- ISO 10303-42 `face_outer_bound.bound`
- nonempty-aggregate table row FACE_OUTER_BOUND of the structural-linter v4 — no prior claimant.
Description
A face whose outer bound is written `FACE_OUTER_BOUND('outer_bound_empty',(),.T.)` — the bound slot holding an empty aggregate where a loop reference belongs; no loop, edge, or curve exists anywhere in the file. Distinct from the unbounded face in this section (no bound entity at all) and from the wrong-type bound fixtures (slot holds a real entity of the wrong kind): here the bound exists and points at nothing.
Reproducer recipe
`ADVANCED_FACE` on a plane with one `FACE_OUTER_BOUND` whose bound slot is `()`; boundary chain absent from the file entirely.
Expected kernel behavior
detect the empty mandatory slot at parse time and reject with a diagnostic naming the bound; there is nothing in the file from which to recover a boundary, so keeping the face silently unbounded misrepresents the model's extent.
Notes
RUNTIME-VERIFIED (2026-08-10, this worktree, OCP/OCCT 7.8.1): both heal modes accept and return 1 face with zero edges and vertices — the empty bound is dropped without a diagnostic and the unbounded plane survives, the same observable outcome as the wrong-type bound fixtures. Three different byte-level producer bugs (wrong-type reference, one- or two-level flattening, empty slot) now demonstrably converge on the identical silent unbounded face. The non-kernel structural linter distinguishes them (`SLOT_TYPE` vs `EMPTY_AGGREGATE`). Synonyms: "face outer bound empty slot", "bound references nothing", "empty aggregate in bound slot", "unbounded face from empty bound". Provenance tier: bytes-sufficient.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Byte assertions
contains(b"FACE_OUTER_BOUND('outer_bound_empty',(),.T.)")count_entity_def(b'EDGE_LOOP') == 0
Tier-3 assertions
load == "ok"n_faces_total == 1n_edges_total == 0
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Tfa265: ADVANCED_FACE whose FACE_OUTER_BOUND('outer_bound_empty') carries an empty aggregate in its bound slot â no loop, edge, or curve exists anywhere in the file; the writer emitted () where the boundary reference belongs. The plane and product chain are correct and the bound is reachable through the face */ 3HEADER; 4FILE_DESCRIPTION(('Tfa265'),'2;1'); 5FILE_NAME('Tfa265.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=CARTESIAN_POINT('',(0.0,0.0,0.0)); 11#2=DIRECTION('',(0.0,0.0,1.0)); 12#3=DIRECTION('',(1.0,0.0,0.0)); 13#4=AXIS2_PLACEMENT_3D('',#1,#2,#3); 14#5=PLANE('',#4); 15#6=FACE_OUTER_BOUND('outer_bound_empty',(),.T.); 16#7=ADVANCED_FACE('tfa265_face',(#6),#5,.T.); 17#8=OPEN_SHELL('',(#7)); 18#9=SHELL_BASED_SURFACE_MODEL('',(#8)); 19#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 20#9051=PRODUCT('Tfa265','Tfa265','',(#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;