Gs051 — Sphere/cylinder cut produces wrong pcurves on second seam

§12.2c surfaces

P1 — silent data loss

geometry

Sources

Description

A sphere is cut by a cylinder; the cut introduces a new edge that crosses the sphere's natural seam. Original sphere had one seam; after the cut, the result has two seams (original + cut), and the pcurves of the second seam are emitted referencing the wrong half of the sphere's parameter domain.

Reproducer recipe

Boolean cut: sphere of radius 5 at origin, by cylinder of radius 2 along Z. Result has two seam-like edges; second seam's pcurves reference U=π instead of U=0.

Expected kernel behavior

Heal and accept: each seam edge must reference its own parameter domain; never share pcurves across distinct seams.

Notes

**See also**: Twi071. Synonyms: "sphere/cylinder cut produces wrong pcurves on second seam", "two seams after Boolean cut have shared pcurve domains", "second seam references wrong half of sphere parameter domain", "Boolean cut introduces new seam with bad pcurves", "cut-through-sphere creates second seam with U=pi issue".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

Twi071

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Gs051: SPHERICAL_SURFACE (radius 5) IS ADVANCED_FACE.face_geometry; second seam EDGE_CURVE pcurve referencing U=3.141592653589793 instead of U=0 IS wired into face topology; wrong seam pcurve IS the defect; shape_null (strict reject) */
3HEADER;
4FILE_DESCRIPTION(('Gs051'),'2;1');
5FILE_NAME('Gs051.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('gs051_sph_ax',#1,#2,#3);
14#5=SPHERICAL_SURFACE('gs051_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('gs051_cyl_ax',#6,#7,#8);
19#10=CYLINDRICAL_SURFACE('gs051_cyl',#9,2.0);
20#11=(GEOMETRIC_REPRESENTATION_CONTEXT(2)PARAMETRIC_REPRESENTATION_CONTEXT()REPRESENTATION_CONTEXT('UV','2D'));
21#12=CARTESIAN_POINT('',(2.0,0.0,4.58257569496));
22#13=CARTESIAN_POINT('',(0.0,2.0,4.58257569496));
23#14=CARTESIAN_POINT('',(-2.0,0.0,4.58257569496));
24#15=CARTESIAN_POINT('',(0.0,-2.0,4.58257569496));
25#16=VERTEX_POINT('',#12);
26#17=VERTEX_POINT('',#13);
27#18=VERTEX_POINT('',#14);
28#19=VERTEX_POINT('',#15);
29#20=CARTESIAN_POINT('',(2.0,0.0,4.58257569496));
30#21=DIRECTION('',(0.0,0.0,1.0));
31#22=VECTOR('',#21,1.0);
32#23=LINE('',#20,#22);
33#24=CARTESIAN_POINT('',(0.0,1.57079632679));
34#25=DIRECTION('',(0.0,1.0));
35#26=VECTOR('',#25,0.1);
36#27=LINE('',#24,#26);
37#28=DEFINITIONAL_REPRESENTATION('pcdef',(#27),#11);
38#29=PCURVE('pc',#5,#28);
39#30=SURFACE_CURVE('sc',#23,(#29),.PCURVE_S1.);
40#31=EDGE_CURVE('ec',#16,#16,#30,.T.);
41#32=CARTESIAN_POINT('',(2.0,0.0,4.58257569496));
42#33=DIRECTION('',(-1.0,1.0,0.0));
43#34=VECTOR('',#33,2.82842712475);
44#35=LINE('',#32,#34);
45#36=CARTESIAN_POINT('',(0.0,1.57079632679));
46#37=DIRECTION('',(1.0,0.0));
47#38=VECTOR('',#37,1.57079632679);
48#39=LINE('',#36,#38);
49#40=DEFINITIONAL_REPRESENTATION('pcdef',(#39),#11);
50#41=PCURVE('pc',#5,#40);
51#42=SURFACE_CURVE('sc',#35,(#41),.PCURVE_S1.);
52#43=EDGE_CURVE('ec',#16,#17,#42,.T.);
53#44=CARTESIAN_POINT('',(0.0,2.0,4.58257569496));
54#45=DIRECTION('',(-1.0,-1.0,0.0));
55#46=VECTOR('',#45,2.82842712475);
56#47=LINE('',#44,#46);
57#48=CARTESIAN_POINT('',(1.57079632679,1.57079632679));
58#49=DIRECTION('',(1.0,0.0));
59#50=VECTOR('',#49,1.57079632679);
60#51=LINE('',#48,#50);
61#52=DEFINITIONAL_REPRESENTATION('pcdef',(#51),#11);
62#53=PCURVE('pc',#5,#52);
63#54=SURFACE_CURVE('sc',#47,(#53),.PCURVE_S1.);
64#55=EDGE_CURVE('ec',#17,#18,#54,.T.);
65#56=CARTESIAN_POINT('',(-2.0,0.0,4.58257569496));
66#57=DIRECTION('',(0.0,0.0,1.0));
67#58=VECTOR('',#57,1.0);
68#59=LINE('',#56,#58);
69#60=CARTESIAN_POINT('',(3.14159265359,1.57079632679));
70#61=DIRECTION('',(0.0,1.0));
71#62=VECTOR('',#61,0.1);
72#63=LINE('',#60,#62);
73#64=DEFINITIONAL_REPRESENTATION('pcdef_e3',(#63),#11);
74#65=PCURVE('pc_e3',#5,#64);
75#66=SURFACE_CURVE('sc_e3',#59,(#65),.PCURVE_S1.);
76#67=EDGE_CURVE('ec_e3',#18,#18,#66,.T.);
77#68=CARTESIAN_POINT('',(-2.0,0.0,4.58257569496));
78#69=DIRECTION('',(1.0,-1.0,0.0));
79#70=VECTOR('',#69,2.82842712475);
80#71=LINE('',#68,#70);
81#72=CARTESIAN_POINT('',(3.14159265359,1.57079632679));
82#73=DIRECTION('',(1.0,0.0));
83#74=VECTOR('',#73,1.57079632679);
84#75=LINE('',#72,#74);
85#76=DEFINITIONAL_REPRESENTATION('pcdef',(#75),#11);
86#77=PCURVE('pc',#5,#76);
87#78=SURFACE_CURVE('sc',#71,(#77),.PCURVE_S1.);
88#79=EDGE_CURVE('ec',#18,#19,#78,.T.);
89#80=CARTESIAN_POINT('',(0.0,-2.0,4.58257569496));
90#81=DIRECTION('',(1.0,1.0,0.0));
91#82=VECTOR('',#81,2.82842712475);
92#83=LINE('',#80,#82);
93#84=CARTESIAN_POINT('',(4.71238898038,1.57079632679));
94#85=DIRECTION('',(1.0,0.0));
95#86=VECTOR('',#85,1.57079632679);
96#87=LINE('',#84,#86);
97#88=DEFINITIONAL_REPRESENTATION('pcdef',(#87),#11);
98#89=PCURVE('pc',#5,#88);
99#90=SURFACE_CURVE('sc',#83,(#89),.PCURVE_S1.);
100#91=EDGE_CURVE('ec',#19,#16,#90,.T.);
101#92=ORIENTED_EDGE('',$,$,#43,.T.);
102#93=ORIENTED_EDGE('',$,$,#55,.T.);
103#94=ORIENTED_EDGE('',$,$,#67,.T.);
104#95=ORIENTED_EDGE('',$,$,#79,.T.);
105#96=ORIENTED_EDGE('',$,$,#91,.T.);
106#97=EDGE_LOOP('',(#92,#93,#94,#95,#96));
107#98=FACE_OUTER_BOUND('',#97,.T.);
108#99=ADVANCED_FACE('',(#98),#5,.T.);
109#100=OPEN_SHELL('',(#99));
110#101=SHELL_BASED_SURFACE_MODEL('',(#100));
111#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
112#9051=PRODUCT('Gs051','Gs051','',(#9050));
113#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
114#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
115#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
116#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
117#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
118#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
119#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
120#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
121#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
122#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#101),#9060);
123#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
124ENDSEC;
125END-ISO-10303-21;