Tfa255 — Sphere hole wire touches the pole via a degenerated edge: merges into the natural whole-surface boundary

§12.3c faces (sub-class: `tkshh-face-natural-bound-missing` GAP, pole-touching-hole subvariant)

topology

Sources

Description

An `ADVANCED_FACE` on a `SPHERICAL_SURFACE` (radius 5, centred at origin) has NO `FACE_OUTER_BOUND`. Its single `FACE_BOUND` is a small lune-shaped wire that starts at the north pole (0,0,5), runs down a meridian to a point at 70° latitude, across a short chord to a second point at the same latitude (40° of longitude away), back up another meridian to the pole, and closes via an explicit DEGENERATE edge at the pole itself: `EDGE_CURVE` between two independent `VERTEX_POINT` entities both located at (0,0,5), with a zero-length `LINE` as its curve (the corpus's standard degenerate-edge encoding, per Tfa125). The wire genuinely touches the pole through this degenerate edge, not merely through incidental vertex reuse.

Reproducer recipe

`ADVANCED_FACE` on a `SPHERICAL_SURFACE` with no `FACE_OUTER_BOUND`, a single inner `FACE_BOUND` lune wire that reaches the pole and closes via a zero-length degenerate `EDGE_CURVE` at the pole vertex — on a live `OPEN_SHELL`/`SHELL_BASED_SURFACE_MODEL` path.

Expected kernel behavior

recognize the pole-touching hole on the doubly-periodic surface and merge it into the synthesized natural (whole-surface) boundary rather than treating it as a separate subtracted hole; the resulting face should cover the full sphere area minus nothing (the lune contributes no area, only a boundary notch).

Notes

**See also**: Tfa002 (no hole at all — empty bounds), Tfa038 (hole wire that does not touch the pole — genuine subtracted hole), Tfa125 (degenerate-edge encoding pattern, different mechanism — U-degenerate south pole). Live-verified (this worktree's OCP/OCCT 7.8.1, default import path, both heal-on/heal-off): shape(1)/shape(1); `n_edges_total==4` (matches the 4 authored edges, 2 of which OCCT marks `Degenerated` after translation, vs. only 1 authored explicitly as zero-length). `face[0].surface_type=="sphere"`, `face[0].area==314.1592653589792==4*pi*5^2` — the EXACT full-sphere area: the lune-shaped hole wire contributes zero area loss, confirming `FixAddNaturalBound` genuinely merged it into the natural whole-surface boundary (a real subtracted hole, as in Tfa038, would reduce the area by the lune's extent instead). Synonyms: "sphere hole touches pole degenerate edge", "natural bound merge with pole hole", "FixAddNaturalBound pole merge", "lune hole absorbed into natural boundary", "degenerate pole edge hole merge".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

Tfa002, Tfa038, Tfa125

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Tfa255: OPEN_SHELL: single ADVANCED_FACE on SPHERICAL_SURFACE (radius=5); NO FACE_OUTER_BOUND -- only one inner FACE_BOUND: a lune-shaped wire from the north pole (0,0,5) down a meridian to 70deg latitude, across a short chord, back up another meridian, closed by an explicit DEGENERATE edge at the pole (EDGE_CURVE between two independent VERTEX_POINT entities both at (0,0,5), zero-length LINE curve); ShapeFix_Face::FixAddNaturalBound merges the pole-touching hole into the natural whole-surface boundary -- live face area == 4*pi*R^2 exactly (no area subtracted); defect IS on live OPEN_SHELL traversal path */
3HEADER;
4FILE_DESCRIPTION(('Tfa255'),'2;1');
5FILE_NAME('Tfa255.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=SPHERICAL_SURFACE('',#4,5.0);
15#6=CARTESIAN_POINT('',(0.0,0.0,5.0));
16#7=VERTEX_POINT('',#6);
17#8=VERTEX_POINT('',#6);
18#9=CARTESIAN_POINT('',(1.71010071663,0.0,4.69846310393));
19#10=CARTESIAN_POINT('',(1.31001315115,1.09923155196,4.69846310393));
20#11=VERTEX_POINT('',#9);
21#12=VERTEX_POINT('',#10);
22#13=DIRECTION('',(0.984807753012,0.0,-0.173648177667));
23#14=VECTOR('',#13,1.73648177667);
24#15=LINE('',#6,#14);
25#16=EDGE_CURVE('',#7,#11,#15,.T.);
26#17=DIRECTION('',(-0.342020143326,0.939692620786,0.0));
27#18=VECTOR('',#17,1.16977778441);
28#19=LINE('',#9,#18);
29#20=EDGE_CURVE('',#11,#12,#19,.T.);
30#21=DIRECTION('',(-0.754406506735,-0.633022221559,0.173648177667));
31#22=VECTOR('',#21,1.73648177667);
32#23=LINE('',#10,#22);
33#24=EDGE_CURVE('',#12,#8,#23,.T.);
34#25=DIRECTION('',(1.0,0.0,0.0));
35#26=VECTOR('',#25,0.0);
36#27=LINE('',#6,#26);
37#28=EDGE_CURVE('',#8,#7,#27,.T.);
38#29=ORIENTED_EDGE('',$,$,#16,.T.);
39#30=ORIENTED_EDGE('',$,$,#20,.T.);
40#31=ORIENTED_EDGE('',$,$,#24,.T.);
41#32=ORIENTED_EDGE('',$,$,#28,.T.);
42#33=EDGE_LOOP('',(#29,#30,#31,#32));
43#34=FACE_BOUND('',#33,.F.);
44#35=ADVANCED_FACE('',(#34),#5,.T.);
45#36=OPEN_SHELL('',(#35));
46#37=SHELL_BASED_SURFACE_MODEL('',(#36));
47#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
48#9051=PRODUCT('Tfa255','Tfa255','',(#9050));
49#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
50#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
51#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
52#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
53#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
54#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
55#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
56#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
57#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
58#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#37),#9060);
59#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
60ENDSEC;
61END-ISO-10303-21;