Gp028 — Wire crosses periodic-surface seam without an explicit seam edge (pcurve trim range vs vertex angular position mismatch)

§12.2a pcurve

geometry

Sources

Description

A wire bounding a face on a periodic `CYLINDRICAL_SURFACE` (or torus, etc.) traverses the U=0 / U=2π seam, but the input does not include the seam edge that would carry the wire from one side of the seam to the other. Typical signature: pcurve `LINE` trim range (e.g. starts at u=5.5 with length 1.28) corresponds to a different angular interval on the cylinder than the 3D vertex positions imply (vertex angles around -0.78 rad and +0.50 rad), so pcurve and 3D-vertex angular positions disagree. Downstream shell composition sees an open contour in UV even though the wire is closed in 3D.

Reproducer recipe

STEP face where an outer wire of a cylindrical face crosses the U=0/U=2π seam direction without an explicit seam edge.

Expected kernel behavior

detect that the wire crosses the seam and insert the seam edge automatically, or reject as malformed.

Notes

**See also**: Gp026. **OCC behavior**: accepts and loads shape(1); OCC builds a BRepCheck-valid cylindrical face, recomputing the pcurve from the 3D curve (per Gp193), so the declared pcurve-vs-vertex angular mismatch / missing-seam defect does not survive into the built shape. Perturbing the declared defect leaves shape-counts and BRepCheck validity unchanged, so the shape-count oracle cannot distinguish it from a clean input; shape(1) does not witness a kernel bug. Synonyms: "wire crosses cylinder seam without seam edge", "missing seam edge on periodic surface wire", "pcurve range vs vertex angle disagree at seam crossing", "cylinder face wire spans U=0/U=2π without explicit seam", "open contour in UV from missing seam edge".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

Gp026, Gp193

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Gp028: Cylinder face wire crosses U=0/2pi seam without seam edge: pcurve LINE runs u=5.5 to u=6.78 (crossing 2pi=6.283); vertex angles approx -0.78 and +0.50 rad; receiver must insert seam edge but none is provided */
3HEADER;
4FILE_DESCRIPTION(('Gp028'),'2;1');
5FILE_NAME('Gp028.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=CYLINDRICAL_SURFACE('',#4,1.0);
15#6=(GEOMETRIC_REPRESENTATION_CONTEXT(2)PARAMETRIC_REPRESENTATION_CONTEXT()REPRESENTATION_CONTEXT('UV','2D'));
16#7=CARTESIAN_POINT('',(0.708669774291,-0.70554032557,0.0));
17#8=CARTESIAN_POINT('',(0.87758256189,0.479425538604,1.0));
18#9=VERTEX_POINT('',#7);
19#10=VERTEX_POINT('',#8);
20#11=DIRECTION('',(0.108297997686,0.759737804582,0.641147418294));
21#12=VECTOR('',#11,1.55970369913);
22#13=LINE('',#7,#12);
23#14=CARTESIAN_POINT('',(5.5,0.0));
24#15=DIRECTION('',(0.788024373725,0.615644041972));
25#16=VECTOR('',#15,1.62431524034);
26#17=LINE('',#14,#16);
27#18=DEFINITIONAL_REPRESENTATION('pc_seam_cross',(#17),#6);
28#19=PCURVE('seam_cross',#5,#18);
29#20=SURFACE_CURVE('seam_crossing',#13,(#19),.PCURVE_S1.);
30#21=EDGE_CURVE('seam_cross',#9,#10,#20,.T.);
31#22=DIRECTION('',(-0.108297997686,-0.759737804582,-0.641147418294));
32#23=VECTOR('',#22,1.55970369913);
33#24=LINE('',#8,#23);
34#25=CARTESIAN_POINT('',(6.78,1.0));
35#26=DIRECTION('',(-0.788024373725,-0.615644041972));
36#27=VECTOR('',#26,1.62431524034);
37#28=LINE('',#25,#27);
38#29=DEFINITIONAL_REPRESENTATION('pc_back',(#28),#6);
39#30=PCURVE('back',#5,#29);
40#31=SURFACE_CURVE('back',#24,(#30),.PCURVE_S1.);
41#32=EDGE_CURVE('back',#10,#9,#31,.T.);
42#33=ORIENTED_EDGE('',$,$,#21,.T.);
43#34=ORIENTED_EDGE('',$,$,#32,.T.);
44#35=EDGE_LOOP('',(#33,#34));
45#36=FACE_OUTER_BOUND('',#35,.T.);
46#37=ADVANCED_FACE('',(#36),#5,.T.);
47#38=OPEN_SHELL('',(#37));
48#39=SHELL_BASED_SURFACE_MODEL('',(#38));
49#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
50#9051=PRODUCT('Gp028','Gp028','',(#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=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#39),#9060);
61#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
62ENDSEC;
63END-ISO-10303-21;