step-examples/12-3c-faces/Tfa135.stp
Sources
- synthesized — no external source cited
Description
Face with three small inner wires (not a claimed cascading-removal effect) crashes the reader (SIGSEGV) as soon as the extra bound wire is present; loads cleanly with only the outer wire — small-area-wire repair is never reached
Reproducer recipe
Expected kernel behavior
Reject with a diagnostic naming the extra bound wire: a planar face whose outer wire alone loads cleanly but which crashes as soon as any one of its declared inner (small-area) wires is added must have that construction rejected during shape translation before the crash, not allowed to abort the process — building the face from the outer wire only, with a diagnostic identifying the dropped inner wire, is preferable to a hard crash.
Notes
**See also**: Tfa093. Corrected 2026-07-17 (truth-in-labeling audit): retitled/redescribed — original claimed small-area-wire repair removes the first small wire, which changes the area context and cascades removal of the second; that method is never reached because the file crashes (SIGSEGV) during shape translation before any wire-level healing pass runs. Isolation testing (stripping the extra bound wire) confirms the outer-bound-alone face loads cleanly; the crash is reproduced by restoring the additional wire. Part of the ~127-entry face-repair/small-face-check misnomer family — see `BACKLOG.md` Q14. Synonyms: "multi-bound face crashes reader, outer-alone loads clean", "first inner wire alone crashes reader, no cascade needed".
Expected validation
occt=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2HEADER; 3FILE_DESCRIPTION(('Tfa135 FixSmallAreaWire chained-removal'),'2;1'); 4FILE_NAME('Tfa135.stp','2026-06-15T00:00:00',(''),(''), 5 'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 7ENDSEC; 8DATA; 9#1=APPLICATION_CONTEXT('automotive design'); 10#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2009,#1); 11/* Tfa135 - FixSmallAreaWire.chained-removal 12 * Defect: Three small inner wires; removing first changes area calc, 13 * causing second to also fall below threshold (cascade effect). 14 * Trigger: Face with multiple small wires where removal propagates. 15 */ 16#10=CARTESIAN_POINT('origin',(0.0,0.0,0.0)); 17#11=DIRECTION('z',(0.0,0.0,1.0)); 18#12=DIRECTION('x',(1.0,0.0,0.0)); 19#13=AXIS2_PLACEMENT_3D('placement',#10,#11,#12); 20/* Outer wire: large square */ 21#20=CARTESIAN_POINT('p0',(0.0,0.0,0.0)); 22#21=CARTESIAN_POINT('p1',(20.0,0.0,0.0)); 23#22=CARTESIAN_POINT('p2',(20.0,20.0,0.0)); 24#23=CARTESIAN_POINT('p3',(0.0,20.0,0.0)); 25/* Small inner wire 1 (0.1x0.1) */ 26#24=CARTESIAN_POINT('p4',(2.0,2.0,0.0)); 27#25=CARTESIAN_POINT('p5',(2.1,2.0,0.0)); 28#26=CARTESIAN_POINT('p6',(2.1,2.1,0.0)); 29#27=CARTESIAN_POINT('p7',(2.0,2.1,0.0)); 30/* Small inner wire 2 (0.15x0.15) */ 31#28=CARTESIAN_POINT('p8',(5.0,5.0,0.0)); 32#29=CARTESIAN_POINT('p9',(5.15,5.0,0.0)); 33#30=CARTESIAN_POINT('p10',(5.15,5.15,0.0)); 34#31=CARTESIAN_POINT('p11',(5.0,5.15,0.0)); 35/* Small inner wire 3 (0.2x0.2) */ 36#32=CARTESIAN_POINT('p12',(8.0,8.0,0.0)); 37#33=CARTESIAN_POINT('p13',(8.2,8.0,0.0)); 38#34=CARTESIAN_POINT('p14',(8.2,8.2,0.0)); 39#35=CARTESIAN_POINT('p15',(8.0,8.2,0.0)); 40/* Vertices */ 41#40=VERTEX_POINT('v0',#20); 42#41=VERTEX_POINT('v1',#21); 43#42=VERTEX_POINT('v2',#22); 44#43=VERTEX_POINT('v3',#23); 45#44=VERTEX_POINT('v4',#24); 46#45=VERTEX_POINT('v5',#25); 47#46=VERTEX_POINT('v6',#26); 48#47=VERTEX_POINT('v7',#27); 49#48=VERTEX_POINT('v8',#28); 50#49=VERTEX_POINT('v9',#29); 51#50=VERTEX_POINT('v10',#30); 52#51=VERTEX_POINT('v11',#31); 53#52=VERTEX_POINT('v12',#32); 54#53=VERTEX_POINT('v13',#33); 55#54=VERTEX_POINT('v14',#34); 56#55=VERTEX_POINT('v15',#35); 57/* Outer wire edges */ 58#60=DIRECTION('d0',(1.0,0.0,0.0)); 59#61=VECTOR('v_o0',#60,20.0); 60#62=LINE('l0',#20,#61); 61#63=DIRECTION('d1',(0.0,1.0,0.0)); 62#64=VECTOR('v_o1',#63,20.0); 63#65=LINE('l1',#21,#64); 64#66=DIRECTION('d2',(-1.0,0.0,0.0)); 65#67=VECTOR('v_o2',#66,20.0); 66#68=LINE('l2',#22,#67); 67#69=DIRECTION('d3',(0.0,-1.0,0.0)); 68#70=VECTOR('v_o3',#69,20.0); 69#71=LINE('l3',#23,#70); 70#72=EDGE_CURVE('e0',#40,#41,#62,.T.); 71#73=EDGE_CURVE('e1',#41,#42,#65,.T.); 72#74=EDGE_CURVE('e2',#42,#43,#68,.T.); 73#75=EDGE_CURVE('e3',#43,#40,#71,.T.); 74/* Inner wire 1 edges (0.1x0.1) */ 75#76=DIRECTION('d4',(1.0,0.0,0.0)); 76#77=VECTOR('v_i10',#76,0.1); 77#78=LINE('l4',#24,#77); 78#79=DIRECTION('d5',(0.0,1.0,0.0)); 79#80=VECTOR('v_i11',#79,0.1); 80#81=LINE('l5',#25,#80); 81#82=DIRECTION('d6',(-1.0,0.0,0.0)); 82#83=VECTOR('v_i12',#82,0.1); 83#84=LINE('l6',#26,#83); 84#85=DIRECTION('d7',(0.0,-1.0,0.0)); 85#86=VECTOR('v_i13',#85,0.1); 86#87=LINE('l7',#27,#86); 87#88=EDGE_CURVE('e4',#44,#45,#78,.T.); 88#89=EDGE_CURVE('e5',#45,#46,#81,.T.); 89#90=EDGE_CURVE('e6',#46,#47,#84,.T.); 90#91=EDGE_CURVE('e7',#47,#44,#87,.T.); 91/* Inner wire 2 edges (0.15x0.15) */ 92#92=DIRECTION('d8',(1.0,0.0,0.0)); 93#93=VECTOR('v_i20',#92,0.15); 94#94=LINE('l8',#28,#93); 95#95=DIRECTION('d9',(0.0,1.0,0.0)); 96#96=VECTOR('v_i21',#95,0.15); 97#97=LINE('l9',#29,#96); 98#98=DIRECTION('d10',(-1.0,0.0,0.0)); 99#99=VECTOR('v_i22',#98,0.15); 100#100=LINE('l10',#30,#99); 101#101=DIRECTION('d11',(0.0,-1.0,0.0)); 102#102=VECTOR('v_i23',#101,0.15); 103#103=LINE('l11',#31,#102); 104#104=EDGE_CURVE('e8',#48,#49,#94,.T.); 105#105=EDGE_CURVE('e9',#49,#50,#97,.T.); 106#106=EDGE_CURVE('e10',#50,#51,#100,.T.); 107#107=EDGE_CURVE('e11',#51,#48,#103,.T.); 108/* Inner wire 3 edges (0.2x0.2) */ 109#108=DIRECTION('d12',(1.0,0.0,0.0)); 110#109=VECTOR('v_i30',#108,0.2); 111#110=LINE('l12',#32,#109); 112#111=DIRECTION('d13',(0.0,1.0,0.0)); 113#112=VECTOR('v_i31',#111,0.2); 114#113=LINE('l13',#33,#112); 115#114=DIRECTION('d14',(-1.0,0.0,0.0)); 116#115=VECTOR('v_i32',#114,0.2); 117#116=LINE('l14',#34,#115); 118#117=DIRECTION('d15',(0.0,-1.0,0.0)); 119#118=VECTOR('v_i33',#117,0.2); 120#119=LINE('l15',#35,#118); 121#120=EDGE_CURVE('e12',#52,#53,#110,.T.); 122#121=EDGE_CURVE('e13',#53,#54,#113,.T.); 123#122=EDGE_CURVE('e14',#54,#55,#116,.T.); 124#123=EDGE_CURVE('e15',#55,#52,#119,.T.); 125/* Oriented edges */ 126#130=ORIENTED_EDGE('oe0',*,*,#72,.T.); 127#131=ORIENTED_EDGE('oe1',*,*,#73,.T.); 128#132=ORIENTED_EDGE('oe2',*,*,#74,.T.); 129#133=ORIENTED_EDGE('oe3',*,*,#75,.T.); 130#134=ORIENTED_EDGE('oe4',*,*,#88,.T.); 131#135=ORIENTED_EDGE('oe5',*,*,#89,.T.); 132#136=ORIENTED_EDGE('oe6',*,*,#90,.T.); 133#137=ORIENTED_EDGE('oe7',*,*,#91,.T.); 134#138=ORIENTED_EDGE('oe8',*,*,#104,.T.); 135#139=ORIENTED_EDGE('oe9',*,*,#105,.T.); 136#140=ORIENTED_EDGE('oe10',*,*,#106,.T.); 137#141=ORIENTED_EDGE('oe11',*,*,#107,.T.); 138#142=ORIENTED_EDGE('oe12',*,*,#120,.T.); 139#143=ORIENTED_EDGE('oe13',*,*,#121,.T.); 140#144=ORIENTED_EDGE('oe14',*,*,#122,.T.); 141#145=ORIENTED_EDGE('oe15',*,*,#123,.T.); 142/* Edge loops */ 143#150=EDGE_LOOP('outer',(#130,#131,#132,#133)); 144#151=EDGE_LOOP('inner1',(#134,#135,#136,#137)); 145#152=EDGE_LOOP('inner2',(#138,#139,#140,#141)); 146#153=EDGE_LOOP('inner3',(#142,#143,#144,#145)); 147/* Face bounds */ 148#160=FACE_OUTER_BOUND('outer',#150,.T.); 149#161=FACE_INNER_BOUND('inner1',#151,.T.); 150#162=FACE_INNER_BOUND('inner2',#152,.T.); 151#163=FACE_INNER_BOUND('inner3',#153,.T.); 152/* Geometry */ 153#170=PLANE('plane',#13); 154/* Face with three small inner wires triggering chained removal */ 155#180=ADVANCED_FACE('chained',(#160,#161,#162,#163),#170,.T.); 156#190=OPEN_SHELL('shell',(#180)); 157/* Mandatory PRODUCT chain */ 158#9000=PRODUCT_CONTEXT('',#1,'mechanical'); 159#9001=PRODUCT('Tfa135','Tfa135','',(#9000)); 160#9002=PRODUCT_DEFINITION_FORMATION('','',#9001); 161#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design'); 162#9004=PRODUCT_DEFINITION('','',#9002,#9003); 163#9005=PRODUCT_DEFINITION_SHAPE('','',#9004); 164#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 165#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 166#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 167#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value',''); 168#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D')); 169#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#190)); 170#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010); 171#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022); 172ENDSEC; 173END-ISO-10303-21;