Tfa122 — Self-touching figure-8-shaped outer wire on a PLANE ADVANCED_FACE is wrapped in a GEOMETRIC_CURVE_SET; the reader never builds a live face at all (shape comes back empty)

§12.3c

topology

Sources

Description

Self-touching figure-8-shaped outer wire on a PLANE ADVANCED_FACE is wrapped in a GEOMETRIC_CURVE_SET; the reader never builds a live face at all (shape comes back empty)

Reproducer recipe

Expected kernel behavior

Accept: an ADVANCED_FACE with a self-touching figure-8 outer wire wrapped inside a GEOMETRIC_CURVE_SET is, per the schema, a geometric-curve-set entity rather than a face-topology entity, so a read correctly yields an empty shape (shape.IsNull() == True, n_faces == 0) — there is no self-touch-vs-twist classification to perform because the face is never built from the curve-set wrapper.

Notes

Corrected 2026-07-17 (truth-in-labeling audit): retitled/redescribed — original claimed twisted-face checking treats self-contact at an interior vertex as topological twist instead of mere internal tangency; that checker/fixer is never invoked because the face never survives translation (the `GEOMETRIC_CURVE_SET` wrapper is a type the builder dispatch skips). The `shape_null == True` / `occt=empty/empty` Expected-validation line below was already correct; only the mechanism attribution was wrong. Part of the ~127-entry face-repair/small-face-check misnomer family — see `BACKLOG.md` Q14. **See also**: Tfa121, Tfa160, Tfa169 (same `GEOMETRIC_CURVE_SET`-orphaning pattern). Synonyms: "GEOMETRIC_CURVE_SET wrapped face never translates", "self-touching figure-8 wire face orphaned in curve set".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Tier-3 assertions

Cross-references

Tfa121, Tfa160, Tfa169

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tfa122: GEOMETRIC_CURVE_SET containing ADVANCED_FACE on PLANE; outer wire forms figure-8: self-touches at interior point (3.0,5.0,0.0); left lobe: (3,5)→(0,5)→(0,0)→(3,0)→(3,5); right lobe: (3,5)→(3,0)→(6,0)→(6,5)→(3,5); contact vertex at (3,5,0) appears twice in wire traversal; wire is self-touching (internally tangent) not self-intersecting; CheckTwisted misclassifies self-contact as topological twist; kernel should distinguish twisted face from merely self-touching wire; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty; no orphaned entities */
3HEADER;
4FILE_DESCRIPTION(('Tfa122'),'2;1');
5FILE_NAME('Tfa122.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=PLANE('',#4);
15#6=CARTESIAN_POINT('',(3.0,5.0,0.0));
16#7=CARTESIAN_POINT('',(0.0,5.0,0.0));
17#8=CARTESIAN_POINT('',(0.0,0.0,0.0));
18#9=CARTESIAN_POINT('',(3.0,0.0,0.0));
19#10=CARTESIAN_POINT('',(6.0,0.0,0.0));
20#11=CARTESIAN_POINT('',(6.0,5.0,0.0));
21#12=VERTEX_POINT('contact_start',#6);
22#13=VERTEX_POINT('',#7);
23#14=VERTEX_POINT('',#8);
24#15=VERTEX_POINT('',#9);
25#16=VERTEX_POINT('contact_mid',#6);
26#17=VERTEX_POINT('',#10);
27#18=VERTEX_POINT('',#11);
28#19=DIRECTION('',(-1.0,0.0,0.0));
29#20=VECTOR('',#19,3.0);
30#21=LINE('',#6,#20);
31#22=EDGE_CURVE('e_C_to_L0',#12,#13,#21,.T.);
32#23=DIRECTION('',(0.0,-1.0,0.0));
33#24=VECTOR('',#23,5.0);
34#25=LINE('',#7,#24);
35#26=EDGE_CURVE('e_L0_to_L1',#13,#14,#25,.T.);
36#27=DIRECTION('',(1.0,0.0,0.0));
37#28=VECTOR('',#27,3.0);
38#29=LINE('',#8,#28);
39#30=EDGE_CURVE('e_L1_to_L2',#14,#15,#29,.T.);
40#31=DIRECTION('',(0.0,1.0,0.0));
41#32=VECTOR('',#31,5.0);
42#33=LINE('',#9,#32);
43#34=EDGE_CURVE('e_L2_to_C',#15,#16,#33,.T.);
44#35=LINE('',#6,#32);
45#36=DIRECTION('',(0.0,-1.0,0.0));
46#37=VECTOR('',#36,5.0);
47#38=LINE('',#6,#37);
48#39=EDGE_CURVE('e_C_to_R1',#16,#15,#38,.T.);
49#40=VECTOR('',#27,3.0);
50#41=LINE('',#9,#40);
51#42=EDGE_CURVE('e_R1_to_R2',#15,#17,#41,.T.);
52#43=VECTOR('',#31,5.0);
53#44=LINE('',#10,#43);
54#45=EDGE_CURVE('e_R2_to_R3',#17,#18,#44,.T.);
55#46=DIRECTION('',(-1.0,0.0,0.0));
56#47=VECTOR('',#46,3.0);
57#48=LINE('',#11,#47);
58#49=EDGE_CURVE('e_R3_to_C',#18,#12,#48,.T.);
59#50=ORIENTED_EDGE('',*,*,#22,.T.);
60#51=ORIENTED_EDGE('',*,*,#26,.T.);
61#52=ORIENTED_EDGE('',*,*,#30,.T.);
62#53=ORIENTED_EDGE('',*,*,#34,.T.);
63#54=ORIENTED_EDGE('',*,*,#39,.T.);
64#55=ORIENTED_EDGE('',*,*,#42,.T.);
65#56=ORIENTED_EDGE('',*,*,#45,.T.);
66#57=ORIENTED_EDGE('',*,*,#49,.T.);
67#58=EDGE_LOOP('figure8_loop',(#50,#51,#52,#53,#54,#55,#56,#57));
68#59=FACE_OUTER_BOUND('',#58,.T.);
69#60=ADVANCED_FACE('self_touching_face',(#59),#5,.T.);
70#61=GEOMETRIC_CURVE_SET('',( #60));
71#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
72#9051=PRODUCT('Tfa122','Tfa122','',(#9050));
73#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
74#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
75#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
76#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
77#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
78#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
79#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
80#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
81#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
82#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#61),#9060);
83#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
84ENDSEC;
85END-ISO-10303-21;