step-examples/12-3c-faces/Tfa243.stp
Sources
- synthesized — no external source cited
Description
TOROIDAL_SURFACE ADVANCED_FACE with a non-nested outer+inner bound pair (diagonally opposite parameter regions) is silently SPLIT into two separate torus faces — orientation repair is never invoked
Reproducer recipe
Expected kernel behavior
Reject with a diagnostic naming the ADVANCED_FACE #74 whose declared inner FACE_BOUND sits at parameter coordinates diagonally opposite its own outer bound (u≈0.2,v≈0.2 vs the far corner of the torus's parameter space) rather than nested inside it: before building the face, verify that a declared inner bound is actually geometrically contained within its outer bound, and reject the face with the diagnostic when it is not — never silently promote the un-nestable inner wire into its own independent face, which is what happens here (1 declared face becomes 2 actual torus faces, 3 faces total in the shape, where the file declares only 2 ADVANCED_FACE entities).
Notes
Corrected 2026-07-17 (truth-in-labeling audit, Q14 second half): retitled/redescribed — original claimed orientation repair needs a diagonal (u AND v) periodic shift to correctly classify containment between diagonally-opposite wire boxes; live-oracle shows the real, more consequential behavior: the reader gives up on establishing containment and silently promotes the un-nestable inner wire into its own independent face (1 declared face → 2 actual torus faces, 3 faces total in the shape). Compare Tfa186 (same silent split-into-independent-faces pattern, there from a missing `FACE_OUTER_BOUND` rather than a non-nested bound pair). 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. Synonyms: "non-nested torus bound pair silently split", "diagonal wire placement inflates face count".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(27) ifc=schema_n/a
Tier-3 assertions
load == "ok"face[1].surface_type == "torus"face[1].quadric.major_radius == 5.0face[1].quadric.minor_radius == 1.5face[2].surface_type == "torus"face[2].quadric.major_radius == 5.0face[2].quadric.minor_radius == 1.5
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa243: CLOSED_SHELL: face[0] TOROIDAL_SURFACE; two wires at diagonal corners; outer FACE_OUTER_BOUND: near (uâ0.2, vâ0.2); inner FACE_BOUND: near (uâ2Ï-0.2, vâÏ-0.2) â diagonally opposite; FixOrientation diagonal 2Ã2 shift: (±uRange=2Ï, ±vRange=Ï); single u-shift or v-shift alone fails to align boxes; full diagonal (Îu=+2Ï, Îv=+Ï) required for correct containment; face[1]: flat PLANE cap; defect IS on live traversal path; no orphans */ 3HEADER; 4FILE_DESCRIPTION(('Tfa243'),'2;1'); 5FILE_NAME('Tfa243.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,5.0,1.5); 15#6=CARTESIAN_POINT('',(6.49000442593,0.324770908839,0.074968753906)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(6.20789629655,1.92032735834,0.074968753906)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(6.14568415681,1.90108288835,0.443280309992)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(6.42496515289,0.321516232504,0.443280309992)); 22#13=VERTEX_POINT('',#12); 23#14=DIRECTION('',(-0.174108137594,0.984726538905,0.0)); 24#15=CARTESIAN_POINT('',(6.49000442593,0.324770908839,0.074968753906)); 25#16=VECTOR('',#14,1.62030410115); 26#17=LINE('',#15,#16); 27#18=EDGE_CURVE('',#7,#9,#17,.T.); 28#19=DIRECTION('',(-0.166331856897,-0.0514524728031,0.984726538905)); 29#20=CARTESIAN_POINT('',(6.20789629655,1.92032735834,0.074968753906)); 30#21=VECTOR('',#19,0.374024200156); 31#22=LINE('',#20,#21); 32#23=EDGE_CURVE('',#9,#11,#22,.T.); 33#24=DIRECTION('',(0.174108137594,-0.984726538905,0.0)); 34#25=CARTESIAN_POINT('',(6.14568415681,1.90108288835,0.443280309992)); 35#26=VECTOR('',#24,1.60406630008); 36#27=LINE('',#25,#26); 37#28=EDGE_CURVE('',#11,#13,#27,.T.); 38#29=DIRECTION('',(0.173890547758,0.00870178008019,-0.984726538905)); 39#30=CARTESIAN_POINT('',(6.42496515289,0.321516232504,0.443280309992)); 40#31=VECTOR('',#29,0.374024200156); 41#32=LINE('',#30,#31); 42#33=EDGE_CURVE('',#13,#7,#32,.T.); 43#34=ORIENTED_EDGE('',$,$,#18,.T.); 44#35=ORIENTED_EDGE('',$,$,#23,.T.); 45#36=ORIENTED_EDGE('',$,$,#28,.T.); 46#37=ORIENTED_EDGE('',$,$,#33,.T.); 47#38=EDGE_LOOP('',(#34,#35,#36,#37)); 48#39=FACE_OUTER_BOUND('',#38,.T.); 49#40=CARTESIAN_POINT('',(3.40768073445,-1.05411917826,0.443280309992)); 50#41=VERTEX_POINT('',#40); 51#42=CARTESIAN_POINT('',(3.56253745106,-0.178275460203,0.443280309992)); 52#43=VERTEX_POINT('',#42); 53#44=CARTESIAN_POINT('',(3.49749817802,-0.175020783868,0.074968753906)); 54#45=VERTEX_POINT('',#44); 55#46=CARTESIAN_POINT('',(3.34546859471,-1.03487470827,0.074968753906)); 56#47=VERTEX_POINT('',#46); 57#48=DIRECTION('',(0.174108137594,0.984726538905,0.0)); 58#49=CARTESIAN_POINT('',(3.40768073445,-1.05411917826,0.443280309992)); 59#50=VECTOR('',#48,0.889428367628); 60#51=LINE('',#49,#50); 61#52=EDGE_CURVE('',#41,#43,#51,.T.); 62#53=DIRECTION('',(-0.173890547758,0.00870178008019,-0.984726538905)); 63#54=CARTESIAN_POINT('',(3.56253745106,-0.178275460203,0.443280309992)); 64#55=VECTOR('',#53,0.374024200156); 65#56=LINE('',#54,#55); 66#57=EDGE_CURVE('',#43,#45,#56,.T.); 67#58=DIRECTION('',(-0.174108137594,-0.984726538905,0.0)); 68#59=CARTESIAN_POINT('',(3.49749817802,-0.175020783868,0.074968753906)); 69#60=VECTOR('',#58,0.873190566553); 70#61=LINE('',#59,#60); 71#62=EDGE_CURVE('',#45,#47,#61,.T.); 72#63=DIRECTION('',(0.166331856897,-0.0514524728031,0.984726538905)); 73#64=CARTESIAN_POINT('',(3.34546859471,-1.03487470827,0.074968753906)); 74#65=VECTOR('',#63,0.374024200156); 75#66=LINE('',#64,#65); 76#67=EDGE_CURVE('',#47,#41,#66,.T.); 77#68=ORIENTED_EDGE('',$,$,#52,.T.); 78#69=ORIENTED_EDGE('',$,$,#57,.T.); 79#70=ORIENTED_EDGE('',$,$,#62,.T.); 80#71=ORIENTED_EDGE('',$,$,#67,.T.); 81#72=EDGE_LOOP('',(#68,#69,#70,#71)); 82#73=FACE_BOUND('',#72,.F.); 83#74=ADVANCED_FACE('',(#39,#73),#5,.T.); 84#75=CARTESIAN_POINT('',(0.0,0.0,-5.0)); 85#76=CARTESIAN_POINT('',(1.0,0.0,-5.0)); 86#77=CARTESIAN_POINT('',(1.0,1.0,-5.0)); 87#78=CARTESIAN_POINT('',(0.0,1.0,-5.0)); 88#79=VERTEX_POINT('',#75); 89#80=VERTEX_POINT('',#76); 90#81=VERTEX_POINT('',#77); 91#82=VERTEX_POINT('',#78); 92#83=DIRECTION('',(1.0,0.0,0.0)); 93#84=VECTOR('',#83,1.0); 94#85=LINE('',#75,#84); 95#86=EDGE_CURVE('',#79,#80,#85,.T.); 96#87=DIRECTION('',(0.0,1.0,0.0)); 97#88=VECTOR('',#87,1.0); 98#89=LINE('',#76,#88); 99#90=EDGE_CURVE('',#80,#81,#89,.T.); 100#91=DIRECTION('',(-1.0,0.0,0.0)); 101#92=VECTOR('',#91,1.0); 102#93=LINE('',#77,#92); 103#94=EDGE_CURVE('',#81,#82,#93,.T.); 104#95=DIRECTION('',(0.0,-1.0,0.0)); 105#96=VECTOR('',#95,1.0); 106#97=LINE('',#78,#96); 107#98=EDGE_CURVE('',#82,#79,#97,.T.); 108#99=ORIENTED_EDGE('',$,$,#86,.T.); 109#100=ORIENTED_EDGE('',$,$,#90,.T.); 110#101=ORIENTED_EDGE('',$,$,#94,.T.); 111#102=ORIENTED_EDGE('',$,$,#98,.T.); 112#103=EDGE_LOOP('',(#99,#100,#101,#102)); 113#104=DIRECTION('',(0.0,0.0,-1.0)); 114#105=DIRECTION('',(1.0,0.0,0.0)); 115#106=AXIS2_PLACEMENT_3D('',#75,#104,#105); 116#107=FACE_OUTER_BOUND('',#103,.T.); 117#108=PLANE('',#106); 118#109=ADVANCED_FACE('',(#107),#108,.T.); 119#110=CLOSED_SHELL('',(#74,#109)); 120#111=MANIFOLD_SOLID_BREP('',#110); 121#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 122#9051=PRODUCT('Tfa243','Tfa243','',(#9050)); 123#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 124#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 125#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 126#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 127#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 128#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 129#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 130#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 131#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 132#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#111),#9060); 133#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 134ENDSEC; 135END-ISO-10303-21;