N037 — Curve gaps between adjacent segments after format conversion (LOTAR exchange defect)

§12.4 (sub-class: cross-kernel translation drift)

P1 — silent data loss

pmi

Sources

Description

After format conversion the endpoints of adjacent 3D curve segments along a wire no longer meet within geometric tolerance; a class introduced *by translation*, not present in the native model. Source seam tolerance 1e-3 through a kernel that demands 1e-5 leaves position, cross-tangent, and cross-curvature gaps.

Reproducer recipe

Concatenated `B_SPLINE_CURVE_WITH_KNOTS` segments where end control points of segment N do not equal start control points of segment N+1 within `geometric_representation_context` tolerance.

Expected kernel behavior

bridge the segment endpoints by adjusting curve endpoints (or inserting connecting curves) so the wire is geometrically connected within the receiving kernel's working tolerance; or reject as a translation-fidelity issue.

Notes

Synonyms: "curve segments don't meet after conversion", "wire gaps introduced by translation", "tangent gaps after kernel translation", "LOTAR exchange leaves wire breaks".

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/* N037: 2 B_SPLINE_CURVE_WITH_KNOTS segments; end of seg1 at x=10.0001, start of seg2 at x=10.0; gap 1.0E-4 > declared tol 1.0E-5; GEOMETRIC_CURVE_SET — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('N037'),'2;1');
5FILE_NAME('N037.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('bs1_start',(0.0,0.0,0.0));
10#2=CARTESIAN_POINT('bs1_end_overshoot',(10.0001,0.0,0.0));
11#3=B_SPLINE_CURVE_WITH_KNOTS('seg1',1,(#1,#2),.UNSPECIFIED.,.F.,.F.,(2,2),(0.0,1.0),.UNSPECIFIED.);
12#4=VERTEX_POINT('v1s',#1);
13#5=VERTEX_POINT('v1e',#2);
14#6=EDGE_CURVE('edge1',#4,#5,#3,.T.);
15#7=CARTESIAN_POINT('bs2_start_nominal',(10.0,0.0,0.0));
16#8=CARTESIAN_POINT('bs2_end',(20.0,0.0,0.0));
17#9=B_SPLINE_CURVE_WITH_KNOTS('seg2',1,(#7,#8),.UNSPECIFIED.,.F.,.F.,(2,2),(0.0,1.0),.UNSPECIFIED.);
18#10=VERTEX_POINT('v2s',#7);
19#11=VERTEX_POINT('v2e',#8);
20#12=EDGE_CURVE('edge2',#10,#11,#9,.T.);
21#13=GEOMETRIC_CURVE_SET('seg_gap',(#6,#12));
22#14=APPLICATION_CONTEXT('automotive_design');
23#15=PRODUCT_CONTEXT('',#14,'mechanical');
24#16=PRODUCT('N037','N037','',(#15));
25#17=PRODUCT_DEFINITION_FORMATION('','',#16);
26#18=PRODUCT_DEFINITION_CONTEXT('part definition',#14,'design');
27#19=PRODUCT_DEFINITION('','',#17,#18);
28#20=PRODUCT_DEFINITION_SHAPE('','',#19);
29#21=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
30#22=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
31#23=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
32#24=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-5),#21,'distance_accuracy_value','lotar_exchange_precision');
33#25=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#24))GLOBAL_UNIT_ASSIGNED_CONTEXT((#21,#22,#23))REPRESENTATION_CONTEXT('ctx','3D'));
34#26=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#13),#25);
35#27=SHAPE_DEFINITION_REPRESENTATION(#20,#26);
36ENDSEC;
37END-ISO-10303-21;