step-examples/12-3c-faces/Tfa117.stp
Sources
- synthesized — no external source cited
Description
A zero-length EDGE_CURVE in one face's wire causes the reader to drop that face's ENTIRE boundary (unbounded-surface fallback), not just the bad edge
Reproducer recipe
Expected kernel behavior
Reject with a diagnostic naming the zero-length EDGE_CURVE in face[0]'s wire: a LINE-based edge with a 0.0-magnitude VECTOR between two distinct vertices is degenerate and must be detected before building the face, and a correct kernel must either drop just that one edge and stitch the remaining 5 legitimate edges into a valid wire, or reject the whole bound with a diagnostic — silently discarding the entire wire down to 0 edges (leaving an unbounded-surface face) is not acceptable, since it removes 5 perfectly good edges along with the one bad one; the untouched companion face[1] must keep all 4 of its edges regardless.
Notes
Corrected 2026-07-16 (truth-in-labeling audit): retitled/redescribed — original claimed splitting-vertices checking "cannot classify" a T-vertex at the degenerate edge; that checker is never reached because the reader drops the whole face boundary before any splitting-vertex analysis could occur. Per-face oracle probe confirms `face[0].n_edges == 0`. **See also**: Tfa098, Tfa252 (same unbounded-surface fallback pattern). Synonyms: "zero-length edge drops entire face boundary", "degenerate edge causes whole-wire failure not partial skip".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(10) ifc=schema_n/a
Tier-3 assertions
n_faces_total == 2
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa117: OPEN_SHELL: two planar ADVANCED_FACE entities; face[0] at z=0 has degenerate zero-length edge at vertex (1,0,0) breaking the bottom edge of the 2Ã1 rectangle; face[1] at z=1 is a normal 2Ã1 rectangle with vertex at (1,0,1); ShapeAnalysis_CheckSmallFace::CheckSplittingVertices cannot classify the T-vertex at (1,0,0) because the zero-length edge has no meaningful parameter domain for midpoint detection; defect IS on live OPEN_SHELL traversal path */ 3HEADER; 4FILE_DESCRIPTION(('Tfa117'),'2;1'); 5FILE_NAME('Tfa117.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('',(0.0,0.0,0.0)); 11#2=CARTESIAN_POINT('',(1.0,0.0,0.0)); 12#3=CARTESIAN_POINT('',(1.0,0.0,0.0)); 13#4=CARTESIAN_POINT('',(2.0,0.0,0.0)); 14#5=CARTESIAN_POINT('',(2.0,1.0,0.0)); 15#6=CARTESIAN_POINT('',(0.0,1.0,0.0)); 16#7=VERTEX_POINT('',#1); 17#8=VERTEX_POINT('',#2); 18#9=VERTEX_POINT('',#3); 19#10=VERTEX_POINT('',#4); 20#11=VERTEX_POINT('',#5); 21#12=VERTEX_POINT('',#6); 22#13=DIRECTION('',(1.0,0.0,0.0)); 23#14=VECTOR('',#13,0.0); 24#15=LINE('',#2,#14); 25#16=EDGE_CURVE('',#8,#9,#15,.T.); 26#17=DIRECTION('',(1.0,0.0,0.0)); 27#18=VECTOR('',#17,1.0); 28#19=LINE('',#1,#18); 29#20=EDGE_CURVE('',#7,#8,#19,.T.); 30#21=DIRECTION('',(1.0,0.0,0.0)); 31#22=VECTOR('',#21,1.0); 32#23=LINE('',#3,#22); 33#24=EDGE_CURVE('',#9,#10,#23,.T.); 34#25=DIRECTION('',(0.0,1.0,0.0)); 35#26=VECTOR('',#25,1.0); 36#27=LINE('',#4,#26); 37#28=EDGE_CURVE('',#10,#11,#27,.T.); 38#29=DIRECTION('',(-1.0,0.0,0.0)); 39#30=VECTOR('',#29,2.0); 40#31=LINE('',#5,#30); 41#32=EDGE_CURVE('',#11,#12,#31,.T.); 42#33=DIRECTION('',(0.0,-1.0,0.0)); 43#34=VECTOR('',#33,1.0); 44#35=LINE('',#6,#34); 45#36=EDGE_CURVE('',#12,#7,#35,.T.); 46#37=ORIENTED_EDGE('',$,$,#20,.T.); 47#38=ORIENTED_EDGE('',$,$,#16,.T.); 48#39=ORIENTED_EDGE('',$,$,#24,.T.); 49#40=ORIENTED_EDGE('',$,$,#28,.T.); 50#41=ORIENTED_EDGE('',$,$,#32,.T.); 51#42=ORIENTED_EDGE('',$,$,#36,.T.); 52#43=EDGE_LOOP('',(#37,#38,#39,#40,#41,#42)); 53#44=DIRECTION('',(0.0,0.0,-1.0)); 54#45=DIRECTION('',(1.0,0.0,0.0)); 55#46=AXIS2_PLACEMENT_3D('',#1,#44,#45); 56#47=FACE_OUTER_BOUND('',#43,.T.); 57#48=PLANE('',#46); 58#49=ADVANCED_FACE('',(#47),#48,.T.); 59#50=CARTESIAN_POINT('',(0.0,0.0,1.0)); 60#51=CARTESIAN_POINT('',(2.0,0.0,1.0)); 61#52=CARTESIAN_POINT('',(2.0,1.0,1.0)); 62#53=CARTESIAN_POINT('',(0.0,1.0,1.0)); 63#54=VERTEX_POINT('',#50); 64#55=VERTEX_POINT('',#51); 65#56=VERTEX_POINT('',#52); 66#57=VERTEX_POINT('',#53); 67#58=DIRECTION('',(1.0,0.0,0.0)); 68#59=VECTOR('',#58,2.0); 69#60=LINE('',#50,#59); 70#61=EDGE_CURVE('',#54,#55,#60,.T.); 71#62=DIRECTION('',(0.0,1.0,0.0)); 72#63=VECTOR('',#62,1.0); 73#64=LINE('',#51,#63); 74#65=EDGE_CURVE('',#55,#56,#64,.T.); 75#66=DIRECTION('',(-1.0,0.0,0.0)); 76#67=VECTOR('',#66,2.0); 77#68=LINE('',#52,#67); 78#69=EDGE_CURVE('',#56,#57,#68,.T.); 79#70=DIRECTION('',(0.0,-1.0,0.0)); 80#71=VECTOR('',#70,1.0); 81#72=LINE('',#53,#71); 82#73=EDGE_CURVE('',#57,#54,#72,.T.); 83#74=ORIENTED_EDGE('',$,$,#61,.T.); 84#75=ORIENTED_EDGE('',$,$,#65,.T.); 85#76=ORIENTED_EDGE('',$,$,#69,.T.); 86#77=ORIENTED_EDGE('',$,$,#73,.T.); 87#78=EDGE_LOOP('',(#74,#75,#76,#77)); 88#79=DIRECTION('',(0.0,0.0,1.0)); 89#80=DIRECTION('',(1.0,0.0,0.0)); 90#81=AXIS2_PLACEMENT_3D('',#50,#79,#80); 91#82=FACE_OUTER_BOUND('',#78,.T.); 92#83=PLANE('',#81); 93#84=ADVANCED_FACE('',(#82),#83,.T.); 94#85=OPEN_SHELL('',(#49,#84)); 95#86=SHELL_BASED_SURFACE_MODEL('',(#85)); 96#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 97#9051=PRODUCT('Tfa117','Tfa117','',(#9050)); 98#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 99#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 100#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 101#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 102#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 103#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 104#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 105#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 106#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 107#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#86),#9060); 108#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 109ENDSEC; 110END-ISO-10303-21;