Gs189 — `SPHERICAL_SURFACE` hemispherical cap with zero-radius `CIRCLE` `EDGE` at pole

§12.2c surfaces (sub-class: spherical-surface / degenerate polar edge)

P1 — silent data loss

geometry

Sources

Description

STEP file with a `MANIFOLD_SOLID_BREP` containing two `ADVANCED_FACE` entities: (a) a `SPHERICAL_SURFACE` hemispherical cap (radius=5), and (b) a planar equatorial disk (`PLANE` at z=0). The spherical cap's `FACE_BOUND` `EDGE_LOOP` contains an `ORIENTED_EDGE` whose basis `EDGE_CURVE` uses a `CIRCLE` with `radius=0.0` centred at the north pole (0,0,5); both `edge_start` and `edge_end` reference the same `VERTEX_POINT` (degenerate self-referential loop). The equatorial face uses a full-circle edge (radius=5) shared with the cap. Readers should either reject the zero-radius `CIRCLE` as degenerate or treat the apex as a `VERTEX_LOOP`; OCCT heals and loads shape(1) with 2 faces.

Reproducer recipe

`SPHERICAL_SURFACE(radius=5)` + `CLOSED_SHELL`; equatorial `CIRCLE(radius=5)` self-loop edge for equatorial face; `CIRCLE('gs189_pole_circle',pole_axis,0.0)` with identical `edge_start` and `edge_end` vertex for polar cap `FACE_BOUND`.

Expected kernel behavior

reject the zero-radius `CIRCLE` as a degenerate edge and emit `E_DEGENERATE_EDGE`; or convert the zero-radius edge to a `VERTEX_LOOP` at the apex and emit `W_POLAR_DEGENERATE`; never accept silently without a diagnostic.

Notes

Synonyms: "Fusion 360 hemisphere STEP pole degenerate", "SPHERICAL_SURFACE zero radius circle pole", "hemisphere apex degenerate edge STEP", "CIRCLE radius zero polar cap", "sphere north pole degenerate loop STEP".

Expected validation

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

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Gs189: SPHERICAL_SURFACE (radius=5) IS hemispherical-cap ADVANCED_FACE.face_geometry; EDGE_LOOP on polar face contains one ORIENTED_EDGE whose basis IS a CIRCLE with radius=0.0 centred at north pole (0,0,5); edge_start==edge_end (same VERTEX_POINT); degenerate zero-radius pole circle (Fusion 360 DEF-U); OCCT may accept with null triangulation on polar cap or reject as degenerate */
3HEADER;
4FILE_DESCRIPTION(('Gs189'),'2;1');
5FILE_NAME('Gs189.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('gs189_sphere',#4,5.0);
15#6=CARTESIAN_POINT('',(0.0,0.0,0.0));
16#7=DIRECTION('',(0.0,0.0,1.0));
17#8=DIRECTION('',(1.0,0.0,0.0));
18#9=AXIS2_PLACEMENT_3D('',#6,#7,#8);
19#10=CIRCLE('gs189_eq',#9,5.0);
20#11=CARTESIAN_POINT('',(5.0,0.0,0.0));
21#12=VERTEX_POINT('',#11);
22#13=EDGE_CURVE('gs189_equator',#12,#12,#10,.T.);
23#14=CARTESIAN_POINT('',(0.0,0.0,5.0));
24#15=VERTEX_POINT('',#14);
25#16=CARTESIAN_POINT('',(0.0,0.0,5.0));
26#17=DIRECTION('',(0.0,0.0,1.0));
27#18=DIRECTION('',(1.0,0.0,0.0));
28#19=AXIS2_PLACEMENT_3D('',#16,#17,#18);
29#20=CIRCLE('gs189_pole_circle',#19,0.0);
30#21=EDGE_CURVE('gs189_pole_edge',#15,#15,#20,.T.);
31#22=ORIENTED_EDGE('',$,$,#13,.T.);
32#23=EDGE_LOOP('',(#22));
33#24=FACE_OUTER_BOUND('',#23,.T.);
34#25=ORIENTED_EDGE('',$,$,#21,.T.);
35#26=EDGE_LOOP('',(#25));
36#27=FACE_BOUND('gs189_pole_bound',#26,.T.);
37#28=ADVANCED_FACE('gs189_cap',(#24,#27),#5,.T.);
38#29=CARTESIAN_POINT('',(0.0,0.0,0.0));
39#30=DIRECTION('',(0.0,0.0,-1.0));
40#31=DIRECTION('',(1.0,0.0,0.0));
41#32=AXIS2_PLACEMENT_3D('',#29,#30,#31);
42#33=PLANE('',#32);
43#34=ORIENTED_EDGE('',$,$,#13,.F.);
44#35=EDGE_LOOP('',(#34));
45#36=FACE_OUTER_BOUND('',#35,.T.);
46#37=ADVANCED_FACE('',(#36),#33,.T.);
47#38=CLOSED_SHELL('gs189_shell',(#28,#37));
48#39=MANIFOLD_SOLID_BREP('gs189_solid',#38);
49#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
50#9051=PRODUCT('Gs189','Gs189','',(#9050));
51#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
52#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
53#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
54#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
55#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
56#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
57#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
58#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
59#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
60#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#39),#9060);
61#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
62ENDSEC;
63END-ISO-10303-21;