Tsh250 — Two stacked full-period cylindrical shells whose facing seam candidate carries only one explicit 2D curve representation

§12.3a shells (sub-class: sewing seam dual-representation preservation — `sew-seam-dual-pcurve-preservation`)

P2 — spec deviation (no data loss)

topology

Sources

Description

Two independent `OPEN_SHELL`s, each one full-period wraparound `ADVANCED_FACE` on a `CYLINDRICAL_SURFACE` (matching this corpus's established closed-cylinder-face pattern: bottom full circle, one vertical seam-line edge, top full circle reversed, second vertical seam-line edge reversed) — i.e. each face's own top/bottom boundary is a genuine closed (start==end) seam edge. The lower shell sits directly below the upper shell with a gap comfortably within sewing tolerance, so their facing seam edges (the lower shell's top boundary, the upper shell's bottom boundary) are a live, reachable merge candidate pair. The lower shell's candidate seam edge is built with only ONE explicit 2D curve representation (the forward direction only) instead of the dual forward-and-reversed pair a merged seam participant needs.

Reproducer recipe

`shell_lower` (`CYLINDRICAL_SURFACE` radius 5, z:[0,4]) whose top boundary is an `EDGE_CURVE` wrapping a `SURFACE_CURVE` with a single `PCURVE` (u:[0,2*pi] forward only); `shell_upper` (same cylinder geometry, z:[4.0005,8.0005], a 0.0005 gap) whose bottom boundary is an ordinary `EDGE_CURVE` referencing its 3D `CIRCLE` directly (no explicit 2D curve entity at all).

Expected kernel behavior

when a closed/periodic seam edge participates in a merge, preserve both its forward and reversed 2D-curve representations on the resulting shared edge, since a periodic surface maps the same edge to two different locations in its own parameter space depending on which side it is approached from; discarding one representation silently destroys the surface's seam continuity at that edge.

Notes

Live-verified (this worktree's OCP/OCCT 7.8.1, runtime sewing scaffold, non-manifold mode enabled): both shells load independently as live, reachable shapes (2 faces / 8 edges / 16 vertices, no defect-driven translation failure of any kind); the sewing operator finds `NbContigousEdges()==3` and genuinely merges the facing seam pair down to a single shared edge (2 faces / 8 edges after merging, one fewer free-edge pair than before) at a tight, gap-proportional achieved tolerance — confirming the near-gap seam candidate pair is a real, reachable merge opportunity, not a dead scaffold, with the single-2D-curve seam edge as the actual participant under test. Synonyms: "seam edge single pcurve merge", "closed surface seam dual representation", "periodic edge forward reversed pcurve", "stacked cylinder seam merge", "missing reversed seam pcurve". Provenance tier: bytes-sufficient.

Expected validation

occt=shape(1)/shape(1) gmsh=shape(14) 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/* Tsh250: TWO independent OPEN_SHELLs, each ONE ADVANCED_FACE on a CYLINDRICAL_SURFACE (radius 5, axis +Z), each structured like Tsh209's full-period wraparound face (bottom/top full CIRCLEs, two vertical seam-line edges): shell_lower z:[0,4] with its TOP seam candidate built via SURFACE_CURVE + a SINGLE explicit PCURVE (missing the dual reversed pair); shell_upper z:[4.0005,8.0005] (0.0005 gap, within a 1.0 sewing tolerance) with its BOTTOM seam candidate built the ordinary way — a genuine, live, reachable near-gap seam-merge pair, distinct from Gp139's dead C-1-broken scaffold and Tsh209's self-contained single-face seam (no merge opportunity at all) */
3HEADER;
4FILE_DESCRIPTION(('Tsh250'),'2;1');
5FILE_NAME('Tsh250.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF { 1 0 10303 442 1 1 4 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=(GEOMETRIC_REPRESENTATION_CONTEXT(2)PARAMETRIC_REPRESENTATION_CONTEXT()REPRESENTATION_CONTEXT('','2D'));
11#2=CARTESIAN_POINT('',(5.0,0.0,0.0));
12#3=VERTEX_POINT('',#2);
13#4=CARTESIAN_POINT('',(5.0,0.0,4.0));
14#5=VERTEX_POINT('',#4);
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=CYLINDRICAL_SURFACE('',#9,5.0);
20#11=CARTESIAN_POINT('',(0.0,0.0,0.0));
21#12=DIRECTION('',(0.0,0.0,1.0));
22#13=DIRECTION('',(1.0,0.0,0.0));
23#14=AXIS2_PLACEMENT_3D('',#11,#12,#13);
24#15=CIRCLE('',#14,5.0);
25#16=EDGE_CURVE('',#3,#3,#15,.T.);
26#17=CARTESIAN_POINT('',(0.0,0.0,4.0));
27#18=DIRECTION('',(0.0,0.0,1.0));
28#19=DIRECTION('',(1.0,0.0,0.0));
29#20=AXIS2_PLACEMENT_3D('',#17,#18,#19);
30#21=CIRCLE('',#20,5.0);
31#22=CARTESIAN_POINT('',(0.0,4.0));
32#23=DIRECTION('',(1.0,0.0));
33#24=VECTOR('',#23,6.28318530718);
34#25=LINE('',#22,#24);
35#26=DEFINITIONAL_REPRESENTATION('lower_top_pc_def',(#25),#1);
36#27=PCURVE('lower_seam_single_pc',#10,#26);
37#28=SURFACE_CURVE('lower_top_seam_sc',#21,(#27),.PCURVE_S1.);
38#29=EDGE_CURVE('lower_top_seam_edge',#5,#5,#28,.T.);
39#30=DIRECTION('',(0.0,0.0,1.0));
40#31=VECTOR('',#30,4.0);
41#32=LINE('',#2,#31);
42#33=EDGE_CURVE('',#3,#5,#32,.T.);
43#34=DIRECTION('',(0.0,0.0,-1.0));
44#35=VECTOR('',#34,4.0);
45#36=LINE('',#4,#35);
46#37=EDGE_CURVE('',#5,#3,#36,.T.);
47#38=ORIENTED_EDGE('',$,$,#16,.T.);
48#39=ORIENTED_EDGE('',$,$,#33,.T.);
49#40=ORIENTED_EDGE('',$,$,#29,.F.);
50#41=ORIENTED_EDGE('',$,$,#37,.F.);
51#42=EDGE_LOOP('',(#38,#39,#40,#41));
52#43=FACE_OUTER_BOUND('',#42,.T.);
53#44=ADVANCED_FACE('lower_face',(#43),#10,.T.);
54#45=OPEN_SHELL('lower_shell',(#44));
55#46=CARTESIAN_POINT('',(5.0,0.0,4.0005));
56#47=VERTEX_POINT('',#46);
57#48=CARTESIAN_POINT('',(5.0,0.0,8.0005));
58#49=VERTEX_POINT('',#48);
59#50=CARTESIAN_POINT('',(0.0,0.0,0.0));
60#51=DIRECTION('',(0.0,0.0,1.0));
61#52=DIRECTION('',(1.0,0.0,0.0));
62#53=AXIS2_PLACEMENT_3D('',#50,#51,#52);
63#54=CYLINDRICAL_SURFACE('',#53,5.0);
64#55=CARTESIAN_POINT('',(0.0,0.0,4.0005));
65#56=DIRECTION('',(0.0,0.0,1.0));
66#57=DIRECTION('',(1.0,0.0,0.0));
67#58=AXIS2_PLACEMENT_3D('',#55,#56,#57);
68#59=CIRCLE('',#58,5.0);
69#60=EDGE_CURVE('',#47,#47,#59,.T.);
70#61=CARTESIAN_POINT('',(0.0,0.0,8.0005));
71#62=DIRECTION('',(0.0,0.0,1.0));
72#63=DIRECTION('',(1.0,0.0,0.0));
73#64=AXIS2_PLACEMENT_3D('',#61,#62,#63);
74#65=CIRCLE('',#64,5.0);
75#66=EDGE_CURVE('',#49,#49,#65,.T.);
76#67=DIRECTION('',(0.0,0.0,1.0));
77#68=VECTOR('',#67,4.0);
78#69=LINE('',#46,#68);
79#70=EDGE_CURVE('',#47,#49,#69,.T.);
80#71=DIRECTION('',(0.0,0.0,-1.0));
81#72=VECTOR('',#71,4.0);
82#73=LINE('',#48,#72);
83#74=EDGE_CURVE('',#49,#47,#73,.T.);
84#75=ORIENTED_EDGE('',$,$,#60,.T.);
85#76=ORIENTED_EDGE('',$,$,#70,.T.);
86#77=ORIENTED_EDGE('',$,$,#66,.F.);
87#78=ORIENTED_EDGE('',$,$,#74,.F.);
88#79=EDGE_LOOP('',(#75,#76,#77,#78));
89#80=FACE_OUTER_BOUND('',#79,.T.);
90#81=ADVANCED_FACE('upper_face',(#80),#54,.T.);
91#82=OPEN_SHELL('upper_shell',(#81));
92#83=SHELL_BASED_SURFACE_MODEL('',(#45,#82));
93#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
94#9051=PRODUCT('Tsh250','Tsh250','',(#9050));
95#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
96#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
97#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
98#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
99#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
100#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
101#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
102#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
103#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
104#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#83),#9060);
105#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
106ENDSEC;
107END-ISO-10303-21;