step-examples/12-3a-shells/Tsh118.stp
Sources
- synthesized — no external source cited
Description
5-face open box (missing top, free edges on rim)
Reproducer recipe
Expected kernel behavior
The OPEN_SHELL has five faces of a unit cube (bottom + four sides) and no top face, so the four top-rim edges are each referenced by exactly one face — genuine free edges, not a defect to silently erase. A repair pass must not remove or reroute an edge purely because it is free; free edges on an OPEN_SHELL are the expected, correct encoding of an intentionally open box. Preserve them and report the shell's boundary (4 free edges forming the top opening) rather than collapsing or discarding topology in an attempt to force closure.
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/* Tsh118 - 5-face open box (missing top) 3 * Defect: open shell with free edges (manifold boundary); Perform might remove 4 * free edges and destroy topology, collapsing the box into invalid geometry. */ 5HEADER; 6FILE_DESCRIPTION(('Tsh118 - open box with free edges','wave 20'),'2;1'); 7FILE_NAME('Tsh118.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/* 5-face open box (bottom + 4 sides, no top) */ 15 16/* Bottom face (z=0) */ 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/* Top opening edges (z=10) - define free edges */ 23#14=CARTESIAN_POINT('',(0,0,10.0)); 24#15=CARTESIAN_POINT('',(10.0,0,10.0)); 25#16=CARTESIAN_POINT('',(10.0,10.0,10.0)); 26#17=CARTESIAN_POINT('',(0,10.0,10.0)); 27 28/* Vertices */ 29#20=VERTEX_POINT('',#10); 30#21=VERTEX_POINT('',#11); 31#22=VERTEX_POINT('',#12); 32#23=VERTEX_POINT('',#13); 33#24=VERTEX_POINT('',#14); 34#25=VERTEX_POINT('',#15); 35#26=VERTEX_POINT('',#16); 36#27=VERTEX_POINT('',#17); 37 38/* Planes */ 39#30=AXIS2_PLACEMENT_3D('z0_plane',#10,DIRECTION('',(0,0,-1)),DIRECTION('',(1,0,0))); 40#31=PLANE('',#30); 41#32=AXIS2_PLACEMENT_3D('x0_plane',#10,DIRECTION('',(-1,0,0)),DIRECTION('',(0,1,0))); 42#33=PLANE('',#32); 43#34=AXIS2_PLACEMENT_3D('x10_plane',#11,DIRECTION('',(1,0,0)),DIRECTION('',(0,1,0))); 44#35=PLANE('',#34); 45#36=AXIS2_PLACEMENT_3D('y0_plane',#10,DIRECTION('',(0,-1,0)),DIRECTION('',(1,0,0))); 46#37=PLANE('',#36); 47#38=AXIS2_PLACEMENT_3D('y10_plane',#12,DIRECTION('',(0,1,0)),DIRECTION('',(1,0,0))); 48#39=PLANE('',#38); 49 50/* Bottom face edges */ 51#50=LINE('',#10,VECTOR('',(1,0,0),10.0)); 52#51=EDGE_CURVE('bot_e1',#20,#21,#50,.T.); 53#52=LINE('',#11,VECTOR('',(0,1,0),10.0)); 54#53=EDGE_CURVE('bot_e2',#21,#22,#52,.T.); 55#54=LINE('',#12,VECTOR('',(-1,0,0),10.0)); 56#55=EDGE_CURVE('bot_e3',#22,#23,#54,.T.); 57#56=LINE('',#13,VECTOR('',(0,-1,0),10.0)); 58#57=EDGE_CURVE('bot_e4',#23,#20,#56,.T.); 59 60/* Vertical edges (free on top) */ 61#58=LINE('',#10,VECTOR('',(0,0,1),10.0)); 62#59=EDGE_CURVE('vert_e1',#20,#24,#58,.T.); 63#60=LINE('',#11,VECTOR('',(0,0,1),10.0)); 64#61=EDGE_CURVE('vert_e2',#21,#25,#60,.T.); 65#62=LINE('',#12,VECTOR('',(0,0,1),10.0)); 66#63=EDGE_CURVE('vert_e3',#22,#26,#62,.T.); 67#64=LINE('',#13,VECTOR('',(0,0,1),10.0)); 68#65=EDGE_CURVE('vert_e4',#23,#27,#64,.T.); 69 70/* Top rim edges (free, no face using them) */ 71#66=LINE('',#14,VECTOR('',(1,0,0),10.0)); 72#67=EDGE_CURVE('top_e1',#24,#25,#66,.T.); 73#68=LINE('',#15,VECTOR('',(0,1,0),10.0)); 74#69=EDGE_CURVE('top_e2',#25,#26,#68,.T.); 75#70=LINE('',#16,VECTOR('',(-1,0,0),10.0)); 76#71=EDGE_CURVE('top_e3',#26,#27,#70,.T.); 77#72=LINE('',#17,VECTOR('',(0,-1,0),10.0)); 78#73=EDGE_CURVE('top_e4',#27,#24,#72,.T.); 79 80/* Bottom face edge loop */ 81#80=ORIENTED_EDGE('',*,*,#51,.T.); 82#81=ORIENTED_EDGE('',*,*,#53,.T.); 83#82=ORIENTED_EDGE('',*,*,#55,.T.); 84#83=ORIENTED_EDGE('',*,*,#57,.T.); 85#84=EDGE_LOOP('bot_loop',(#80,#81,#82,#83)); 86 87/* X=0 face edge loop */ 88#85=ORIENTED_EDGE('',*,*,#57,.F.); 89#86=ORIENTED_EDGE('',*,*,#59,.T.); 90#87=ORIENTED_EDGE('',*,*,#73,.T.); 91#88=ORIENTED_EDGE('',*,*,#65,.F.); 92#89=EDGE_LOOP('x0_loop',(#85,#86,#87,#88)); 93 94/* X=10 face edge loop */ 95#90=ORIENTED_EDGE('',*,*,#51,.F.); 96#91=ORIENTED_EDGE('',*,*,#61,.T.); 97#92=ORIENTED_EDGE('',*,*,#67,.T.); 98#93=ORIENTED_EDGE('',*,*,#63,.F.); 99#94=EDGE_LOOP('x10_loop',(#90,#91,#92,#93)); 100 101/* Y=0 face edge loop */ 102#95=ORIENTED_EDGE('',*,*,#53,.F.); 103#96=ORIENTED_EDGE('',*,*,#63,.T.); 104#97=ORIENTED_EDGE('',*,*,#69,.T.); 105#98=ORIENTED_EDGE('',*,*,#61,.F.); 106#99=EDGE_LOOP('y0_loop',(#95,#96,#97,#98)); 107 108/* Y=10 face edge loop */ 109#100=ORIENTED_EDGE('',*,*,#55,.F.); 110#101=ORIENTED_EDGE('',*,*,#65,.T.); 111#102=ORIENTED_EDGE('',*,*,#71,.T.); 112#103=ORIENTED_EDGE('',*,*,#59,.F.); 113#104=EDGE_LOOP('y10_loop',(#100,#101,#102,#103)); 114 115/* Face bounds */ 116#110=FACE_OUTER_BOUND('',#84,.T.); 117#111=FACE_OUTER_BOUND('',#89,.T.); 118#112=FACE_OUTER_BOUND('',#94,.T.); 119#113=FACE_OUTER_BOUND('',#99,.T.); 120#114=FACE_OUTER_BOUND('',#104,.T.); 121 122/* Faces */ 123#120=ADVANCED_FACE('f_bot',(#110),#31,.T.); 124#121=ADVANCED_FACE('f_x0',(#111),#33,.T.); 125#122=ADVANCED_FACE('f_x10',(#112),#35,.T.); 126#123=ADVANCED_FACE('f_y0',(#113),#37,.T.); 127#124=ADVANCED_FACE('f_y10',(#114),#39,.T.); 128 129/* Open shell (5 faces, free edges on top rim) */ 130#130=OPEN_SHELL('open_box',(#120,#121,#122,#123,#124)); 131 132/* Mandatory PRODUCT chain */ 133#9000=PRODUCT_CONTEXT('',#1,'mechanical'); 134#9001=PRODUCT('Tsh118','Tsh118','',(#9000)); 135#9002=PRODUCT_DEFINITION_FORMATION('','',#9001); 136#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design'); 137#9004=PRODUCT_DEFINITION('','',#9002,#9003); 138#9005=PRODUCT_DEFINITION_SHAPE('','',#9004); 139#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 140#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 141#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 142#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value',''); 143#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D')); 144#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#130)); 145#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010); 146#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022); 147ENDSEC; 148END-ISO-10303-21;