step-examples/12-3c-faces/Tfa215.stp
Sources
- synthesized — no external source cited
Description
A single TOROIDAL_SURFACE ADVANCED_FACE with a mixed-orientation (.T./.F.) 4-edge wire and a reversed FACE_OUTER_BOUND is silently SPLIT into three separate torus faces (8 edges from 4 declared) — missing-seam recovery is never invoked
Reproducer recipe
Expected kernel behavior
Reject with a diagnostic naming the ADVANCED_FACE #40 whose 4-edge EDGE_LOOP mixes edge orientations (edges 0,2 forward; edges 1,3 reversed) while its own FACE_OUTER_BOUND is separately marked reversed, and whose straight-line edges span chords across the torus (e.g. (4,0,0) to (0,4,0)) that do not lie on the toroidal surface between those points: detect this orientation-conflicted, non-conformant wire before building the face and reject it with the diagnostic — a reader must never silently turn one declared face into three separate topological faces (8 edges from 4 declared) as a side effect of trying to make sense of contradictory orientation flags.
Notes
Corrected 2026-07-17 (truth-in-labeling audit, Q14 second half): retitled/redescribed — original claimed missing-seam recovery applies orientation sign-flips to correctly rebuild the seam from mixed edge/bound orientation flags; that method is never invoked, and the real, verified outcome is a 1-declared-face → 3-actual-face split, the most severe face-count inflation found among this family's related toroidal fixtures (compare Tfa186, Tfa243 — same silent-split pattern, smaller magnitude). 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. Synonyms: "mixed-orientation torus wire splits into three faces", "reversed FACE_OUTER_BOUND silent face inflation".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(17) ifc=schema_n/a
Tier-3 assertions
load == "ok"face[0].surface_type == "torus"face[0].quadric.major_radius == 3.0face[0].quadric.minor_radius == 1.0face[1].surface_type == "torus"face[1].quadric.major_radius == 3.0face[1].quadric.minor_radius == 1.0face[2].surface_type == "torus"face[2].quadric.major_radius == 3.0face[2].quadric.minor_radius == 1.0
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa215: CLOSED_SHELL: single ADVANCED_FACE on TOROIDAL_SURFACE; major_radius=3.0, minor_radius=1.0; quad EDGE_LOOP with mixed orientations: edges 0,2 True; edges 1,3 False; FACE_OUTER_BOUND orientation=False (mismatch with winding); FixMissingSeam line 2013: orientation-correction-partial-closure path; detects orientation conflicts, applies sign flips, rebuilds seam; without correction: reversed normal on torus seam face; defect IS on live traversal path; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Tfa215'),'2;1'); 5FILE_NAME('Tfa215.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=TOROIDAL_SURFACE('',#4,3.0,1.0); 15#6=CARTESIAN_POINT('',(4.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(0.0,4.0,0.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(0.0,3.0,1.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(3.0,0.0,1.0)); 22#13=VERTEX_POINT('',#12); 23#14=DIRECTION('',(-0.707106781187,0.707106781187,0.0)); 24#15=CARTESIAN_POINT('',(4.0,0.0,0.0)); 25#16=VECTOR('',#14,5.65685424949); 26#17=LINE('',#15,#16); 27#18=EDGE_CURVE('',#7,#9,#17,.T.); 28#19=DIRECTION('',(0.0,-0.707106781187,0.707106781187)); 29#20=CARTESIAN_POINT('',(0.0,4.0,0.0)); 30#21=VECTOR('',#19,1.41421356237); 31#22=LINE('',#20,#21); 32#23=EDGE_CURVE('',#9,#11,#22,.T.); 33#24=DIRECTION('',(0.707106781187,-0.707106781187,0.0)); 34#25=CARTESIAN_POINT('',(0.0,3.0,1.0)); 35#26=VECTOR('',#24,4.24264068712); 36#27=LINE('',#25,#26); 37#28=EDGE_CURVE('',#11,#13,#27,.T.); 38#29=DIRECTION('',(0.707106781187,0.0,-0.707106781187)); 39#30=CARTESIAN_POINT('',(3.0,0.0,1.0)); 40#31=VECTOR('',#29,1.41421356237); 41#32=LINE('',#30,#31); 42#33=EDGE_CURVE('',#13,#7,#32,.T.); 43#34=ORIENTED_EDGE('',$,$,#18,.T.); 44#35=ORIENTED_EDGE('',$,$,#23,.F.); 45#36=ORIENTED_EDGE('',$,$,#28,.T.); 46#37=ORIENTED_EDGE('',$,$,#33,.F.); 47#38=EDGE_LOOP('',(#34,#35,#36,#37)); 48#39=FACE_OUTER_BOUND('',#38,.F.); 49#40=ADVANCED_FACE('',(#39),#5,.T.); 50#41=CLOSED_SHELL('',(#40)); 51#42=MANIFOLD_SOLID_BREP('',#41); 52#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 53#9051=PRODUCT('Tfa215','Tfa215','',(#9050)); 54#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 55#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 56#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 57#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 58#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 59#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 60#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 61#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 62#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 63#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#42),#9060); 64#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 65ENDSEC; 66END-ISO-10303-21;