Gp012 — `SURFACE_CURVE` / seam-curve `associated_geometry` list contains a null `$` entry

§12.2a pcurve

geometry

Sources

Description

A `SURFACE_CURVE` (typically a seam edge on a periodic surface) should carry two pcurves in its `associated_geometry` set, but the list contains a `PCURVE` followed by a `$` (null) entry; a null member inside a Part-21 SET attribute. On a true seam edge, the second pcurve is missing entirely; a translator must synthesize it from the present one by period-shifting, or the seam fails to register.

Reproducer recipe

`SEAM_CURVE('',#3d,(#pc1, $),.PCURVE_S1.)` on a cylindrical face.

Expected kernel behavior

heal; synthesize the missing pcurve as `pc1 ± period`.

Notes

**See also**: Twi022. **OCC behavior**: accepts and loads shape(1); OCC's STEP reader recomputes the pcurve from the 3D curve on transfer (per Gp193), so the declared 2D/pcurve defect does not survive into the built shape. Perturbing the declared defect from clean to grossly exaggerated leaves the built shape unchanged in both shape-counts and BRepCheck validity (heal_on and heal_off), so the shape-count oracle cannot distinguish it from a clean input; shape(1) does not witness a kernel bug. Synonyms: "seam edge on periodic surface missing one of its two parametric curves", "null pcurve in associated_geometry list", "seam_curve has dollar-sign for second pcurve", "missing pcurve entry on seam edge", "associated_geometry contains null parametric curve member", "seam pcurve list has $ placeholder".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

Twi022, 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/* Gp012: SEAM_CURVE associated_geometry list has null $ for second pcurve slot */
3HEADER;
4FILE_DESCRIPTION(('Gp012'),'2;1');
5FILE_NAME('Gp012.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=CARTESIAN_POINT('',(0.0,0.0,0.5));
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=CIRCLE('',#9,1.0);
20#11=CARTESIAN_POINT('',(1.0,0.0,0.5));
21#12=VERTEX_POINT('',#11);
22#13=(GEOMETRIC_REPRESENTATION_CONTEXT(2)PARAMETRIC_REPRESENTATION_CONTEXT()REPRESENTATION_CONTEXT('UV','2D'));
23#14=CARTESIAN_POINT('',(0.0,0.5));
24#15=DIRECTION('',(1.0,0.0));
25#16=VECTOR('',#15,6.283185307);
26#17=LINE('',#14,#16);
27#18=DEFINITIONAL_REPRESENTATION('pc_bank1',(#17),#13);
28#19=PCURVE('bank1',#5,#18);
29#20=SEAM_CURVE('',#10,(#19,$),.PCURVE_S1.);
30#21=EDGE_CURVE('',#12,#12,#20,.T.);
31#22=ORIENTED_EDGE('',$,$,#21,.T.);
32#23=EDGE_LOOP('',(#22));
33#24=FACE_OUTER_BOUND('',#23,.T.);
34#25=ADVANCED_FACE('',(#24),#5,.T.);
35#26=OPEN_SHELL('',(#25));
36#27=SHELL_BASED_SURFACE_MODEL('',(#26));
37#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
38#9051=PRODUCT('Gp012','Gp012','',(#9050));
39#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
40#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
41#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
42#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
43#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
44#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
45#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
46#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
47#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
48#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#27),#9060);
49#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
50ENDSEC;
51END-ISO-10303-21;