Twi030 — Degenerate edge re-encountered for multiple faces

§12.3b wire-loop

topology

Sources

Description

A degenerate edge bridges a singular row that is shared by adjacent faces; translator processes it once per face, building it again with potentially divergent vertex tolerance.

Reproducer recipe

Two faces both touching a sphere pole, sharing a degenerate edge along the pole; observe duplicated `EDGE_CURVE` instances in OCCT topology.

Expected kernel behavior

Heal and accept: normalize by caching and reusing the translated degenerate edge across faces.

Notes

A translator with a per-face entity cache reuses the same edge across faces; one without translates each occurrence independently. **See also**: Twi031. Synonyms: "duplicate edge created at sphere pole", "degenerate edge translated multiple times", "same singular edge reread per face", "no caching for shared apex edge", "vertex tolerance differs between duplicates".

Expected validation

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

Closure intent

sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.

Tier-3 assertions

Cross-references

Twi031

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Twi030: OPEN_SHELL with two ADVANCED_FACEs on a single SPHERICAL_SURFACE (radius 1, centre at origin); face-0 (upper hemisphere, phi 0→90°) has its own degenerate EDGE_CURVE at the north pole (v_pole_A) in its EDGE_LOOP; face-1 (lower hemisphere, phi 90→180°, approaching south pole) has a second distinct degenerate EDGE_CURVE also at the north-pole location (v_pole_B) in its EDGE_LOOP; duplicate degenerate pole EDGE_CURVEs IS the mechanism — same geometry, separate entities with potentially divergent vertex tolerance; both EDGE_LOOPs ARE wired into FACE_OUTER_BOUNDs in two ADVANCED_FACEs in OPEN_SHELL; translator must cache and reuse the degenerate edge across adjacent faces */
3HEADER;
4FILE_DESCRIPTION(('Twi030'),'2;1');
5FILE_NAME('Twi030.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,1.0);
15#6=CARTESIAN_POINT('',(1.0,0.0,0.0));
16#7=VERTEX_POINT('',#6);
17#8=CARTESIAN_POINT('',(-1.0,0.0,0.0));
18#9=VERTEX_POINT('',#8);
19#10=CARTESIAN_POINT('',(0.0,0.0,0.0));
20#11=DIRECTION('',(0.0,0.0,1.0));
21#12=DIRECTION('',(1.0,0.0,0.0));
22#13=AXIS2_PLACEMENT_3D('',#10,#11,#12);
23#14=CIRCLE('',#13,1.0);
24#15=EDGE_CURVE('',#7,#9,#14,.T.);
25#16=CARTESIAN_POINT('',(0.0,0.0,1.0));
26#17=VERTEX_POINT('',#16);
27#18=CARTESIAN_POINT('',(0.0,0.0,1.0));
28#19=VERTEX_POINT('',#18);
29#20=DIRECTION('',(1.0,0.0,0.0));
30#21=VECTOR('',#20,0.0);
31#22=CARTESIAN_POINT('',(0.0,0.0,1.0));
32#23=LINE('',#22,#21);
33#24=EDGE_CURVE('',#17,#17,#23,.T.);
34#25=DIRECTION('',(1.0,0.0,0.0));
35#26=VECTOR('',#25,0.0);
36#27=CARTESIAN_POINT('',(0.0,0.0,1.0));
37#28=LINE('',#27,#26);
38#29=EDGE_CURVE('',#19,#19,#28,.T.);
39#30=CARTESIAN_POINT('',(0.0,0.0,0.0));
40#31=DIRECTION('',(0.0,-1.0,0.0));
41#32=DIRECTION('',(1.0,0.0,0.0));
42#33=AXIS2_PLACEMENT_3D('',#30,#31,#32);
43#34=CIRCLE('',#33,1.0);
44#35=EDGE_CURVE('',#7,#17,#34,.T.);
45#36=CARTESIAN_POINT('',(0.0,0.0,0.0));
46#37=DIRECTION('',(0.0,1.0,0.0));
47#38=DIRECTION('',(-1.0,0.0,0.0));
48#39=AXIS2_PLACEMENT_3D('',#36,#37,#38);
49#40=CIRCLE('',#39,1.0);
50#41=EDGE_CURVE('',#9,#19,#40,.T.);
51#42=ORIENTED_EDGE('',*,*,#24,.T.);
52#43=ORIENTED_EDGE('',*,*,#35,.F.);
53#44=ORIENTED_EDGE('',*,*,#15,.T.);
54#45=ORIENTED_EDGE('',*,*,#41,.T.);
55#46=EDGE_LOOP('',(#42,#43,#44,#45));
56#47=ORIENTED_EDGE('',*,*,#29,.T.);
57#48=ORIENTED_EDGE('',*,*,#41,.F.);
58#49=ORIENTED_EDGE('',*,*,#15,.F.);
59#50=ORIENTED_EDGE('',*,*,#35,.T.);
60#51=EDGE_LOOP('',(#47,#48,#49,#50));
61#52=FACE_OUTER_BOUND('',#46,.T.);
62#53=FACE_OUTER_BOUND('',#51,.T.);
63#54=ADVANCED_FACE('',(#52),#5,.T.);
64#55=ADVANCED_FACE('',(#53),#5,.T.);
65#56=OPEN_SHELL('',(#54,#55));
66#57=SHELL_BASED_SURFACE_MODEL('',(#56));
67#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
68#9051=PRODUCT('Twi030','Twi030','',(#9050));
69#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
70#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
71#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
72#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
73#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
74#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
75#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
76#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
77#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
78#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#57),#9060);
79#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
80ENDSEC;
81END-ISO-10303-21;