Gp010 — Surface_curve.associated_geometry contains a 3D curve in lieu of pcurve

§12.2a pcurve

P1 — silent data loss

geometry

Sources

Sender

Parasolid-origin files

Description

A `SURFACE_CURVE`'s `associated_geometry` slot uses a 3D curve (e.g. `LINE`) lying in a `PLANE` rather than a `PCURVE` with 2D parameters. Mathematically valid for flat surfaces, but importers that hardcode the 2D form fail; openNURBS-style consumers cannot evaluate `PointAtStart`/`PointAtEnd` because the path through pcurve→surface is unimplemented.

Reproducer recipe

`SURFACE_CURVE('',#3dcurve,(#assoc_geom),.PCURVE_S1.)` where `#assoc_geom` is a 3D `LINE` lying in the host `PLANE`, instead of a `PCURVE`.

Expected kernel behavior

Heal and accept; derive 2D parameter curve from 3D curve when the surface is flat; for true pcurves, evaluate in (u,v) and lift via basis surface.

Notes

**See also**: Gn030, Gp001. Synonyms: "3D curve used where pcurve expected", "associated_geometry has 3D line not 2D pcurve", "Parasolid file with 3D curve in surface_curve slot", "importer expects 2D pcurve gets 3D curve", "flat surface has 3D edge curve instead of parametric".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

Gn030, Gp001

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Gp010: associated_geometry contains 3D curve in lieu of pcurve */
3HEADER;
4FILE_DESCRIPTION(('Gp010'),'2;1');
5FILE_NAME('Gp010.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=PLANE('',#4);
15#6=CARTESIAN_POINT('',(0.0,0.0,0.0));
16#7=CARTESIAN_POINT('',(1.0,0.0,0.0));
17#8=VERTEX_POINT('',#6);
18#9=VERTEX_POINT('',#7);
19#10=DIRECTION('',(1.0,0.0,0.0));
20#11=VECTOR('',#10,1.0);
21#12=LINE('',#6,#11);
22#13=LINE('',#6,#11);
23#14=SURFACE_CURVE('',#12,(#13),.PCURVE_S1.);
24#15=EDGE_CURVE('',#8,#9,#14,.T.);
25#16=ORIENTED_EDGE('',$,$,#15,.T.);
26#17=EDGE_LOOP('',(#16));
27#18=FACE_OUTER_BOUND('',#17,.T.);
28#19=ADVANCED_FACE('',(#18),#5,.T.);
29#20=OPEN_SHELL('',(#19));
30#21=SHELL_BASED_SURFACE_MODEL('',(#20));
31#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
32#9051=PRODUCT('Gp010','Gp010','',(#9050));
33#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
34#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
35#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
36#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
37#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
38#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
39#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
40#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
41#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
42#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#21),#9060);
43#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
44ENDSEC;
45END-ISO-10303-21;