step-examples/12-3b-wires/Twi311.stp
Sources
- ISO 10303-42 `vertex_loop.loop_vertex`
- nonempty-aggregate table row VERTEX_LOOP of the structural-linter v4 — the corpus's existing vertex-loop fixtures all carry a real vertex.
Description
A planar disc of radius 5 with a correct circular outer bound whose second face bound wraps `VERTEX_LOOP('vloop_no_vertex',())` — the loop-vertex slot holding an empty aggregate instead of a vertex reference. A vertex loop exists to name exactly one vertex (bounding a face at a single point, as at a cone apex); with the slot empty the bound names nothing, yet the chain above it is fully wired.
Reproducer recipe
a face with a correct outer bound plus one `FACE_BOUND` wrapping a `VERTEX_LOOP` whose vertex slot is `()`.
Expected kernel behavior
detect the empty mandatory slot at parse time and either drop the vacuous bound WITH a diagnostic or reject; silently pretending the bound was never there erases the producer's (garbled) intent to pin the face at a point.
Notes
RUNTIME-VERIFIED (2026-08-10, this worktree, OCP/OCCT 7.8.1): both heal modes accept and return the disc intact (1 face, 1 edge, 2 vertices) — the bound wrapping the empty vertex loop is silently dropped, no diagnostic. The mildest outcome in this wave, and the only empty-aggregate row where the receiver loses nothing but the (empty) bound itself. The non-kernel structural linter reports `EMPTY_AGGREGATE`. Synonyms: "vertex loop empty vertex slot", "vertex loop names no vertex", "empty loop-vertex aggregate", "face bound naming nothing". Provenance tier: bytes-sufficient.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(3) ifc=schema_n/a
Byte assertions
contains(b"VERTEX_LOOP('vloop_no_vertex',())")count_entity_def(b'FACE_BOUND') == 1
Tier-3 assertions
load == "ok"n_faces_total == 1n_edges_total == 1
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Twi311: a FACE_BOUND wrapping VERTEX_LOOP('vloop_no_vertex',()) â the loop-vertex slot holds an empty aggregate instead of the single vertex reference a vertex loop exists to carry. The disc's outer circular bound is correct; the empty vertex loop is the file's only anomaly and is reachable through the face's bounds list */ 3HEADER; 4FILE_DESCRIPTION(('Twi311'),'2;1'); 5FILE_NAME('Twi311.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,5.0); 16#7=CARTESIAN_POINT('',(5.0,0.0,0.0)); 17#8=VERTEX_POINT('',#7); 18#9=EDGE_CURVE('',#8,#8,#6,.T.); 19#10=ORIENTED_EDGE('',$,$,#9,.T.); 20#11=EDGE_LOOP('',(#10)); 21#12=FACE_OUTER_BOUND('',#11,.T.); 22#13=VERTEX_LOOP('vloop_no_vertex',()); 23#14=FACE_BOUND('',#13,.T.); 24#15=ADVANCED_FACE('twi311_disc',(#12,#14),#5,.T.); 25#16=OPEN_SHELL('',(#15)); 26#17=SHELL_BASED_SURFACE_MODEL('',(#16)); 27#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 28#9051=PRODUCT('Twi311','Twi311','',(#9050)); 29#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 30#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 31#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 32#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 33#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 34#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 35#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 36#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 37#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 38#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#17),#9060); 39#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 40ENDSEC; 41END-ISO-10303-21;