N010 — `EDGE_CURVE` shorter than vertex tolerance (tiny edge covered by vertices, `distance_accuracy` exceeds edge length)

§12.4 (sub-class: hierarchy / sub-tolerance)

P1 — silent data loss

units

Sources

Sender

IGES (also affects STEP)

Description

An `EDGE_CURVE` whose 3D length is less than the bounding vertex tolerances. Typical signature: vertices at (0,0,0) and (5e-5,0,0) — edge length 5e-5 mm — with the global `UNCERTAINTY_MEASURE_WITH_UNIT` / `distance_accuracy` declared as 1e-4 mm, so vertex tolerance is roughly twice the entire edge length. The two vertex tolerance balls already touch each other; the edge geometry adds nothing and trips Boolean / mesh algorithms.

Reproducer recipe

Edge with vertices nearly coincident (gap < tol) and short non-degenerate 3D curve. `IsUClosed`/`IsVClosed` previously returned wrong without a midpoint distance check.

Expected kernel behavior

heal — detect by `len(curve) < tol(V1) + tol(V2)`; remove edge or merge endpoints; preserve adjacent edge wires.

Notes

**See also**: N011. Synonyms: "edge shorter than its endpoint tolerance", "edge length below vertex range", "vertex sphere covers entire edge", "tiny edge under tolerance disc", "edge geometry adds nothing because vertices already merge".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

N011

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* N010: EDGE_CURVE length 5.0E-5 mm < declared tol 1.0E-4 mm; vertex tolerance balls already cover the entire edge; GEOMETRIC_CURVE_SET — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('N010'),'2;1');
5FILE_NAME('N010.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('p0',(0.0,0.0,0.0));
10#2=CARTESIAN_POINT('p1_5e-5_from_p0',(5.0E-05,0.0,0.0));
11#3=VERTEX_POINT('v0',#1);
12#4=VERTEX_POINT('v1',#2);
13#5=DIRECTION('',(1.0,0.0,0.0));
14#6=VECTOR('',#5,5.0E-05);
15#7=LINE('short_line',#1,#6);
16#8=EDGE_CURVE('tiny_edge',#3,#4,#7,.T.);
17#9=GEOMETRIC_CURVE_SET('edges',(#8));
18#10=APPLICATION_CONTEXT('automotive_design');
19#11=PRODUCT_CONTEXT('',#10,'mechanical');
20#12=PRODUCT('N010','N010','',(#11));
21#13=PRODUCT_DEFINITION_FORMATION('','',#12);
22#14=PRODUCT_DEFINITION_CONTEXT('part definition',#10,'design');
23#15=PRODUCT_DEFINITION('','',#13,#14);
24#16=PRODUCT_DEFINITION_SHAPE('','',#15);
25#17=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
26#18=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
27#19=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
28#20=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-4),#17,'distance_accuracy_value','distance_accuracy_covers_edge');
29#21=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#20))GLOBAL_UNIT_ASSIGNED_CONTEXT((#17,#18,#19))REPRESENTATION_CONTEXT('ctx','3D'));
30#22=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#9),#21);
31#23=SHAPE_DEFINITION_REPRESENTATION(#16,#22);
32ENDSEC;
33END-ISO-10303-21;