Gp181 — CATIA-style near-closed non-periodic B-spline seam-like edge, mirrored onto the V direction (Gp013 is the U-direction original)

§12.2a pcurve (sub-class: nonperiodic-B-spline seam-like edge, V-direction subvariant — `tkshh-nonperiodic-bspline-seamlike-edge`, subvariant a)

P2 — spec deviation (no data loss)

geometry

Sources

Sender

CATIA and similar exporters that encode a closed cylinder as a near-closed but non-periodic B-spline, oriented so the seam runs in V rather than U.

Description

Identical unit cylinder (radius 1, height 1) to Gp013, but with the roles of U and V transposed throughout: the `B_SPLINE_SURFACE_WITH_KNOTS` here has degree 1 in U (2 control-point rows spanning height) and degree 2 in V (the same 9-point near-closed angular discretization Gp013 used for U). The shared seam `EDGE_CURVE` now runs along U (height) at `v=0`/`v=1` (both physically angle 0) and carries two pcurves on the same non-periodic surface — Gp013's CATIA idiom, just declared periodic in V instead of U once healed.

Reproducer recipe

`B_SPLINE_SURFACE_WITH_KNOTS` (u_degree=1, v_degree=2, 2x9 control-point grid tracing a unit cylinder, `u_closed=.F.`, `v_closed=.F.`); a shared `EDGE_CURVE` carrying two pcurves at `v=0` and `v=1` on that surface, used twice (opposite orientations) in a 4-edge `FACE_OUTER_BOUND` alongside two full-circle cap edges.

Expected kernel behavior

detect the near-closed, non-periodic surface in the V direction, treat the shared edge as a seam, and reconcile both pcurves — declaring the surface V-periodic (approximating first if needed).

Notes

**See also**: Gp013 (the canonical U-direction original this fixture transposes), Gp182 (companion subvariant: non-B-spline base surface). **OCC behavior**: heals — OCCT reports the rebuilt surface as `is_v_periodic == True` / `is_u_periodic == False` (the exact V-direction mirror of Gp013's own `is_u_periodic == True`), 4 edges, 8 vertices, a non-degenerate cylindrical-wall area. `shape(1)` heal on/off identical; gmsh triangulates to `shape(6)`, matching Gp013's own gmsh count exactly. Synonyms: "CATIA cylinder seam in V direction", "V-periodic branch of near-closed B-spline seam healing", "two pcurves on non-periodic surface, V-direction variant", "Gp013 transposed onto the orthogonal parametric axis", "near-closed non-periodic B-spline seam-like edge, V bank".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

Gp013, Gp182

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Gp181: Unit cylinder (radius 1, height 1) as a non-periodic B_SPLINE_SURFACE_WITH_KNOTS, U/V-transposed relative to Gp013: degree 1 in U (2 height rows), degree 2 in V (9-point near-closed angular sweep). The shared seam EDGE_CURVE runs along U at v=0/v=1 (both physically angle=0) and carries two pcurves on the same non-periodic surface -- like a seam, but the surface lacks declared periodicity in V. Exercises SetVPeriodic instead of Gp013's SetUPeriodic. */
3HEADER;
4FILE_DESCRIPTION(('Gp181'),'2;1');
5FILE_NAME('Gp181.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('',(1.0,0.0,0.0));
11#2=CARTESIAN_POINT('',(0.707106781187,0.707106781187,0.0));
12#3=CARTESIAN_POINT('',(0.0,1.0,0.0));
13#4=CARTESIAN_POINT('',(-0.707106781187,0.707106781187,0.0));
14#5=CARTESIAN_POINT('',(-1.0,0.0,0.0));
15#6=CARTESIAN_POINT('',(-0.707106781187,-0.707106781187,0.0));
16#7=CARTESIAN_POINT('',(0.0,-1.0,0.0));
17#8=CARTESIAN_POINT('',(0.707106781187,-0.707106781187,0.0));
18#9=CARTESIAN_POINT('',(1.0,0.0,0.0));
19#10=CARTESIAN_POINT('',(1.0,0.0,1.0));
20#11=CARTESIAN_POINT('',(0.707106781187,0.707106781187,1.0));
21#12=CARTESIAN_POINT('',(0.0,1.0,1.0));
22#13=CARTESIAN_POINT('',(-0.707106781187,0.707106781187,1.0));
23#14=CARTESIAN_POINT('',(-1.0,0.0,1.0));
24#15=CARTESIAN_POINT('',(-0.707106781187,-0.707106781187,1.0));
25#16=CARTESIAN_POINT('',(0.0,-1.0,1.0));
26#17=CARTESIAN_POINT('',(0.707106781187,-0.707106781187,1.0));
27#18=CARTESIAN_POINT('',(1.0,0.0,1.0));
28#19=B_SPLINE_SURFACE_WITH_KNOTS('',1,2,((#1,#2,#3,#4,#5,#6,#7,#8,#9),(#10,#11,#12,#13,#14,#15,#16,#17,#18)),.UNSPECIFIED.,.F.,.F.,.F.,(2,2),(3,1,1,1,1,1,1,3),(0.0,1.0),(0.0,0.125,0.25,0.375,0.5,0.625,0.75,1.0),.UNSPECIFIED.);
29#20=CARTESIAN_POINT('',(1.0,0.0,0.0));
30#21=CARTESIAN_POINT('',(1.0,0.0,1.0));
31#22=VERTEX_POINT('',#20);
32#23=VERTEX_POINT('',#21);
33#24=(GEOMETRIC_REPRESENTATION_CONTEXT(2)PARAMETRIC_REPRESENTATION_CONTEXT()REPRESENTATION_CONTEXT('UV','2D'));
34#25=DIRECTION('',(0.0,0.0,1.0));
35#26=VECTOR('',#25,1.0);
36#27=LINE('',#20,#26);
37#28=CARTESIAN_POINT('',(0.0,0.0));
38#29=DIRECTION('',(1.0,0.0));
39#30=VECTOR('',#29,1.0);
40#31=LINE('',#28,#30);
41#32=DEFINITIONAL_REPRESENTATION('pc_v0_def',(#31),#24);
42#33=PCURVE('pc_v0_bank',#19,#32);
43#34=CARTESIAN_POINT('',(0.0,1.0));
44#35=DIRECTION('',(1.0,0.0));
45#36=VECTOR('',#35,1.0);
46#37=LINE('',#34,#36);
47#38=DEFINITIONAL_REPRESENTATION('pc_v1_def',(#37),#24);
48#39=PCURVE('pc_v1_bank',#19,#38);
49#40=SURFACE_CURVE('catia_like_seam_v',#27,(#33,#39),.PCURVE_S1.);
50#41=EDGE_CURVE('seam',#22,#23,#40,.T.);
51#42=CARTESIAN_POINT('',(0.0,0.0,0.0));
52#43=DIRECTION('',(0.0,0.0,1.0));
53#44=DIRECTION('',(1.0,0.0,0.0));
54#45=AXIS2_PLACEMENT_3D('',#42,#43,#44);
55#46=CIRCLE('bot_full',#45,1.0);
56#47=CARTESIAN_POINT('',(0.0,0.0));
57#48=DIRECTION('',(0.0,1.0));
58#49=VECTOR('',#48,1.0);
59#50=LINE('',#47,#49);
60#51=DEFINITIONAL_REPRESENTATION('pc_bot_def',(#50),#24);
61#52=PCURVE('bot_pcurve',#19,#51);
62#53=SURFACE_CURVE('bot_arc',#46,(#52),.PCURVE_S1.);
63#54=EDGE_CURVE('bot_arc',#22,#22,#53,.T.);
64#55=CARTESIAN_POINT('',(0.0,0.0,1.0));
65#56=AXIS2_PLACEMENT_3D('',#55,#43,#44);
66#57=CIRCLE('top_full',#56,1.0);
67#58=CARTESIAN_POINT('',(1.0,0.0));
68#59=DIRECTION('',(0.0,1.0));
69#60=VECTOR('',#59,1.0);
70#61=LINE('',#58,#60);
71#62=DEFINITIONAL_REPRESENTATION('pc_top_def',(#61),#24);
72#63=PCURVE('top_pcurve',#19,#62);
73#64=SURFACE_CURVE('top_arc',#57,(#63),.PCURVE_S1.);
74#65=EDGE_CURVE('top_arc',#23,#23,#64,.T.);
75#66=ORIENTED_EDGE('',$,$,#54,.T.);
76#67=ORIENTED_EDGE('',$,$,#41,.T.);
77#68=ORIENTED_EDGE('',$,$,#65,.F.);
78#69=ORIENTED_EDGE('',$,$,#41,.F.);
79#70=EDGE_LOOP('',(#66,#67,#68,#69));
80#71=FACE_OUTER_BOUND('',#70,.T.);
81#72=ADVANCED_FACE('',(#71),#19,.T.);
82#73=OPEN_SHELL('',(#72));
83#74=SHELL_BASED_SURFACE_MODEL('',(#73));
84#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
85#9051=PRODUCT('Gp181','Gp181','',(#9050));
86#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
87#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
88#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
89#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
90#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
91#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
92#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
93#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
94#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
95#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#74),#9060);
96#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
97ENDSEC;
98END-ISO-10303-21;