step-examples/12-3c-faces/Tfa077.stp
Sources
- synthesized — no external source cited
Description
Planar face with a micro-scale (0.001×0.001mm) outer wire loads intact and unremoved; small-area-wire repair is never invoked on an ordinary read
Reproducer recipe
Expected kernel behavior
Given a face whose only wire encloses an area orders of magnitude below the model tolerance (here ~1e-6 mm², inside a 7-face block), a plain read must keep the face exactly as encoded — silently dropping geometry the file declares is never acceptable. An explicitly requested healing pass should then compare each wire's enclosed area against the model tolerance and rebuild the face without the negligible wires; when every wire of a face is negligible the whole face is removed, and the pass must report each removal, because dropping the face opens a hole in the surrounding shell.
Notes
Corrected 2026-07-17 (truth-in-labeling audit): retitled/redescribed — original claimed small-area-wire repair's degenerate-orientation check bypasses its own early exit; that method is never invoked on an ordinary read, and the micro-scale wire loads intact and unremoved. Part of the ~127-entry face-repair/small-face-check misnomer family — see `BACKLOG.md` Q14. Synonyms: "micro-scale outer wire loads unremoved", "small-area wire never removed on ordinary read".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(27) ifc=schema_n/a
Tier-3 assertions
load == "ok"
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa077: CLOSED_SHELL: face[0] is micro-scale 0.001Ã0.001 mm square ADVANCED_FACE on PLANE at z=0; wire area = 1e-6 mm² below default SmallAreaWire threshold; FixSmallAreaWire: degenerate-orientation check bypasses early exit â wire kept; companion box (1Ã1Ã1 mm, faces 1-6) provides shape(1) for OCC; micro face shares bottom plane with companion box; defect IS on live CLOSED_SHELL traversal path */ 3HEADER; 4FILE_DESCRIPTION(('Tfa077'),'2;1'); 5FILE_NAME('Tfa077.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('',(2.0,0.0,0.0)); 11#2=CARTESIAN_POINT('',(2.001,0.0,0.0)); 12#3=CARTESIAN_POINT('',(2.001,0.001,0.0)); 13#4=CARTESIAN_POINT('',(2.0,0.001,0.0)); 14#5=VERTEX_POINT('',#1); 15#6=VERTEX_POINT('',#2); 16#7=VERTEX_POINT('',#3); 17#8=VERTEX_POINT('',#4); 18#9=DIRECTION('',(1.0,0.0,0.0)); 19#10=VECTOR('',#9,0.001); 20#11=LINE('',#1,#10); 21#12=EDGE_CURVE('',#5,#6,#11,.T.); 22#13=DIRECTION('',(0.0,1.0,0.0)); 23#14=VECTOR('',#13,0.001); 24#15=LINE('',#2,#14); 25#16=EDGE_CURVE('',#6,#7,#15,.T.); 26#17=DIRECTION('',(-1.0,0.0,0.0)); 27#18=VECTOR('',#17,0.001); 28#19=LINE('',#3,#18); 29#20=EDGE_CURVE('',#7,#8,#19,.T.); 30#21=DIRECTION('',(0.0,-1.0,0.0)); 31#22=VECTOR('',#21,0.001); 32#23=LINE('',#4,#22); 33#24=EDGE_CURVE('',#8,#5,#23,.T.); 34#25=ORIENTED_EDGE('',$,$,#12,.T.); 35#26=ORIENTED_EDGE('',$,$,#16,.T.); 36#27=ORIENTED_EDGE('',$,$,#20,.T.); 37#28=ORIENTED_EDGE('',$,$,#24,.T.); 38#29=EDGE_LOOP('',(#25,#26,#27,#28)); 39#30=CARTESIAN_POINT('',(2.0,0.0,0.0)); 40#31=DIRECTION('',(0.0,0.0,-1.0)); 41#32=DIRECTION('',(1.0,0.0,0.0)); 42#33=AXIS2_PLACEMENT_3D('',#30,#31,#32); 43#34=FACE_OUTER_BOUND('',#29,.T.); 44#35=PLANE('',#33); 45#36=ADVANCED_FACE('',(#34),#35,.T.); 46#37=CARTESIAN_POINT('',(0.0,0.0,0.0)); 47#38=CARTESIAN_POINT('',(1.0,0.0,0.0)); 48#39=CARTESIAN_POINT('',(1.0,1.0,0.0)); 49#40=CARTESIAN_POINT('',(0.0,1.0,0.0)); 50#41=CARTESIAN_POINT('',(0.0,0.0,1.0)); 51#42=CARTESIAN_POINT('',(1.0,0.0,1.0)); 52#43=CARTESIAN_POINT('',(1.0,1.0,1.0)); 53#44=CARTESIAN_POINT('',(0.0,1.0,1.0)); 54#45=VERTEX_POINT('',#37); 55#46=VERTEX_POINT('',#38); 56#47=VERTEX_POINT('',#39); 57#48=VERTEX_POINT('',#40); 58#49=VERTEX_POINT('',#41); 59#50=VERTEX_POINT('',#42); 60#51=VERTEX_POINT('',#43); 61#52=VERTEX_POINT('',#44); 62#53=DIRECTION('',(1.0,0.0,0.0)); 63#54=VECTOR('',#53,1.0); 64#55=LINE('',#37,#54); 65#56=EDGE_CURVE('',#45,#46,#55,.T.); 66#57=DIRECTION('',(0.0,1.0,0.0)); 67#58=VECTOR('',#57,1.0); 68#59=LINE('',#38,#58); 69#60=EDGE_CURVE('',#46,#47,#59,.T.); 70#61=DIRECTION('',(-1.0,0.0,0.0)); 71#62=VECTOR('',#61,1.0); 72#63=LINE('',#39,#62); 73#64=EDGE_CURVE('',#47,#48,#63,.T.); 74#65=DIRECTION('',(0.0,-1.0,0.0)); 75#66=VECTOR('',#65,1.0); 76#67=LINE('',#40,#66); 77#68=EDGE_CURVE('',#48,#45,#67,.T.); 78#69=DIRECTION('',(1.0,0.0,0.0)); 79#70=VECTOR('',#69,1.0); 80#71=LINE('',#41,#70); 81#72=EDGE_CURVE('',#49,#50,#71,.T.); 82#73=DIRECTION('',(0.0,1.0,0.0)); 83#74=VECTOR('',#73,1.0); 84#75=LINE('',#42,#74); 85#76=EDGE_CURVE('',#50,#51,#75,.T.); 86#77=DIRECTION('',(-1.0,0.0,0.0)); 87#78=VECTOR('',#77,1.0); 88#79=LINE('',#43,#78); 89#80=EDGE_CURVE('',#51,#52,#79,.T.); 90#81=DIRECTION('',(0.0,-1.0,0.0)); 91#82=VECTOR('',#81,1.0); 92#83=LINE('',#44,#82); 93#84=EDGE_CURVE('',#52,#49,#83,.T.); 94#85=DIRECTION('',(0.0,0.0,1.0)); 95#86=VECTOR('',#85,1.0); 96#87=LINE('',#37,#86); 97#88=EDGE_CURVE('',#45,#49,#87,.T.); 98#89=DIRECTION('',(0.0,0.0,1.0)); 99#90=VECTOR('',#89,1.0); 100#91=LINE('',#38,#90); 101#92=EDGE_CURVE('',#46,#50,#91,.T.); 102#93=DIRECTION('',(0.0,0.0,1.0)); 103#94=VECTOR('',#93,1.0); 104#95=LINE('',#39,#94); 105#96=EDGE_CURVE('',#47,#51,#95,.T.); 106#97=DIRECTION('',(0.0,0.0,1.0)); 107#98=VECTOR('',#97,1.0); 108#99=LINE('',#40,#98); 109#100=EDGE_CURVE('',#48,#52,#99,.T.); 110#101=ORIENTED_EDGE('',$,$,#56,.T.); 111#102=ORIENTED_EDGE('',$,$,#60,.T.); 112#103=ORIENTED_EDGE('',$,$,#64,.T.); 113#104=ORIENTED_EDGE('',$,$,#68,.T.); 114#105=EDGE_LOOP('',(#101,#102,#103,#104)); 115#106=DIRECTION('',(0.0,0.0,-1.0)); 116#107=DIRECTION('',(1.0,0.0,0.0)); 117#108=AXIS2_PLACEMENT_3D('',#37,#106,#107); 118#109=FACE_OUTER_BOUND('',#105,.T.); 119#110=PLANE('',#108); 120#111=ADVANCED_FACE('',(#109),#110,.T.); 121#112=ORIENTED_EDGE('',$,$,#72,.T.); 122#113=ORIENTED_EDGE('',$,$,#76,.T.); 123#114=ORIENTED_EDGE('',$,$,#80,.T.); 124#115=ORIENTED_EDGE('',$,$,#84,.T.); 125#116=EDGE_LOOP('',(#112,#113,#114,#115)); 126#117=DIRECTION('',(0.0,0.0,1.0)); 127#118=DIRECTION('',(1.0,0.0,0.0)); 128#119=AXIS2_PLACEMENT_3D('',#41,#117,#118); 129#120=FACE_OUTER_BOUND('',#116,.T.); 130#121=PLANE('',#119); 131#122=ADVANCED_FACE('',(#120),#121,.T.); 132#123=ORIENTED_EDGE('',$,$,#56,.T.); 133#124=ORIENTED_EDGE('',$,$,#92,.T.); 134#125=ORIENTED_EDGE('',$,$,#72,.F.); 135#126=ORIENTED_EDGE('',$,$,#88,.F.); 136#127=EDGE_LOOP('',(#123,#124,#125,#126)); 137#128=DIRECTION('',(0.0,-1.0,0.0)); 138#129=DIRECTION('',(1.0,0.0,0.0)); 139#130=AXIS2_PLACEMENT_3D('',#37,#128,#129); 140#131=FACE_OUTER_BOUND('',#127,.T.); 141#132=PLANE('',#130); 142#133=ADVANCED_FACE('',(#131),#132,.T.); 143#134=ORIENTED_EDGE('',$,$,#100,.T.); 144#135=ORIENTED_EDGE('',$,$,#80,.F.); 145#136=ORIENTED_EDGE('',$,$,#96,.F.); 146#137=ORIENTED_EDGE('',$,$,#64,.F.); 147#138=EDGE_LOOP('',(#134,#135,#136,#137)); 148#139=DIRECTION('',(0.0,1.0,0.0)); 149#140=DIRECTION('',(1.0,0.0,0.0)); 150#141=AXIS2_PLACEMENT_3D('',#40,#139,#140); 151#142=FACE_OUTER_BOUND('',#138,.T.); 152#143=PLANE('',#141); 153#144=ADVANCED_FACE('',(#142),#143,.T.); 154#145=ORIENTED_EDGE('',$,$,#88,.T.); 155#146=ORIENTED_EDGE('',$,$,#84,.F.); 156#147=ORIENTED_EDGE('',$,$,#100,.F.); 157#148=ORIENTED_EDGE('',$,$,#68,.F.); 158#149=EDGE_LOOP('',(#145,#146,#147,#148)); 159#150=DIRECTION('',(-1.0,0.0,0.0)); 160#151=DIRECTION('',(0.0,1.0,0.0)); 161#152=AXIS2_PLACEMENT_3D('',#37,#150,#151); 162#153=FACE_OUTER_BOUND('',#149,.T.); 163#154=PLANE('',#152); 164#155=ADVANCED_FACE('',(#153),#154,.T.); 165#156=ORIENTED_EDGE('',$,$,#60,.T.); 166#157=ORIENTED_EDGE('',$,$,#96,.T.); 167#158=ORIENTED_EDGE('',$,$,#76,.F.); 168#159=ORIENTED_EDGE('',$,$,#92,.F.); 169#160=EDGE_LOOP('',(#156,#157,#158,#159)); 170#161=DIRECTION('',(1.0,0.0,0.0)); 171#162=DIRECTION('',(0.0,1.0,0.0)); 172#163=AXIS2_PLACEMENT_3D('',#38,#161,#162); 173#164=FACE_OUTER_BOUND('',#160,.T.); 174#165=PLANE('',#163); 175#166=ADVANCED_FACE('',(#164),#165,.T.); 176#167=CLOSED_SHELL('',(#36,#111,#122,#133,#144,#155,#166)); 177#168=MANIFOLD_SOLID_BREP('',#167); 178#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 179#9051=PRODUCT('Tfa077','Tfa077','',(#9050)); 180#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 181#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 182#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 183#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 184#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 185#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 186#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 187#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 188#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 189#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#168),#9060); 190#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 191ENDSEC; 192END-ISO-10303-21;