N005 — Splitting a closed periodic face leaves new edges with reversed pcurve vs 3D curve parameterisation

§12.4 (sub-class: sameparameter)

P1 — silent data loss

topology

Sources

Description

Splitting a closed periodic shape (full `CYLINDRICAL_SURFACE`, `TOROIDAL_SURFACE`) along its seam produces new edges whose 3D-curve and pcurve parameterisations no longer match — they were inherited from the unsplit edge but split independently. Common signature: a seam `EDGE_CURVE` on a cylinder with a 3D `LINE` from z=0 to z=10 (sense `.T.`) but its pcurve running from v=10 down to v=0 along −V (the `EDGE_CURVE` sense or pcurve direction inverted, e.g. `.F.`) — pcurve and 3D curve have opposite parameterisations across the seam. A topology checker reports invalid edges until a follow-up same-parameter recomputation runs.

Reproducer recipe

Full cylinder solid → split along seam → run topology check; observe invalid edges. Recompute same-parameter; check passes.

Expected kernel behavior

Heal and accept: a splitter that produces new edges must restore the same-parameter invariant on those edges before returning, or reject the result. Returning a topologically-invalid intermediate result puts the burden on every caller.

Notes

**See also**: N006. Synonyms: "pcurve direction opposite 3D curve after seam split", "split periodic face has reversed pcurve", "edge sense flipped vs pcurve sense across seam", "topology checker reports inconsistent parameterisation after split".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

N006

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* N005: seam edge on CYLINDRICAL_SURFACE: 3D LINE +Z sense but pcurve in -V direction (inverted); pcurve and 3D curve parameterisations opposite; GEOMETRIC_CURVE_SET — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('N005'),'2;1');
5FILE_NAME('N005.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#1=CARTESIAN_POINT('cyl_orig',(0.0,0.0,0.0));
10#2=DIRECTION('',(0.0,0.0,1.0));
11#3=DIRECTION('',(1.0,0.0,0.0));
12#4=AXIS2_PLACEMENT_3D('',#1,#2,#3);
13#5=CYLINDRICAL_SURFACE('cyl',#4,1.0);
14#6=CARTESIAN_POINT('p_seam_bot',(1.0,0.0,0.0));
15#7=CARTESIAN_POINT('p_seam_top',(1.0,0.0,10.0));
16#8=VERTEX_POINT('v_bot',#6);
17#9=VERTEX_POINT('v_top',#7);
18#10=DIRECTION('',(0.0,0.0,1.0));
19#11=VECTOR('',#10,10.0);
20#12=LINE('seam_line3d_plus_z',#6,#11);
21#13=(GEOMETRIC_REPRESENTATION_CONTEXT(2)GLOBAL_UNIT_ASSIGNED_CONTEXT($)REPRESENTATION_CONTEXT('uv_ctx','2D'));
22#14=CARTESIAN_POINT('pc_start_v10',(0.0,10.0));
23#15=DIRECTION('',(0.0,-1.0));
24#16=VECTOR('',#15,10.0);
25#17=LINE('pc_line_neg_v',#14,#16);
26#18=DEFINITIONAL_REPRESENTATION('pdef',(#17),#13);
27#19=PCURVE('pc_inverted',#5,#18);
28#20=SURFACE_CURVE('sc_seam',#12,(#19),.PCURVE_S1.);
29#21=EDGE_CURVE('seam_edge_inverted',#8,#9,#20,.T.);
30#22=GEOMETRIC_CURVE_SET('seam',(#21,#5));
31#23=APPLICATION_CONTEXT('automotive_design');
32#24=PRODUCT_CONTEXT('',#23,'mechanical');
33#25=PRODUCT('N005','N005','',(#24));
34#26=PRODUCT_DEFINITION_FORMATION('','',#25);
35#27=PRODUCT_DEFINITION_CONTEXT('part definition',#23,'design');
36#28=PRODUCT_DEFINITION('','',#26,#27);
37#29=PRODUCT_DEFINITION_SHAPE('','',#28);
38#30=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
39#31=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
40#32=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
41#33=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#30,'distance_accuracy_value','model_precision');
42#34=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#33))GLOBAL_UNIT_ASSIGNED_CONTEXT((#30,#31,#32))REPRESENTATION_CONTEXT('ctx','3D'));
43#35=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#22),#34);
44#36=SHAPE_DEFINITION_REPRESENTATION(#29,#35);
45ENDSEC;
46END-ISO-10303-21;