Hea007 — Transferring parameter values between 3D curve and pcurve when EDGE_CURVE has B_SPLINE_CURVE_WITH_KNOTS in 3D and a LINE pcurve with non-affine reparam

§12.3 (sub-class: shape-healing) — parameter transfer

P1 — silent data loss

topology

Sources

Description

An EDGE_CURVE whose 3D curve and pcurve are correctly shaped but whose parameter ranges differ by a non-affine reparam (e.g., 3D representation is a non-uniform B_SPLINE_CURVE_WITH_KNOTS with non-uniform knot vector while the pcurve is a uniform LINE). Transferring a list of sample parameters from one representation to the other is non-trivial; naive linear remapping produces wrong sample points; a point at parameter t on one curve doesn't correspond to the same arc-length point on the other.

Reproducer recipe

An EDGE_CURVE whose 3D representation is a non-uniform B_SPLINE_CURVE_WITH_KNOTS and whose pcurve is a uniform LINE — 3D arc-length and pcurve U-distance follow different monotone functions of the underlying parameter.

Expected kernel behavior

apply the actual reparameterization map (often via numerical inversion); reject the transfer if the inversion is ill-conditioned.

Notes

Used internally by other gap-bridging and seam-fixing healers. Synonyms: "non-affine reparam between 3D and pcurve", "naive linear remap produces wrong sample points", "B-spline 3D with line pcurve different parameter spacing", "parameter transfer requires non-affine mapping".

Expected validation

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

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Hea007: EDGE_CURVE with non-uniform B_SPLINE_CURVE_WITH_KNOTS 3D (4 ctrl pts, degree 2, non-uniform knots biased toward x=0) and uniform LINE pcurve (U=0..10); named 'non_uniform_3d' and 'uniform_pcurve'; 3D arc-length and pcurve U-distance follow different monotone functions; ShapeAnalysis_TransferParameters::Perform must use numerical inversion, not linear remap; OCC silently accepts; spec-compliant kernel must reject */
3HEADER;
4FILE_DESCRIPTION(('Hea007'),'2;1');
5FILE_NAME('Hea007.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('host',#4);
15#6=CARTESIAN_POINT('cp0',(0.0,0.0,0.0));
16#7=CARTESIAN_POINT('cp1',(1.0,0.0,0.0));
17#8=CARTESIAN_POINT('cp2',(7.0,0.0,0.0));
18#9=CARTESIAN_POINT('cp3',(10.0,0.0,0.0));
19#10=B_SPLINE_CURVE_WITH_KNOTS('non_uniform_3d',2,(#6,#7,#8,#9),.UNSPECIFIED.,.F.,.F.,(3,1,3),(0.0,0.2,1.0),.UNSPECIFIED.);
20#11=CARTESIAN_POINT('start_pt',(0.0,0.0,0.0));
21#12=VERTEX_POINT('Vstart',#11);
22#13=CARTESIAN_POINT('end_pt',(10.0,0.0,0.0));
23#14=VERTEX_POINT('Vend',#13);
24#15=CARTESIAN_POINT('uv_start',(0.0,0.0));
25#16=DIRECTION('',(1.0,0.0));
26#17=VECTOR('',#16,10.0);
27#18=LINE('uniform_pcurve',#15,#17);
28#19=GEOMETRIC_REPRESENTATION_CONTEXT(2);
29#20=DEFINITIONAL_REPRESENTATION('',( #18),#19);
30#21=PCURVE('uniform_pcurve_in_repr',#5,#20);
31#22=SURFACE_CURVE('non_affine_reparam',#10,(#21),.PCURVE_S1.);
32#23=EDGE_CURVE('non_uniform_3d_uniform_pcurve',#12,#14,#22,.T.);
33#24=ORIENTED_EDGE('',$,$,#23,.T.);
34#25=EDGE_LOOP('single_non_affine_edge',(#24));
35#26=GEOMETRIC_CURVE_SET('',( #25));
36#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
37#9051=PRODUCT('Hea007','Hea007','',(#9050));
38#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
39#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
40#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
41#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
42#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
43#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
44#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
45#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
46#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
47#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#26),#9060);
48#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
49ENDSEC;
50END-ISO-10303-21;