step-examples/12-3c-faces/Tfa207.stp
Sources
- synthesized — no external source cited
Description
TOROIDAL_SURFACE face with an outer equatorial loop plus two inner wires (one seam-crossing) loads intact; orientation repair's PeriodicBoundingBoxShift is never invoked on an ordinary read
Reproducer recipe
Expected kernel behavior
Accept: an outer wire that is a complete periodic equatorial circle on a torus (major radius 3.0, minor radius 1.0), plus two independent inner rectangular wires — one well inside the u-period and one straddling the u=0/2pi seam — is ordinary, valid multi-wire topology on a periodic surface; the seam-straddling inner wire is still geometrically contained within the outer wire once the surface's own periodicity is accounted for, so all four wires must load into the one face exactly as declared (1 face / 13 edges / 4 wires) with no periodic-shift-based containment rejection.
Notes
Corrected 2026-07-17 (truth-in-labeling audit, Q14 second half): retitled/redescribed — original claimed periodic bounding-box-shift handling "applies AdjustByPeriod() shifts to prevent false non-containment when wires wrap across the u/v closure boundary"; that method is never invoked on an ordinary read, and the file loads exactly as its own Expected-validation line already stated. 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: "seam-crossing inner wire on torus loads without periodic bounding-box adjustment".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(22) 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.0edge[0].curve_type == "circle"edge[0].analytic.radius == 4.0
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa207: CLOSED_SHELL: single ADVANCED_FACE on TOROIDAL_SURFACE; major_radius=3.0, minor_radius=1.0; outer wire: u-equator circle (full revolution at v=0); inner wire 1: small rectangle near u=pi/4 (well inside u-period); inner wire 2: small rectangle straddling u=0/2pi seam boundary; FixOrientation PeriodicBoundingBoxShift lines 1295-1310: AdjustByPeriod() shifts seam-straddling wire bbox into outer-wire range; without periodic shift: wire 2 bbox outside outer wire â false non-containment; defect IS on live traversal path; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Tfa207'),'2;1'); 5FILE_NAME('Tfa207.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,0.0,0.0)); 18#9=DIRECTION('',(0.0,0.0,1.0)); 19#10=DIRECTION('',(1.0,0.0,0.0)); 20#11=AXIS2_PLACEMENT_3D('',#8,#9,#10); 21#12=CIRCLE('',#11,4.0); 22#13=EDGE_CURVE('',#7,#7,#12,.T.); 23#14=ORIENTED_EDGE('',$,$,#13,.T.); 24#15=EDGE_LOOP('',(#14)); 25#16=FACE_OUTER_BOUND('',#15,.T.); 26#17=CARTESIAN_POINT('',(2.92183590083,2.38897720895,0.632981306677)); 27#18=VERTEX_POINT('',#17); 28#19=CARTESIAN_POINT('',(2.38897720895,2.92183590083,0.632981306677)); 29#20=VERTEX_POINT('',#19); 30#21=CARTESIAN_POINT('',(2.29960925463,2.81253452435,0.774167078477)); 31#22=VERTEX_POINT('',#21); 32#23=CARTESIAN_POINT('',(2.81253452435,2.29960925463,0.774167078477)); 33#24=VERTEX_POINT('',#23); 34#25=DIRECTION('',(-0.707106781187,0.707106781187,0.0)); 35#26=CARTESIAN_POINT('',(2.92183590083,2.38897720895,0.632981306677)); 36#27=VECTOR('',#25,0.753575988881); 37#28=LINE('',#26,#27); 38#29=EDGE_CURVE('',#18,#20,#28,.T.); 39#30=DIRECTION('',(-0.447585374316,-0.547418790962,0.707106781187)); 40#31=CARTESIAN_POINT('',(2.38897720895,2.92183590083,0.632981306677)); 41#32=VECTOR('',#30,0.199666833294); 42#33=LINE('',#31,#32); 43#34=EDGE_CURVE('',#20,#22,#33,.T.); 44#35=DIRECTION('',(0.707106781187,-0.707106781187,0.0)); 45#36=CARTESIAN_POINT('',(2.29960925463,2.81253452435,0.774167078477)); 46#37=VECTOR('',#35,0.725385872919); 47#38=LINE('',#36,#37); 48#39=EDGE_CURVE('',#22,#24,#38,.T.); 49#40=DIRECTION('',(0.547418790962,0.447585374316,-0.707106781187)); 50#41=CARTESIAN_POINT('',(2.81253452435,2.29960925463,0.774167078477)); 51#42=VECTOR('',#40,0.199666833294); 52#43=LINE('',#41,#42); 53#44=EDGE_CURVE('',#24,#18,#43,.T.); 54#45=ORIENTED_EDGE('',$,$,#29,.T.); 55#46=ORIENTED_EDGE('',$,$,#34,.T.); 56#47=ORIENTED_EDGE('',$,$,#39,.T.); 57#48=ORIENTED_EDGE('',$,$,#44,.T.); 58#49=EDGE_LOOP('',(#45,#46,#47,#48)); 59#50=FACE_BOUND('',#49,.F.); 60#51=CARTESIAN_POINT('',(3.97504578475,-0.398834915338,0.0998334166468)); 61#52=VERTEX_POINT('',#51); 62#53=CARTESIAN_POINT('',(3.97504578475,0.398834915338,0.0998334166468)); 63#54=VERTEX_POINT('',#53); 64#55=CARTESIAN_POINT('',(3.96018282304,0.397343644948,0.198669330795)); 65#56=VERTEX_POINT('',#55); 66#57=CARTESIAN_POINT('',(3.96018282304,-0.397343644948,0.198669330795)); 67#58=VERTEX_POINT('',#57); 68#59=DIRECTION('',(0.0,1.0,0.0)); 69#60=CARTESIAN_POINT('',(3.97504578475,-0.398834915338,0.0998334166468)); 70#61=VECTOR('',#59,0.797669830676); 71#62=LINE('',#60,#61); 72#63=EDGE_CURVE('',#52,#54,#62,.T.); 73#64=DIRECTION('',(-0.148691564263,-0.0149189193422,0.988771077936)); 74#65=CARTESIAN_POINT('',(3.97504578475,0.398834915338,0.0998334166468)); 75#66=VECTOR('',#64,0.0999583385414); 76#67=LINE('',#65,#66); 77#68=EDGE_CURVE('',#54,#56,#67,.T.); 78#69=DIRECTION('',(0.0,-1.0,0.0)); 79#70=CARTESIAN_POINT('',(3.96018282304,0.397343644948,0.198669330795)); 80#71=VECTOR('',#69,0.794687289895); 81#72=LINE('',#70,#71); 82#73=EDGE_CURVE('',#56,#58,#72,.T.); 83#74=DIRECTION('',(0.148691564263,-0.0149189193422,-0.988771077936)); 84#75=CARTESIAN_POINT('',(3.96018282304,-0.397343644948,0.198669330795)); 85#76=VECTOR('',#74,0.0999583385414); 86#77=LINE('',#75,#76); 87#78=EDGE_CURVE('',#58,#52,#77,.T.); 88#79=ORIENTED_EDGE('',$,$,#63,.T.); 89#80=ORIENTED_EDGE('',$,$,#68,.T.); 90#81=ORIENTED_EDGE('',$,$,#73,.T.); 91#82=ORIENTED_EDGE('',$,$,#78,.T.); 92#83=EDGE_LOOP('',(#79,#80,#81,#82)); 93#84=FACE_BOUND('',#83,.F.); 94#85=ADVANCED_FACE('',(#16,#50,#84),#5,.T.); 95#86=CLOSED_SHELL('',(#85)); 96#87=MANIFOLD_SOLID_BREP('',#86); 97#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 98#9051=PRODUCT('Tfa207','Tfa207','',(#9050)); 99#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 100#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 101#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 102#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 103#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 104#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 105#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 106#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 107#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 108#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#87),#9060); 109#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 110ENDSEC; 111END-ISO-10303-21;