N006 — Pcurve drifts out of sync with 3D-curve parameterisation (geometric flavour)

§12.4 (sub-class: sameparameter)

P1 — silent data loss

topology

Sources

Description

A pcurve was reprojected at non-uniform sampling without rebasing its parameter range, so parameter-by-parameter evaluation against the 3D curve drifts. Some receivers compensate by silently inflating edge tolerance to cover the residual deviation, which hides a real geometric gap; the affected edges show up as "hot" (unusually large tolerance) on a tolerance-summary check.

Reproducer recipe

project a 3D curve onto a host surface with non-uniform spacing; do not rebase parameter; run a topology checker.

Expected kernel behavior

Heal and accept: re-parameterise the pcurve so the same-parameter invariant holds, or reject loudly when the deviation exceeds budget. Silent edge-tolerance inflation discards information.

Notes

**See also**: N004, N005. Synonyms: "pcurve and 3D curve out of sync", "non-uniform pcurve sampling drift", "tolerance silently inflated to cover pcurve drift", "edge tolerance unusually hot after reprojection".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

N004, N005

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* N006: pcurve B_SPLINE_CURVE_WITH_KNOTS has non-uniform knots vs 3D curve; parameter-by-parameter sampling drifts; edge tolerance silently inflated to 1.0E-3; GEOMETRIC_CURVE_SET — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('N006'),'2;1');
5FILE_NAME('N006.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('bs3d_p0',(0.0,0.0,0.0));
10#2=CARTESIAN_POINT('bs3d_p1',(10.0,0.0,0.0));
11#3=B_SPLINE_CURVE_WITH_KNOTS('bspline3d',1,(#1,#2),.UNSPECIFIED.,.F.,.F.,(2,2),(0.0,1.0),.UNSPECIFIED.);
12#4=VERTEX_POINT('v0',#1);
13#5=VERTEX_POINT('v1',#2);
14#6=CARTESIAN_POINT('plane_orig',(0.0,0.0,0.0));
15#7=DIRECTION('',(0.0,0.0,1.0));
16#8=DIRECTION('',(1.0,0.0,0.0));
17#9=AXIS2_PLACEMENT_3D('',#6,#7,#8);
18#10=PLANE('host_plane',#9);
19#11=(GEOMETRIC_REPRESENTATION_CONTEXT(2)GLOBAL_UNIT_ASSIGNED_CONTEXT($)REPRESENTATION_CONTEXT('uv_ctx','2D'));
20#12=CARTESIAN_POINT('pc_p0',(0.0,0.0));
21#13=CARTESIAN_POINT('pc_p1',(10.0,0.0));
22#14=B_SPLINE_CURVE_WITH_KNOTS('bspline_pc',1,(#12,#13),.UNSPECIFIED.,.F.,.F.,(2,2),(0.0,1.5),.UNSPECIFIED.);
23#15=DEFINITIONAL_REPRESENTATION('pdef',(#14),#11);
24#16=PCURVE('pc_drift',#10,#15);
25#17=SURFACE_CURVE('sc_drift',#3,(#16),.PCURVE_S1.);
26#18=EDGE_CURVE('edge_drift',#4,#5,#17,.T.);
27#19=GEOMETRIC_CURVE_SET('drift_set',(#18));
28#20=APPLICATION_CONTEXT('automotive_design');
29#21=PRODUCT_CONTEXT('',#20,'mechanical');
30#22=PRODUCT('N006','N006','',(#21));
31#23=PRODUCT_DEFINITION_FORMATION('','',#22);
32#24=PRODUCT_DEFINITION_CONTEXT('part definition',#20,'design');
33#25=PRODUCT_DEFINITION('','',#23,#24);
34#26=PRODUCT_DEFINITION_SHAPE('','',#25);
35#27=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
36#28=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
37#29=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
38#30=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-3),#27,'distance_accuracy_value','silently_inflated_hot_edge_tol');
39#31=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#30))GLOBAL_UNIT_ASSIGNED_CONTEXT((#27,#28,#29))REPRESENTATION_CONTEXT('ctx','3D'));
40#32=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#19),#31);
41#33=SHAPE_DEFINITION_REPRESENTATION(#26,#32);
42ENDSEC;
43END-ISO-10303-21;