step-examples/12-3c-faces/Tfa261.stp
Sources
- ISO 10303-42 `face_bound.bound` declared type (loop)
- slot-type table row FACE_BOUND[1] of the structural-linter v3 — the 2026-08-10 per-row coverage census found this row had NO corpus claimant.
Description
A planar disc of radius 6 bounded by a single closed circular edge (one `EDGE_CURVE` with the same `VERTEX_POINT` at both ends). The writer judged the one-element loop wrapper redundant and pointed `FACE_BOUND`'s bound slot straight at the `ORIENTED_EDGE` named `bound_holds_oriented_edge`; no `EDGE_LOOP` exists anywhere in the file. A single closed edge is exactly the case where a producer is tempted to skip the loop level, and the resulting file is otherwise minimal and fully referenced — no orphan entities at all.
Reproducer recipe
`ADVANCED_FACE` with one `FACE_BOUND` whose bound slot references an `ORIENTED_EDGE` over a closed circular edge; the edge-loop level absent from the file entirely.
Expected kernel behavior
detect that the bound slot holds an oriented edge where a loop is declared; recover the boundary by synthesizing the missing one-element loop around it (the closed edge bounds the disc exactly), or reject with a diagnostic. Keeping the face while silently discarding its boundary produces an unbounded plane, which is a different and larger surface than the disc that was sent.
Notes
RUNTIME-VERIFIED (2026-08-10, this worktree, OCP/OCCT 7.8.1): both heal modes accept and return one root with 1 face and ZERO edges and vertices — the face survives but its boundary is silently discarded, so the received face is the unbounded plane, not the radius-6 disc. The mesh-based reader keeps one surface. The non-kernel structural linter reports the wrong-typed slot (`SLOT_TYPE`). Synonyms: "face bound references oriented edge directly", "missing one-element edge loop wrapper", "single closed edge no loop level", "boundary dropped unbounded face". Provenance tier: bytes-sufficient.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Byte assertions
count_entity_def(b'FACE_BOUND') == 1count_entity_def(b'EDGE_LOOP') == 0contains(b'bound_holds_oriented_edge')
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/* Tfa261: FACE_BOUND whose bound slot references the ORIENTED_EDGE('bound_holds_oriented_edge') of a single closed circular edge directly â the one-element EDGE_LOOP wrapper the schema requires is absent from the file. Disc of radius 6 on a plane at z=0; every entity is referenced; the loop level is the only thing missing */ 3HEADER; 4FILE_DESCRIPTION(('Tfa261'),'2;1'); 5FILE_NAME('Tfa261.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=CIRCLE('',#4,6.0); 16#7=CARTESIAN_POINT('',(6.0,0.0,0.0)); 17#8=VERTEX_POINT('',#7); 18#9=EDGE_CURVE('',#8,#8,#6,.T.); 19#10=ORIENTED_EDGE('bound_holds_oriented_edge',$,$,#9,.T.); 20#11=FACE_BOUND('',#10,.T.); 21#12=ADVANCED_FACE('tfa261_disc',(#11),#5,.T.); 22#13=OPEN_SHELL('',(#12)); 23#14=SHELL_BASED_SURFACE_MODEL('',(#13)); 24#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 25#9051=PRODUCT('Tfa261','Tfa261','',(#9050)); 26#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 27#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 28#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 29#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 30#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 31#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 32#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 33#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 34#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 35#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#14),#9060); 36#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 37ENDSEC; 38END-ISO-10303-21;