step-examples/12-3c-faces/Tfa074.stp
Sources
- synthesized — no external source cited
Description
Face whose wire reuses the SAME edge twice at forward orientation (zero-area) loads intact alongside a companion plane; coincident-edge wire merging is never invoked on an ordinary read
Reproducer recipe
Expected kernel behavior
Accept: a wire that references the same EDGE_CURVE twice, both at forward orientation, is a legal (if degenerate, zero-area) 2-edge loop, so a read must load it exactly as encoded rather than collapsing the repeated edge into a single-edge wire; the companion 10x10 plane must load unchanged, keeping n_faces_total == 2.
Notes
Corrected 2026-07-17 (truth-in-labeling audit): retitled/redescribed — original claimed coincident-edge wire merging's orientation check fails to detect a same-orientation duplicate-edge pair; that method is never invoked on an ordinary read, and the degenerate wire loads exactly as encoded (both faces present, `n_faces_total == 2`). Part of the ~127-entry face-repair/small-face-check misnomer family — see `BACKLOG.md` Q14. Synonyms: "same edge reused twice in one wire loads intact", "zero-area doubled-edge wire never merged".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(5) ifc=schema_n/a
Tier-3 assertions
n_faces_total == 2
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa074: CLOSED_SHELL with two faces; face[0]: PLANE at z=0, 2-edge wire using same EDGE_CURVE E twice with .T. (FORWARD); E runs V_left=(0,0,0)âV_right=(10,0,0); wire is [E .T., E .T.] â coincident same-orient loop; FixWiresTwoCoincEdges: orientation check at line 2876 fails to detect matching .T./.T. pair; merge should produce single 1-edge closed wire but is skipped; face[1]: valid 10Ã10 PLANE at z=1 â ensures OCC loads shape(1); OCC heals both faces â n_faces_total == 2; defect IS on live CLOSED_SHELL traversal path */ 3HEADER; 4FILE_DESCRIPTION(('Tfa074'),'2;1'); 5FILE_NAME('Tfa074.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('',(10.0,0.0,0.0)); 12#3=VERTEX_POINT('',#1); 13#4=VERTEX_POINT('',#2); 14#5=DIRECTION('',(1.0,0.0,0.0)); 15#6=VECTOR('',#5,10.0); 16#7=LINE('',#1,#6); 17#8=EDGE_CURVE('',#3,#4,#7,.T.); 18#9=ORIENTED_EDGE('',$,$,#8,.T.); 19#10=ORIENTED_EDGE('',$,$,#8,.T.); 20#11=EDGE_LOOP('',(#9,#10)); 21#12=CARTESIAN_POINT('',(0.0,0.0,0.0)); 22#13=DIRECTION('',(0.0,0.0,-1.0)); 23#14=DIRECTION('',(1.0,0.0,0.0)); 24#15=AXIS2_PLACEMENT_3D('',#12,#13,#14); 25#16=FACE_OUTER_BOUND('',#11,.T.); 26#17=PLANE('',#15); 27#18=ADVANCED_FACE('',(#16),#17,.T.); 28#19=CARTESIAN_POINT('',(0.0,0.0,1.0)); 29#20=CARTESIAN_POINT('',(10.0,0.0,1.0)); 30#21=CARTESIAN_POINT('',(10.0,10.0,1.0)); 31#22=CARTESIAN_POINT('',(0.0,10.0,1.0)); 32#23=VERTEX_POINT('',#19); 33#24=VERTEX_POINT('',#20); 34#25=VERTEX_POINT('',#21); 35#26=VERTEX_POINT('',#22); 36#27=DIRECTION('',(1.0,0.0,0.0)); 37#28=VECTOR('',#27,10.0); 38#29=LINE('',#19,#28); 39#30=EDGE_CURVE('',#23,#24,#29,.T.); 40#31=DIRECTION('',(0.0,1.0,0.0)); 41#32=VECTOR('',#31,10.0); 42#33=LINE('',#20,#32); 43#34=EDGE_CURVE('',#24,#25,#33,.T.); 44#35=DIRECTION('',(-1.0,0.0,0.0)); 45#36=VECTOR('',#35,10.0); 46#37=LINE('',#21,#36); 47#38=EDGE_CURVE('',#25,#26,#37,.T.); 48#39=DIRECTION('',(0.0,-1.0,0.0)); 49#40=VECTOR('',#39,10.0); 50#41=LINE('',#22,#40); 51#42=EDGE_CURVE('',#26,#23,#41,.T.); 52#43=ORIENTED_EDGE('',$,$,#30,.T.); 53#44=ORIENTED_EDGE('',$,$,#34,.T.); 54#45=ORIENTED_EDGE('',$,$,#38,.T.); 55#46=ORIENTED_EDGE('',$,$,#42,.T.); 56#47=EDGE_LOOP('',(#43,#44,#45,#46)); 57#48=CARTESIAN_POINT('',(0.0,0.0,1.0)); 58#49=DIRECTION('',(0.0,0.0,1.0)); 59#50=DIRECTION('',(1.0,0.0,0.0)); 60#51=AXIS2_PLACEMENT_3D('',#48,#49,#50); 61#52=FACE_OUTER_BOUND('',#47,.T.); 62#53=PLANE('',#51); 63#54=ADVANCED_FACE('',(#52),#53,.T.); 64#55=CLOSED_SHELL('',(#18,#54)); 65#56=MANIFOLD_SOLID_BREP('',#55); 66#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 67#9051=PRODUCT('Tfa074','Tfa074','',(#9050)); 68#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 69#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 70#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 71#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 72#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 73#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 74#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 75#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 76#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 77#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#56),#9060); 78#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 79ENDSEC; 80END-ISO-10303-21;