step-examples/12-3c-faces/Tfa244.stp
Sources
- synthesized — no external source cited
Description
A 6-edge EDGE_LOOP ('the chain-merge ambiguity construct') is declared but never referenced by any FACE_BOUND — the live face uses a different, directly-authored wire that reuses 3 of its edges, producing a topologically INVALID (BRepCheck-failing) cylinder face — FixLoopWire is never invoked
Reproducer recipe
Expected kernel behavior
Reject with a diagnostic naming both the dead EDGE_LOOP #52 (6 edges, declared but never referenced by any FACE_BOUND) and the live 5-edge EDGE_LOOP #70 that reuses 3 of its EDGE_CURVE entities (#20, #25, #40): a file that declares an unreferenced loop built from edges that a different, live wire partially reuses is ambiguous authoring and should be rejected outright; failing that, the live wire #70 must itself be checked for valid topology before the face is accepted — a reader must never silently accept the reused-edge wire and report a nominally successful load (as observed here: 2 faces / 9 edges, shape(1)) when the resulting cylinder face actually fails its own topology check.
Notes
Corrected 2026-07-17 (truth-in-labeling audit, Q14 second half): retitled/redescribed — original claimed loop-wire repair's greedy chain-pair-merge logic picks the wrong pair among three edge chains; the wire that would demonstrate that ambiguity (`#52`) is dead/unreferenced and never reaches any code at all. The live face instead uses an entirely different, directly-authored wire, and its verified real defect is that this wire's edge reuse produces topologically INVALID output, silently accepted. Also fixes a literal `em-dash` text-corruption artifact left in the original title/body by a prior markdown-conversion bug. This entry is part of a 5-fixture torus family (Tfa241–Tfa245, all sharing an `em-dash`-garbled title from a prior markdown-conversion mishap, now fixed) built around periodic-surface wire/bound placement; each was independently live-oracle-verified — the family does NOT behave uniformly (see siblings' Notes for the differing outcomes). Part of the ~127-entry face-repair/small-face-check misnomer family identified in the truth-in-labeling audit — see `BACKLOG.md` Q14 for the full list and remediation approach. **See also**: Gn002/Gn007/Gn008/P014/P022 (orphaned-defect-carrier precedents in this corpus). Synonyms: "dead EDGE_LOOP never referenced, live wire reuses its edges", "reused-edge cylinder wire produces invalid topology".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(20) ifc=schema_n/a
Tier-3 assertions
load == "ok"face[1].surface_type == "cylinder"face[1].quadric.radius == 2.0
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa244: CLOSED_SHELL: face[0] CYLINDRICAL_SURFACE with three edge chains; chains[0,1] share both endpoints (common-vertex pair); FixLoopWire FLW-007: greedy merge of chains[0]+[1] before chain[2]; chain[2] processed alone via single-wire fallback; defect: greedy strategy merges wrong pair if [0]+[2] or [1]+[2] is correct; face[1]: flat PLANE cap; defect IS on live traversal path; no orphans */ 3HEADER; 4FILE_DESCRIPTION(('Tfa244'),'2;1'); 5FILE_NAME('Tfa244.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=DIRECTION('',(0.0,0.0,1.0)); 12#3=DIRECTION('',(1.0,0.0,0.0)); 13#4=AXIS2_PLACEMENT_3D('',#1,#2,#3); 14#5=CYLINDRICAL_SURFACE('',#4,2.0); 15#6=CARTESIAN_POINT('',(2.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(0.0,2.0,1.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(-2.0,0.0,0.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(0.0,-2.0,1.0)); 22#13=VERTEX_POINT('',#12); 23#14=CARTESIAN_POINT('',(-2.0,0.0,3.0)); 24#15=VERTEX_POINT('',#14); 25#16=DIRECTION('',(-0.666666666667,0.666666666667,0.333333333333)); 26#17=CARTESIAN_POINT('',(2.0,0.0,0.0)); 27#18=VECTOR('',#16,3.0); 28#19=LINE('',#17,#18); 29#20=EDGE_CURVE('',#7,#9,#19,.T.); 30#21=DIRECTION('',(-0.666666666667,-0.666666666667,-0.333333333333)); 31#22=CARTESIAN_POINT('',(0.0,2.0,1.0)); 32#23=VECTOR('',#21,3.0); 33#24=LINE('',#22,#23); 34#25=EDGE_CURVE('',#9,#11,#24,.T.); 35#26=DIRECTION('',(-0.666666666667,-0.666666666667,0.333333333333)); 36#27=CARTESIAN_POINT('',(2.0,0.0,0.0)); 37#28=VECTOR('',#26,3.0); 38#29=LINE('',#27,#28); 39#30=EDGE_CURVE('',#7,#13,#29,.T.); 40#31=DIRECTION('',(-0.666666666667,0.666666666667,-0.333333333333)); 41#32=CARTESIAN_POINT('',(0.0,-2.0,1.0)); 42#33=VECTOR('',#31,3.0); 43#34=LINE('',#32,#33); 44#35=EDGE_CURVE('',#13,#11,#34,.T.); 45#36=DIRECTION('',(0.0,0.0,1.0)); 46#37=CARTESIAN_POINT('',(-2.0,0.0,0.0)); 47#38=VECTOR('',#36,3.0); 48#39=LINE('',#37,#38); 49#40=EDGE_CURVE('',#11,#15,#39,.T.); 50#41=DIRECTION('',(0.8,0.0,-0.6)); 51#42=CARTESIAN_POINT('',(-2.0,0.0,3.0)); 52#43=VECTOR('',#41,5.0); 53#44=LINE('',#42,#43); 54#45=EDGE_CURVE('',#15,#7,#44,.T.); 55#46=ORIENTED_EDGE('',$,$,#20,.T.); 56#47=ORIENTED_EDGE('',$,$,#25,.T.); 57#48=ORIENTED_EDGE('',$,$,#35,.F.); 58#49=ORIENTED_EDGE('',$,$,#30,.F.); 59#50=ORIENTED_EDGE('',$,$,#40,.T.); 60#51=ORIENTED_EDGE('',$,$,#45,.T.); 61#52=EDGE_LOOP('',(#46,#47,#48,#49,#50,#51)); 62#53=CARTESIAN_POINT('',(0.0,-2.0,3.0)); 63#54=VERTEX_POINT('',#53); 64#55=DIRECTION('',(0.707106781187,-0.707106781187,0.0)); 65#56=CARTESIAN_POINT('',(-2.0,0.0,3.0)); 66#57=VECTOR('',#55,2.82842712475); 67#58=LINE('',#56,#57); 68#59=EDGE_CURVE('',#15,#54,#58,.T.); 69#60=DIRECTION('',(0.485071250073,0.485071250073,-0.727606875109)); 70#61=CARTESIAN_POINT('',(0.0,-2.0,3.0)); 71#62=VECTOR('',#60,4.12310562562); 72#63=LINE('',#61,#62); 73#64=EDGE_CURVE('',#54,#7,#63,.T.); 74#65=ORIENTED_EDGE('',$,$,#20,.T.); 75#66=ORIENTED_EDGE('',$,$,#25,.T.); 76#67=ORIENTED_EDGE('',$,$,#40,.T.); 77#68=ORIENTED_EDGE('',$,$,#59,.T.); 78#69=ORIENTED_EDGE('',$,$,#64,.T.); 79#70=EDGE_LOOP('',(#65,#66,#67,#68,#69)); 80#71=FACE_OUTER_BOUND('',#70,.T.); 81#72=ADVANCED_FACE('',(#71),#5,.T.); 82#73=CARTESIAN_POINT('',(0.0,0.0,-2.0)); 83#74=CARTESIAN_POINT('',(1.0,0.0,-2.0)); 84#75=CARTESIAN_POINT('',(1.0,1.0,-2.0)); 85#76=CARTESIAN_POINT('',(0.0,1.0,-2.0)); 86#77=VERTEX_POINT('',#73); 87#78=VERTEX_POINT('',#74); 88#79=VERTEX_POINT('',#75); 89#80=VERTEX_POINT('',#76); 90#81=DIRECTION('',(1.0,0.0,0.0)); 91#82=VECTOR('',#81,1.0); 92#83=LINE('',#73,#82); 93#84=EDGE_CURVE('',#77,#78,#83,.T.); 94#85=DIRECTION('',(0.0,1.0,0.0)); 95#86=VECTOR('',#85,1.0); 96#87=LINE('',#74,#86); 97#88=EDGE_CURVE('',#78,#79,#87,.T.); 98#89=DIRECTION('',(-1.0,0.0,0.0)); 99#90=VECTOR('',#89,1.0); 100#91=LINE('',#75,#90); 101#92=EDGE_CURVE('',#79,#80,#91,.T.); 102#93=DIRECTION('',(0.0,-1.0,0.0)); 103#94=VECTOR('',#93,1.0); 104#95=LINE('',#76,#94); 105#96=EDGE_CURVE('',#80,#77,#95,.T.); 106#97=ORIENTED_EDGE('',$,$,#84,.T.); 107#98=ORIENTED_EDGE('',$,$,#88,.T.); 108#99=ORIENTED_EDGE('',$,$,#92,.T.); 109#100=ORIENTED_EDGE('',$,$,#96,.T.); 110#101=EDGE_LOOP('',(#97,#98,#99,#100)); 111#102=DIRECTION('',(0.0,0.0,-1.0)); 112#103=DIRECTION('',(1.0,0.0,0.0)); 113#104=AXIS2_PLACEMENT_3D('',#73,#102,#103); 114#105=FACE_OUTER_BOUND('',#101,.T.); 115#106=PLANE('',#104); 116#107=ADVANCED_FACE('',(#105),#106,.T.); 117#108=CLOSED_SHELL('',(#72,#107)); 118#109=MANIFOLD_SOLID_BREP('',#108); 119#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 120#9051=PRODUCT('Tfa244','Tfa244','',(#9050)); 121#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 122#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 123#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 124#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 125#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 126#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 127#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 128#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 129#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 130#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#109),#9060); 131#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 132ENDSEC; 133END-ISO-10303-21;