step-examples/12-3c-faces/Tfa139.stp
Sources
- synthesized — no external source cited
Description
Tiny planar face with an internal pin-shaped hole loop crashes the reader (SIGSEGV) as soon as the extra bound wire is present; loads cleanly with only the outer wire — spot-face checking is never reached
Reproducer recipe
Expected kernel behavior
Reject with a diagnostic naming the internal hole loop: a tiny planar face whose outer wire alone loads cleanly but which crashes as soon as the internal pin-shaped hole loop is added must have that loop rejected during shape translation before the crash — build the face from the outer wire only, with a diagnostic identifying the dropped loop, rather than aborting the process.
Notes
Corrected 2026-07-17 (truth-in-labeling audit): retitled/redescribed — original claimed spot-face checking classifies the face as a degenerate 'spot' without accounting for the internal pin-loop feature; 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", "internal pin-loop hole crashes reader, outer-alone loads clean".
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/* Tfa139 - ShapeAnalysis_CheckSmallFace.CheckSpotFace spot-with-internal-pin 3 * A small face that is nominally classified as a "spot" (degenerate), 4 * but contains a protruding pin-like feature that contradicts spot classification. 5 * CheckSpotFace misses this dual character. 6 */ 7HEADER; 8FILE_DESCRIPTION(('Tfa139 test case','ShapeAnalysis_CheckSmallFace.CheckSpotFace spot-with-internal-pin'),'2;1'); 9FILE_NAME('Tfa139.stp','2026-06-15T00:00:00',(''),(''),'cad-research-suite','',''); 10FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 11ENDSEC; 12DATA; 13#1=APPLICATION_CONTEXT('automotive_design'); 14#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#1); 15/* === Small planar face with pin protrusion === */ 16#10=CARTESIAN_POINT('',(0.0,0.0,0.0)); 17#11=DIRECTION('',(0.0,0.0,1.0));#12=DIRECTION('',(1.0,0.0,0.0)); 18#13=AXIS2_PLACEMENT_3D('',#10,#11,#12);#14=PLANE('face_plane',#13); 19/* === Outer loop: tiny square 0.1 x 0.1 mm === */ 20#20=CARTESIAN_POINT('',(0.0,0.0,0.0));#21=VERTEX_POINT('',#20); 21#22=CARTESIAN_POINT('',(0.1,0.0,0.0));#23=VERTEX_POINT('',#22); 22#24=CARTESIAN_POINT('',(0.1,0.1,0.0));#25=VERTEX_POINT('',#24); 23#26=CARTESIAN_POINT('',(0.0,0.1,0.0));#27=VERTEX_POINT('',#26); 24#30=DIRECTION('',(1.0,0.0,0.0));#31=VECTOR('',#30,1.0);#32=LINE('',#20,#31); 25#33=EDGE_CURVE('e_outer_1',#21,#23,#32,.T.); 26#34=DIRECTION('',(0.0,1.0,0.0));#35=VECTOR('',#34,1.0);#36=LINE('',#22,#35); 27#37=EDGE_CURVE('e_outer_2',#23,#25,#36,.T.); 28#38=DIRECTION('',(-1.0,0.0,0.0));#39=VECTOR('',#38,1.0);#40=LINE('',#24,#39); 29#41=EDGE_CURVE('e_outer_3',#25,#27,#40,.T.); 30#42=DIRECTION('',(0.0,-1.0,0.0));#43=VECTOR('',#42,1.0);#44=LINE('',#26,#43); 31#45=EDGE_CURVE('e_outer_4',#27,#21,#44,.T.); 32#46=ORIENTED_EDGE('',*,*,#33,.T.);#47=ORIENTED_EDGE('',*,*,#37,.T.); 33#48=ORIENTED_EDGE('',*,*,#41,.T.);#49=ORIENTED_EDGE('',*,*,#45,.T.); 34#50=EDGE_LOOP('outer_loop',(#46,#47,#48,#49)); 35#51=FACE_OUTER_BOUND('',#50,.T.); 36/* === Inner loop (hole): pin protrusion marker from (0.045, 0.045) --- a tiny circle === */ 37#60=CARTESIAN_POINT('',(0.045,0.045,0.0));#61=VERTEX_POINT('',#60); 38#62=CARTESIAN_POINT('',(0.050,0.045,0.0));#63=VERTEX_POINT('',#62); 39#64=CARTESIAN_POINT('',(0.045,0.050,0.0));#65=VERTEX_POINT('',#64); 40#66=CARTESIAN_POINT('',(0.040,0.045,0.0));#67=VERTEX_POINT('',#66); 41#70=DIRECTION('',(1.0,0.0,0.0));#71=VECTOR('',#70,1.0);#72=LINE('',#60,#71); 42#73=EDGE_CURVE('e_pin_1',#61,#63,#72,.T.); 43#74=DIRECTION('',(0.0,1.0,0.0));#75=VECTOR('',#74,1.0);#76=LINE('',#62,#75); 44#77=EDGE_CURVE('e_pin_2',#63,#65,#76,.T.); 45#78=DIRECTION('',(-1.0,0.0,0.0));#79=VECTOR('',#78,1.0);#80=LINE('',#64,#79); 46#81=EDGE_CURVE('e_pin_3',#65,#67,#80,.T.); 47#82=DIRECTION('',(0.0,-1.0,0.0));#83=VECTOR('',#82,1.0);#84=LINE('',#66,#83); 48#85=EDGE_CURVE('e_pin_4',#67,#61,#84,.T.); 49#86=ORIENTED_EDGE('',*,*,#73,.T.);#87=ORIENTED_EDGE('',*,*,#77,.T.); 50#88=ORIENTED_EDGE('',*,*,#81,.T.);#89=ORIENTED_EDGE('',*,*,#85,.T.); 51#90=EDGE_LOOP('pin_loop',(#86,#87,#88,#89)); 52#91=FACE_INNER_BOUND('',#90,.T.); 53#100=ADVANCED_FACE('spot_with_pin',(#51,#91),#14,.T.); 54/* === Wrap in PRODUCT chain === */ 55#9000=PRODUCT_CONTEXT('',#1,'mechanical'); 56#9001=PRODUCT('Tfa139','Tfa139','',(#9000)); 57#9002=PRODUCT_DEFINITION_FORMATION('','',#9001); 58#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design'); 59#9004=PRODUCT_DEFINITION('','',#9002,#9003); 60#9005=PRODUCT_DEFINITION_SHAPE('','',#9004); 61#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 62#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 63#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 64#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value',''); 65#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D')); 66#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#9050)); 67#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010); 68#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022); 69#9050=CLOSED_SHELL('shell',(#100)); 70ENDSEC; 71END-ISO-10303-21;