step-examples/12-3c-faces/Tfa153.stp
Sources
- synthesized — no external source cited
Description
Vertex coordinates at 1e15 magnitude are rejected at the Part-21 parse stage (both OCCT and gmsh); the reader never reaches geometry construction, let alone small-area-wire repair
Reproducer recipe
Expected kernel behavior
Reject with a diagnostic naming the offending REAL literals: vertex coordinates encoded at 1e15 magnitude must be rejected at the Part-21 parse stage with a clear, consistent diagnostic rather than the divergent outcomes observed here (OCCT returning a null shape with zero transferred roots versus gmsh issuing an outright parse rejection) — a correct kernel should treat extreme-magnitude coordinate literals as a parse-time error and report it uniformly, not let the two verdicts silently disagree.
Notes
Corrected 2026-07-17 (truth-in-labeling audit): retitled/redescribed — original claimed small-area-wire repair's area calculation overflows at 1e15-scale coordinates; that code path is never reached because the Part-21 parser rejects the 1e15-magnitude REAL literals first (this analysis was already present in this entry's own pre-existing Notes below). Part of the ~127-entry face-repair/small-face-check misnomer family — see `BACKLOG.md` Q14. Synonyms: "1e15 coordinate REAL literal parser rejection", "extreme-magnitude vertex rejected before geometry build". Validation observed: parser-level rejection by both OCCT and gmsh ("Incorrect Syntax: Fails Count: 2" diagnostic from both), where OCCT categorizes the result as silent-empty and gmsh as reject. The cited small-area-wire repair code path is not reached at fixture scale because the parser rejects the 1e15-magnitude REAL literals before geometry construction begins. The kernel-divergence-at-parser-level (occt=empty vs gmsh=reject for identical input) still demonstrates the defect class.
Expected validation
occt=empty/empty gmsh=reject ifc=schema_n/a
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa153: CLOSED_SHELL: 10Ã10Ã1 mm box with all coordinates offset by 1e15; top face outer loop plus inner FACE_BOUND wire (small 2Ã2 rectangle); FixSmallAreaWire cross-product area calculation: vertex magnitudes ~1e15 cause cross-product ~1e30; float precision at 1e15 loses ~15 significant digits so small area differences vanish in rounding; area calculation overflows meaningful precision and returns wrong result; defect IS on live CLOSED_SHELL traversal path */ 3HEADER; 4FILE_DESCRIPTION(('Tfa153'),'2;1'); 5FILE_NAME('Tfa153.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('',(1.0E+15,1.0E+15,1.0E+15)); 11#2=CARTESIAN_POINT('',(1.0E+15,1.0E+15,1.0E+15)); 12#3=CARTESIAN_POINT('',(1.0E+15,1.0E+15,1.0E+15)); 13#4=CARTESIAN_POINT('',(1.0E+15,1.0E+15,1.0E+15)); 14#5=CARTESIAN_POINT('',(1.0E+15,1.0E+15,1.0E+15)); 15#6=CARTESIAN_POINT('',(1.0E+15,1.0E+15,1.0E+15)); 16#7=CARTESIAN_POINT('',(1.0E+15,1.0E+15,1.0E+15)); 17#8=CARTESIAN_POINT('',(1.0E+15,1.0E+15,1.0E+15)); 18#9=VERTEX_POINT('',#1); 19#10=VERTEX_POINT('',#2); 20#11=VERTEX_POINT('',#3); 21#12=VERTEX_POINT('',#4); 22#13=VERTEX_POINT('',#5); 23#14=VERTEX_POINT('',#6); 24#15=VERTEX_POINT('',#7); 25#16=VERTEX_POINT('',#8); 26#17=DIRECTION('',(1.0,0.0,0.0)); 27#18=VECTOR('',#17,10.0); 28#19=LINE('',#1,#18); 29#20=EDGE_CURVE('',#9,#10,#19,.T.); 30#21=DIRECTION('',(0.0,1.0,0.0)); 31#22=VECTOR('',#21,10.0); 32#23=LINE('',#2,#22); 33#24=EDGE_CURVE('',#10,#11,#23,.T.); 34#25=DIRECTION('',(-1.0,0.0,0.0)); 35#26=VECTOR('',#25,10.0); 36#27=LINE('',#3,#26); 37#28=EDGE_CURVE('',#11,#12,#27,.T.); 38#29=DIRECTION('',(0.0,-1.0,0.0)); 39#30=VECTOR('',#29,10.0); 40#31=LINE('',#4,#30); 41#32=EDGE_CURVE('',#12,#9,#31,.T.); 42#33=DIRECTION('',(1.0,0.0,0.0)); 43#34=VECTOR('',#33,10.0); 44#35=LINE('',#5,#34); 45#36=EDGE_CURVE('',#13,#14,#35,.T.); 46#37=DIRECTION('',(0.0,1.0,0.0)); 47#38=VECTOR('',#37,10.0); 48#39=LINE('',#6,#38); 49#40=EDGE_CURVE('',#14,#15,#39,.T.); 50#41=DIRECTION('',(-1.0,0.0,0.0)); 51#42=VECTOR('',#41,10.0); 52#43=LINE('',#7,#42); 53#44=EDGE_CURVE('',#15,#16,#43,.T.); 54#45=DIRECTION('',(0.0,-1.0,0.0)); 55#46=VECTOR('',#45,10.0); 56#47=LINE('',#8,#46); 57#48=EDGE_CURVE('',#16,#13,#47,.T.); 58#49=DIRECTION('',(0.0,0.0,1.0)); 59#50=VECTOR('',#49,1.0); 60#51=LINE('',#1,#50); 61#52=EDGE_CURVE('',#9,#13,#51,.T.); 62#53=DIRECTION('',(0.0,0.0,1.0)); 63#54=VECTOR('',#53,1.0); 64#55=LINE('',#2,#54); 65#56=EDGE_CURVE('',#10,#14,#55,.T.); 66#57=DIRECTION('',(0.0,0.0,1.0)); 67#58=VECTOR('',#57,1.0); 68#59=LINE('',#3,#58); 69#60=EDGE_CURVE('',#11,#15,#59,.T.); 70#61=DIRECTION('',(0.0,0.0,1.0)); 71#62=VECTOR('',#61,1.0); 72#63=LINE('',#4,#62); 73#64=EDGE_CURVE('',#12,#16,#63,.T.); 74#65=ORIENTED_EDGE('',$,$,#20,.T.); 75#66=ORIENTED_EDGE('',$,$,#24,.T.); 76#67=ORIENTED_EDGE('',$,$,#28,.T.); 77#68=ORIENTED_EDGE('',$,$,#32,.T.); 78#69=EDGE_LOOP('',(#65,#66,#67,#68)); 79#70=DIRECTION('',(0.0,0.0,-1.0)); 80#71=DIRECTION('',(1.0,0.0,0.0)); 81#72=AXIS2_PLACEMENT_3D('',#1,#70,#71); 82#73=FACE_OUTER_BOUND('',#69,.T.); 83#74=PLANE('',#72); 84#75=ADVANCED_FACE('',(#73),#74,.T.); 85#76=ORIENTED_EDGE('',$,$,#36,.T.); 86#77=ORIENTED_EDGE('',$,$,#40,.T.); 87#78=ORIENTED_EDGE('',$,$,#44,.T.); 88#79=ORIENTED_EDGE('',$,$,#48,.T.); 89#80=EDGE_LOOP('',(#76,#77,#78,#79)); 90#81=CARTESIAN_POINT('',(1.0E+15,1.0E+15,1.0E+15)); 91#82=CARTESIAN_POINT('',(1.0E+15,1.0E+15,1.0E+15)); 92#83=CARTESIAN_POINT('',(1.0E+15,1.0E+15,1.0E+15)); 93#84=CARTESIAN_POINT('',(1.0E+15,1.0E+15,1.0E+15)); 94#85=VERTEX_POINT('',#81); 95#86=VERTEX_POINT('',#82); 96#87=VERTEX_POINT('',#83); 97#88=VERTEX_POINT('',#84); 98#89=DIRECTION('',(1.0,0.0,0.0)); 99#90=VECTOR('',#89,2.0); 100#91=LINE('',#81,#90); 101#92=EDGE_CURVE('',#85,#86,#91,.T.); 102#93=DIRECTION('',(0.0,1.0,0.0)); 103#94=VECTOR('',#93,2.0); 104#95=LINE('',#82,#94); 105#96=EDGE_CURVE('',#86,#87,#95,.T.); 106#97=DIRECTION('',(-1.0,0.0,0.0)); 107#98=VECTOR('',#97,2.0); 108#99=LINE('',#83,#98); 109#100=EDGE_CURVE('',#87,#88,#99,.T.); 110#101=DIRECTION('',(0.0,-1.0,0.0)); 111#102=VECTOR('',#101,2.0); 112#103=LINE('',#84,#102); 113#104=EDGE_CURVE('',#88,#85,#103,.T.); 114#105=ORIENTED_EDGE('',$,$,#92,.T.); 115#106=ORIENTED_EDGE('',$,$,#96,.T.); 116#107=ORIENTED_EDGE('',$,$,#100,.T.); 117#108=ORIENTED_EDGE('',$,$,#104,.T.); 118#109=EDGE_LOOP('',(#105,#106,#107,#108)); 119#110=DIRECTION('',(0.0,0.0,1.0)); 120#111=DIRECTION('',(1.0,0.0,0.0)); 121#112=AXIS2_PLACEMENT_3D('',#5,#110,#111); 122#113=FACE_OUTER_BOUND('',#80,.T.); 123#114=FACE_BOUND('',#109,.T.); 124#115=PLANE('',#112); 125#116=ADVANCED_FACE('',(#113,#114),#115,.T.); 126#117=ORIENTED_EDGE('',$,$,#20,.T.); 127#118=ORIENTED_EDGE('',$,$,#56,.T.); 128#119=ORIENTED_EDGE('',$,$,#36,.F.); 129#120=ORIENTED_EDGE('',$,$,#52,.F.); 130#121=EDGE_LOOP('',(#117,#118,#119,#120)); 131#122=DIRECTION('',(0.0,-1.0,0.0)); 132#123=DIRECTION('',(1.0,0.0,0.0)); 133#124=AXIS2_PLACEMENT_3D('',#1,#122,#123); 134#125=FACE_OUTER_BOUND('',#121,.T.); 135#126=PLANE('',#124); 136#127=ADVANCED_FACE('',(#125),#126,.T.); 137#128=ORIENTED_EDGE('',$,$,#64,.T.); 138#129=ORIENTED_EDGE('',$,$,#44,.F.); 139#130=ORIENTED_EDGE('',$,$,#60,.F.); 140#131=ORIENTED_EDGE('',$,$,#28,.F.); 141#132=EDGE_LOOP('',(#128,#129,#130,#131)); 142#133=DIRECTION('',(0.0,1.0,0.0)); 143#134=DIRECTION('',(1.0,0.0,0.0)); 144#135=AXIS2_PLACEMENT_3D('',#4,#133,#134); 145#136=FACE_OUTER_BOUND('',#132,.T.); 146#137=PLANE('',#135); 147#138=ADVANCED_FACE('',(#136),#137,.T.); 148#139=ORIENTED_EDGE('',$,$,#52,.T.); 149#140=ORIENTED_EDGE('',$,$,#48,.F.); 150#141=ORIENTED_EDGE('',$,$,#64,.F.); 151#142=ORIENTED_EDGE('',$,$,#32,.F.); 152#143=EDGE_LOOP('',(#139,#140,#141,#142)); 153#144=DIRECTION('',(-1.0,0.0,0.0)); 154#145=DIRECTION('',(0.0,1.0,0.0)); 155#146=AXIS2_PLACEMENT_3D('',#1,#144,#145); 156#147=FACE_OUTER_BOUND('',#143,.T.); 157#148=PLANE('',#146); 158#149=ADVANCED_FACE('',(#147),#148,.T.); 159#150=ORIENTED_EDGE('',$,$,#24,.T.); 160#151=ORIENTED_EDGE('',$,$,#60,.T.); 161#152=ORIENTED_EDGE('',$,$,#40,.F.); 162#153=ORIENTED_EDGE('',$,$,#56,.F.); 163#154=EDGE_LOOP('',(#150,#151,#152,#153)); 164#155=DIRECTION('',(1.0,0.0,0.0)); 165#156=DIRECTION('',(0.0,1.0,0.0)); 166#157=AXIS2_PLACEMENT_3D('',#2,#155,#156); 167#158=FACE_OUTER_BOUND('',#154,.T.); 168#159=PLANE('',#157); 169#160=ADVANCED_FACE('',(#158),#159,.T.); 170#161=CLOSED_SHELL('',(#75,#116,#127,#138,#149,#160)); 171#162=MANIFOLD_SOLID_BREP('',#161); 172#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 173#9051=PRODUCT('Tfa153','Tfa153','',(#9050)); 174#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 175#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 176#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 177#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 178#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 179#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 180#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 181#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 182#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 183#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#162),#9060); 184#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 185ENDSEC; 186END-ISO-10303-21;