Tfa242 — TOROIDAL_SURFACE face with wires wrapping across the u-seam loads as ONE topologically INVALID face (BRepCheck fails), silently accepted with no diagnostic; orientation repair is never invoked

§12.3c

silent-loss topology

Sources

Description

TOROIDAL_SURFACE face with wires wrapping across the u-seam loads as ONE topologically INVALID face (BRepCheck fails), silently accepted with no diagnostic; orientation repair is never invoked

Reproducer recipe

Expected kernel behavior

Reject with a diagnostic naming the TOROIDAL_SURFACE ADVANCED_FACE whose two wires sit at opposite ends of the surface's u≈0 seam: before accepting the face, check that both wires' parameter positions are reconciled across the surface's own periodicity, and either adjust the seam-crossing wire so the two wires form valid topology or reject the face with the diagnostic — a reader must never silently accept a face that fails its own topology check (as this one does here, loading as a nominally successful shape(1) with no diagnostic at all) just because the wire count and edge count look unremarkable.

Notes

Corrected 2026-07-17 (truth-in-labeling audit, Q14 second half): retitled/redescribed — original claimed orientation repair's `AdjustByPeriod()` shift logic is needed to avoid a false-disjoint bounding-box classification; that specific method is never invoked, but live-oracle DOES confirm a genuine, different real defect: the loaded face is topologically invalid per topology checking, silently accepted with no diagnostic. 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: "seam-wrapping torus wires produce invalid face", "silent BRepCheck-invalid torus face accepted".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(26) ifc=schema_n/a

Tier-3 assertions

Cross-references

Tfa241, Tfa245

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tfa242: CLOSED_SHELL: face[0] TOROIDAL_SURFACE with two seam-crossing wires; outer FACE_OUTER_BOUND: rect straddling u=2π seam (outer box u≈5.8-6.5); inner FACE_BOUND: rect near u=0 (inner box u≈0.1-0.3); ShapeFix_Face::FixOrientation: AdjustByPeriod() must shift inner box by uRange=2π to align with outer box before containment test; without shift boxes appear disjoint → false containment classification; face[1]: flat PLANE cap; defect IS on live traversal path; no orphans */
3HEADER;
4FILE_DESCRIPTION(('Tfa242'),'2;1');
5FILE_NAME('Tfa242.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('',(5.04117821032,-4.10323314617,0.0));
16#7=VERTEX_POINT('',#6);
17#8=CARTESIAN_POINT('',(6.45570197193,0.757569831528,0.0));
18#9=VERTEX_POINT('',#8);
19#10=CARTESIAN_POINT('',(6.19549092225,0.727034338731,0.846963710093));
20#11=VERTEX_POINT('',#10);
21#12=CARTESIAN_POINT('',(4.83798260442,-3.93784344747,0.846963710093));
22#13=VERTEX_POINT('',#12);
23#14=DIRECTION('',(0.279415498199,0.96017028665,0.0));
24#15=CARTESIAN_POINT('',(5.04117821032,-4.10323314617,0.0));
25#16=VECTOR('',#14,5.06243845001);
26#17=LINE('',#15,#16);
27#18=EDGE_CURVE('',#7,#9,#17,.T.);
28#19=DIRECTION('',(-0.293506212444,-0.0344426451036,0.955336489126));
29#20=CARTESIAN_POINT('',(6.45570197193,0.757569831528,0.0));
30#21=VECTOR('',#19,0.886560619984);
31#22=LINE('',#20,#21);
32#23=EDGE_CURVE('',#9,#11,#22,.T.);
33#24=DIRECTION('',(-0.279415498199,-0.96017028665,0.0));
34#25=CARTESIAN_POINT('',(6.19549092225,0.727034338731,0.846963710093));
35#26=VECTOR('',#24,4.85838590411);
36#27=LINE('',#25,#26);
37#28=EDGE_CURVE('',#11,#13,#27,.T.);
38#29=DIRECTION('',(0.229195388697,-0.186552047282,-0.955336489126));
39#30=CARTESIAN_POINT('',(4.83798260442,-3.93784344747,0.846963710093));
40#31=VECTOR('',#29,0.886560619984);
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('',(6.46767251851,0.32365338204,0.268544360139));
50#41=VERTEX_POINT('',#40);
51#42=CARTESIAN_POINT('',(6.274449671,1.6021300336,0.268544360139));
52#43=VERTEX_POINT('',#42);
53#44=CARTESIAN_POINT('',(6.17161693315,1.57587252475,0.611640679589));
54#45=VERTEX_POINT('',#44);
55#46=CARTESIAN_POINT('',(6.36167302733,0.318348986414,0.611640679589));
56#47=VERTEX_POINT('',#46);
57#48=DIRECTION('',(-0.149438132474,0.988771077936,0.0));
58#49=CARTESIAN_POINT('',(6.46767251851,0.32365338204,0.268544360139));
59#50=VECTOR('',#48,1.29299559836);
60#51=LINE('',#49,#50);
61#52=EDGE_CURVE('',#41,#43,#51,.T.);
62#53=DIRECTION('',(-0.286333199101,-0.0731128691677,0.955336489126));
63#54=CARTESIAN_POINT('',(6.274449671,1.6021300336,0.268544360139));
64#55=VECTOR('',#53,0.359136621867);
65#56=LINE('',#54,#55);
66#57=EDGE_CURVE('',#43,#45,#56,.T.);
67#58=DIRECTION('',(0.149438132474,-0.988771077936,0.0));
68#59=CARTESIAN_POINT('',(6.17161693315,1.57587252475,0.611640679589));
69#60=VECTOR('',#58,1.27180453231);
70#61=LINE('',#59,#60);
71#62=EDGE_CURVE('',#45,#47,#61,.T.);
72#63=DIRECTION('',(0.295150883355,0.0147698544316,-0.955336489126));
73#64=CARTESIAN_POINT('',(6.36167302733,0.318348986414,0.611640679589));
74#65=VECTOR('',#63,0.359136621867);
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('Tfa242','Tfa242','',(#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;