step-examples/12-3a-shells/Tsh117.stp
Sources
- synthesized — no external source cited
Description
aliased EDGE_LOOP (inner bound references outer of another face)
Reproducer recipe
Expected kernel behavior
Face 1's hole loop (FACE_BOUND, entity #111) and Face 2's outer loop (FACE_OUTER_BOUND, entity #112) both reference the exact same EDGE_LOOP entity (#99) — one loop instance shared as both an inner boundary of one face and the outer boundary of a different face. Treat this as a structural error, not two independent boundaries: an EDGE_LOOP used as a face's own boundary must not simultaneously bound a second, unrelated face. Reject with a diagnostic naming the shared EDGE_LOOP and both referencing faces rather than silently processing Face 1's hole as if it were independent of Face 2's outer wire — the two faces are not topologically independent as authored, since editing one loop reference reshapes both faces at once.
Notes
RUNTIME-VERIFIED 2026-08-09 — this file's recorded `signal(11)` is driven by an inline entity instance written directly inside another entity's argument list (a vector constructor carrying a bare coordinate list where a direction reference belongs). A conforming exchange file may only define entity instances as top-level numbered statements, so the reader cannot bind the inline construct, the attribute resolves to null, and the abort happens during loading — before any repair routine runs. Full census in `BACKLOG.md` (M.18).
Expected validation
occt=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tsh117 - aliased EDGE_LOOP between face outer and inner bounds 3 * Defect: FACE_BOUND (inner hole) references same EDGE_LOOP id as the outer 4 * wire of another face â edge aliasing bug that breaks face independence. */ 5HEADER; 6FILE_DESCRIPTION(('Tsh117 - aliased edge loop between faces','wave 20'),'2;1'); 7FILE_NAME('Tsh117.stp','2026-06-15T00:00:00',(''),(''),'heal coverage','',''); 8FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 9ENDSEC; 10DATA; 11#1=APPLICATION_CONTEXT('automotive_design'); 12#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#1); 13 14/* Face 1: quad with hole (inner EDGE_LOOP aliased to Face 2's outer loop) */ 15 16/* Face 1 outer quad */ 17#10=CARTESIAN_POINT('',(0,0,0)); 18#11=CARTESIAN_POINT('',(10.0,0,0)); 19#12=CARTESIAN_POINT('',(10.0,10.0,0)); 20#13=CARTESIAN_POINT('',(0,10.0,0)); 21 22/* Face 1 hole inner quad (same location as Face 2) */ 23#14=CARTESIAN_POINT('',(2.0,2.0,0)); 24#15=CARTESIAN_POINT('',(4.0,2.0,0)); 25#16=CARTESIAN_POINT('',(4.0,4.0,0)); 26#17=CARTESIAN_POINT('',(2.0,4.0,0)); 27 28/* Face 2 outer quad (at z=5) */ 29#18=CARTESIAN_POINT('',(2.0,2.0,5.0)); 30#19=CARTESIAN_POINT('',(4.0,2.0,5.0)); 31#20=CARTESIAN_POINT('',(4.0,4.0,5.0)); 32#21=CARTESIAN_POINT('',(2.0,4.0,5.0)); 33 34/* Vertices */ 35#30=VERTEX_POINT('',#10); 36#31=VERTEX_POINT('',#11); 37#32=VERTEX_POINT('',#12); 38#33=VERTEX_POINT('',#13); 39#34=VERTEX_POINT('',#14); 40#35=VERTEX_POINT('',#15); 41#36=VERTEX_POINT('',#16); 42#37=VERTEX_POINT('',#17); 43#38=VERTEX_POINT('',#18); 44#39=VERTEX_POINT('',#19); 45#40=VERTEX_POINT('',#20); 46#41=VERTEX_POINT('',#21); 47 48/* Planes */ 49#50=AXIS2_PLACEMENT_3D('plane1',#10,DIRECTION('',(0,0,1)),DIRECTION('',(1,0,0))); 50#51=PLANE('',#50); 51#52=AXIS2_PLACEMENT_3D('plane2',#18,DIRECTION('',(0,0,1)),DIRECTION('',(1,0,0))); 52#53=PLANE('',#52); 53 54/* Face 1 outer boundary edges */ 55#60=LINE('',#10,VECTOR('',(1,0,0),10.0)); 56#61=EDGE_CURVE('f1_outer_e1',#30,#31,#60,.T.); 57#62=LINE('',#11,VECTOR('',(0,1,0),10.0)); 58#63=EDGE_CURVE('f1_outer_e2',#31,#32,#62,.T.); 59#64=LINE('',#12,VECTOR('',(-1,0,0),10.0)); 60#65=EDGE_CURVE('f1_outer_e3',#32,#33,#64,.T.); 61#66=LINE('',#13,VECTOR('',(0,-1,0),10.0)); 62#67=EDGE_CURVE('f1_outer_e4',#33,#30,#66,.T.); 63 64/* Hole boundary edges (will be aliased) */ 65#68=LINE('',#14,VECTOR('',(1,0,0),2.0)); 66#69=EDGE_CURVE('hole_e1',#34,#35,#68,.T.); 67#70=LINE('',#15,VECTOR('',(0,1,0),2.0)); 68#71=EDGE_CURVE('hole_e2',#35,#36,#70,.T.); 69#72=LINE('',#16,VECTOR('',(-1,0,0),2.0)); 70#73=EDGE_CURVE('hole_e3',#36,#37,#72,.T.); 71#74=LINE('',#17,VECTOR('',(0,-1,0),2.0)); 72#75=EDGE_CURVE('hole_e4',#37,#34,#74,.T.); 73 74/* Face 2 boundary edges (SAME ids as hole edges) */ 75#76=LINE('',#18,VECTOR('',(1,0,0),2.0)); 76#77=EDGE_CURVE('f2_e1',#38,#39,#76,.T.); 77#78=LINE('',#19,VECTOR('',(0,1,0),2.0)); 78#79=EDGE_CURVE('f2_e2',#39,#40,#78,.T.); 79#80=LINE('',#20,VECTOR('',(-1,0,0),2.0)); 80#81=EDGE_CURVE('f2_e3',#40,#41,#80,.T.); 81#82=LINE('',#21,VECTOR('',(0,-1,0),2.0)); 82#83=EDGE_CURVE('f2_e4',#41,#38,#82,.T.); 83 84/* Face 1 outer edge loop */ 85#90=ORIENTED_EDGE('',*,*,#61,.T.); 86#91=ORIENTED_EDGE('',*,*,#63,.T.); 87#92=ORIENTED_EDGE('',*,*,#65,.T.); 88#93=ORIENTED_EDGE('',*,*,#67,.T.); 89#94=EDGE_LOOP('f1_outer_loop',(#90,#91,#92,#93)); 90 91/* Hole edge loop (will be aliased to Face 2's outer) */ 92#95=ORIENTED_EDGE('',*,*,#69,.F.); 93#96=ORIENTED_EDGE('',*,*,#71,.F.); 94#97=ORIENTED_EDGE('',*,*,#73,.F.); 95#98=ORIENTED_EDGE('',*,*,#75,.F.); 96#99=EDGE_LOOP('hole_loop',(#95,#96,#97,#98)); 97 98/* Face 2 outer edge loop (ALIASED - same as hole_loop via #99) */ 99#100=ORIENTED_EDGE('',*,*,#77,.T.); 100#101=ORIENTED_EDGE('',*,*,#79,.T.); 101#102=ORIENTED_EDGE('',*,*,#81,.T.); 102#103=ORIENTED_EDGE('',*,*,#83,.T.); 103#104=EDGE_LOOP('f2_outer_loop',(#100,#101,#102,#103)); 104 105/* Face bounds */ 106#110=FACE_OUTER_BOUND('',#94,.T.); 107#111=FACE_BOUND('',#99,.T.); 108#112=FACE_OUTER_BOUND('',#99,.T.); 109 110/* Faces - Face 1 hole uses #99 (same as Face 2 outer) */ 111#120=ADVANCED_FACE('face1_with_hole',(#110,#111),#51,.T.); 112#121=ADVANCED_FACE('face2',(#112),#53,.T.); 113 114/* Open shell */ 115#130=OPEN_SHELL('aliased_loop_shell',(#120,#121)); 116 117/* Mandatory PRODUCT chain */ 118#9000=PRODUCT_CONTEXT('',#1,'mechanical'); 119#9001=PRODUCT('Tsh117','Tsh117','',(#9000)); 120#9002=PRODUCT_DEFINITION_FORMATION('','',#9001); 121#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design'); 122#9004=PRODUCT_DEFINITION('','',#9002,#9003); 123#9005=PRODUCT_DEFINITION_SHAPE('','',#9004); 124#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 125#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 126#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 127#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value',''); 128#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D')); 129#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#130)); 130#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010); 131#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022); 132ENDSEC; 133END-ISO-10303-21;