step-examples/12-3c-faces/Tfa264.stp
Sources
- ISO 10303-42 `face_surface.face_geometry` declared type (surface)
- slot-type table row FACE_SURFACE[2] of the structural-linter v3 — the 2026-08-10 per-row coverage census found this row had NO corpus claimant. Same defect family as the corpus's surface-of-revolution axis carriers (placement supplied where a differently-typed entity is declared), here on the face's own geometry slot.
Description
A disc of radius 3 whose boundary chain is complete and correct — closed circle, oriented edge, edge loop, face outer bound — but whose face-geometry slot references the `AXIS2_PLACEMENT_3D` named `placement_as_face_geometry`. The `PLANE` that placement was meant to parent never appears in the file: the writer emitted the placement reference where the surface belongs and dropped the surface level entirely. The placement pins down the intended plane exactly, so the face is fully recoverable.
Reproducer recipe
a face in the face-surface spelling whose face_geometry slot references an `AXIS2_PLACEMENT_3D`; no surface entity of any type in the file; boundary chain complete.
Expected kernel behavior
detect that the face-geometry slot holds a placement where a surface is declared; recover by constructing the plane the placement defines (its axis is the plane normal, its origin the plane origin) or reject with a diagnostic. Silently emitting a shell whose face has been dropped hands the receiver an empty container with a success status.
Notes
RUNTIME-VERIFIED (2026-08-10, this worktree, OCP/OCCT 7.8.1): both heal modes accept and return one root containing 1 shell and ZERO faces — the face with the wrong-typed geometry slot is dropped entirely, no diagnostic; the mesh-based reader returns nothing at all. Contrast with the wrong-typed BOUND fixtures in this section, where the face survives unbounded: a bad boundary reference loses the boundary, a bad geometry reference loses the whole face. The non-kernel structural linter reports the wrong-typed slot (`SLOT_TYPE`). Synonyms: "face geometry references axis placement", "placement instead of plane surface slot", "surface level dropped placement kept", "empty shell face discarded". Provenance tier: bytes-sufficient.
Expected validation
occt=shape(1)/shape(1) gmsh=empty ifc=schema_n/a
Byte assertions
count_entity_def(b'FACE_SURFACE') == 1count_entity_def(b'PLANE') == 0contains(b'placement_as_face_geometry')
Tier-3 assertions
load == "ok"n_faces_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/* Tfa264: FACE_SURFACE whose face_geometry slot references AXIS2_PLACEMENT_3D('placement_as_face_geometry') â the placement the plane would have been built from â and no PLANE (or any other surface) exists in the file. The boundary chain (closed circle, oriented edge, edge loop, face outer bound) is complete; the surface level alone was dropped */ 3HEADER; 4FILE_DESCRIPTION(('Tfa264'),'2;1'); 5FILE_NAME('Tfa264.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('placement_as_face_geometry',#1,#2,#3); 14#5=CIRCLE('',#4,3.0); 15#6=CARTESIAN_POINT('',(3.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=EDGE_CURVE('',#7,#7,#5,.T.); 18#9=ORIENTED_EDGE('',$,$,#8,.T.); 19#10=EDGE_LOOP('',(#9)); 20#11=FACE_OUTER_BOUND('',#10,.T.); 21#12=FACE_SURFACE('tfa264_disc',(#11),#4,.T.); 22#13=OPEN_SHELL('',(#12)); 23#14=SHELL_BASED_SURFACE_MODEL('',(#13)); 24#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 25#9051=PRODUCT('Tfa264','Tfa264','',(#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;