Tfa258 — Spherical face bounded only by the equator: the pole-bridging degenerate edge and the seam are both absent

§12.3c faces (sub-class: `tkshh-wire-missing-or-bad-degenerated-edge`, subvariant "sphere with single wire open in U: degenerated pole edge synthesized")

P2 — spec deviation (no data loss)

topology

Sources

Description

A `SPHERICAL_SURFACE` of radius 5 centred at the origin carries one `ADVANCED_FACE` whose `FACE_OUTER_BOUND` is a single-edge `EDGE_LOOP`: the equator `CIRCLE`, authored as a closed `EDGE_CURVE` (`equator_only_bound`) with the same `VERTEX_POINT` at both ends. That is one wire, open in 2D by exactly one full U period, and it is the entire boundary in the file — neither the seam nor the pole-bridging degenerate edge that a complete parametric boundary needs is present. The producer has described a hemisphere by its rim alone and left the receiver to invent the rest.

Reproducer recipe

`ADVANCED_FACE` on a `SPHERICAL_SURFACE`; `FACE_OUTER_BOUND` referencing an `EDGE_LOOP` with exactly ONE `ORIENTED_EDGE`, whose `EDGE_CURVE` is the equatorial `CIRCLE` with identical start and end `VERTEX_POINT`; no other edge of any kind in the file.

Expected kernel behavior

heal; recognise that the sole wire is open in U by a full period on a U-closed surface, synthesize the degenerate edge that collapses the pole row (a 2D line at v = +pi/2 spanning the full U period), and only then lay in the seam that closes the parametric rectangle — yielding a valid hemisphere rather than a face with an unbounded parametric side.

Notes

Live-verified (2026-07-31, this worktree, OCP/OCCT 7.8.1) against this fixture's own bytes: ONE declared `EDGE_CURVE` reads back as a face with THREE distinct edges / FOUR oriented edges — the equator (`Geom2d_Line` at v=0, dir (+1,0)), a seam used twice (`IsSeam == True`, at u=0 and u=6.283185), and one edge with `BRep_Tool::Degenerated == True` whose pcurve is a `Geom2d_Line` with loc=(6.283185, 1.570796), dir=(-1, 0), range [0, 6.283185]. That is bit-for-bit the construction at `ShapeFix_Face.cxx:1652-1654` for ismodeu=+1 (`p.SetCoord(2*pi, +pi/2)`, `d.SetCoord(-1, 0)`, `aRange = 2*pi`): v = +pi/2 is the north pole and nothing else in the healing stack produces that coordinate. **Negative control**: the byte-identical construction with the host surface changed from `SPHERICAL_SURFACE` to `CYLINDRICAL_SURFACE` of the same radius — also U-closed, also one wire open in U by a full period, so everything upstream of the surface-type branch is unchanged — reads back with ONE edge, ZERO degenerate edges and NO seam, because a cylinder falls through to `ShapeFix_Face.cxx:1680`. That isolates the sphere arm specifically. **See also**: Tfa259/Tfa260 (the conical apex arm of the same repair, a different mechanism reached through `FixPeriodicDegenerated`), Twi296 (degenerate-torus arm), Twi297 (B-spline pinch arm), Twi021 (the wire-level cone-apex insert). Synonyms: "hemisphere bounded only by equator", "missing degenerate edge at sphere pole", "single wire open in U on sphere", "pole edge synthesis missing seam", "no seam no pole edge spherical face". Provenance tier: bytes-sufficient.

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

Tfa259, Tfa260, Twi296, Twi297, Twi021

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Tfa258: OPEN_SHELL with one ADVANCED_FACE on a SPHERICAL_SURFACE (radius 5, centre at the origin, axis +Z); FACE_OUTER_BOUND references a SINGLE-edge EDGE_LOOP whose only member is the equator CIRCLE as a closed EDGE_CURVE ('equator_only_bound', the same VERTEX_POINT at both ends) -- one wire, open in 2D by a full 2*pi U period. NEITHER the seam edge NOR the degenerate pole-bridging edge that a complete parametric boundary needs is present in the file; a receiver must invent the pole edge at v = +pi/2 before it can lay in the seam. The EDGE_LOOP IS wired into FACE_OUTER_BOUND, ADVANCED_FACE and OPEN_SHELL; never orphaned */
3HEADER;
4FILE_DESCRIPTION(('Tfa258'),'2;1');
5FILE_NAME('Tfa258.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('',(5.0,0.0,0.0));
16#7=VERTEX_POINT('',#6);
17#8=CARTESIAN_POINT('',(0.0,0.0,0.0));
18#9=AXIS2_PLACEMENT_3D('',#8,#2,#3);
19#10=CIRCLE('',#9,5.0);
20#11=EDGE_CURVE('equator_only_bound',#7,#7,#10,.T.);
21#12=ORIENTED_EDGE('',$,$,#11,.T.);
22#13=EDGE_LOOP('',(#12));
23#14=FACE_OUTER_BOUND('',#13,.T.);
24#15=ADVANCED_FACE('',(#14),#5,.T.);
25#16=OPEN_SHELL('',(#15));
26#17=SHELL_BASED_SURFACE_MODEL('',(#16));
27#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
28#9051=PRODUCT('Tfa258','Tfa258','',(#9050));
29#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
30#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
31#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
32#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
33#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
34#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
35#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
36#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
37#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
38#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#17),#9060);
39#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
40ENDSEC;
41END-ISO-10303-21;