Twi048 — Vertex tolerance smaller than the edge endpoint discrepancy it must absorb

§12.3b wires / loops / edges (sub-class: tolerance budget)

P1 — silent data loss

topology

Sources

Description

A VERTEX_POINT carries (or inherits) a tolerance of 1e-6, but the edge curve's evaluation at the endpoint is 5e-3 away from the vertex. The vertex's tolerance ball does not reach the curve, so any "is this point on this edge?" query fails. Often produced by senders that compute vertex tolerance globally rather than per-incident-edge.

Reproducer recipe

Square face where one corner vertex is positioned at `(10.005, 10, 0)` while the adjoining edges' 3D LINE curves run between `(10,0)` and `(10,10)`; global UNCERTAINTY_MEASURE_WITH_UNIT declared at 1e-6 mm.

Expected kernel behavior

detect the tolerance shortfall; either inflate the vertex tolerance to cover the discrepancy, snap the vertex to the curve, or reject the edge as not same-parameter. Excessive tolerance inflation should be flagged as a quality regression.

Notes

Cascading inflation is a known anti-pattern (see N008). Synonyms: "vertex tolerance ball doesn't reach the curve", "endpoint discrepancy too big for declared tolerance", "tolerance budget too small for vertex offset", "vertex sits off the line by more than its tolerance".

Expected validation

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

Closure intent

sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.

Byte assertions

Tier-3 assertions

Cross-references

N008

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Twi048: ADVANCED_FACE on a PLANE (10x10 square); EDGE_LOOP contains four EDGE_CURVEs; the top-right VERTEX_POINT is declared at (10.005,10.0,0.0) — offset 0.005 from where the adjoining edges' LINE curves evaluate; UNCERTAINTY_MEASURE_WITH_UNIT sets global tolerance 1e-6 which cannot absorb the 5e-3 endpoint discrepancy; the vertex tolerance ball does not reach the incident curves IS the mechanism; all VERTEX_POINTs and EDGE_CURVEs ARE wired into EDGE_LOOP → FACE_OUTER_BOUND → ADVANCED_FACE in shell — never orphaned; kernel must detect the shortfall and inflate vertex tolerance, snap vertex to curve, or reject the edge as not same-parameter */
3HEADER;
4FILE_DESCRIPTION(('Twi048'),'2;1');
5FILE_NAME('Twi048.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=LENGTH_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-06),#*);
11#2=GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT('3D LENGTH','',1.0E-06,'MM');
12#3=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-06),#*,'distance_accuracy_value','');
13#4=CARTESIAN_POINT('',(0.0,0.0,0.0));
14#5=DIRECTION('',(0.0,0.0,1.0));
15#6=DIRECTION('',(1.0,0.0,0.0));
16#7=AXIS2_PLACEMENT_3D('',#4,#5,#6);
17#8=PLANE('',#7);
18#9=CARTESIAN_POINT('',(0.0,0.0,0.0));
19#10=VERTEX_POINT('',#9);
20#11=CARTESIAN_POINT('',(10.0,0.0,0.0));
21#12=VERTEX_POINT('',#11);
22#13=CARTESIAN_POINT('',(10.005,10.0,0.0));
23#14=VERTEX_POINT('',#13);
24#15=CARTESIAN_POINT('',(0.0,10.0,0.0));
25#16=VERTEX_POINT('',#15);
26#17=CARTESIAN_POINT('',(0.0,0.0,0.0));
27#18=DIRECTION('',(1.0,0.0,0.0));
28#19=VECTOR('',#18,10.0);
29#20=LINE('',#17,#19);
30#21=EDGE_CURVE('',#10,#12,#20,.T.);
31#22=ORIENTED_EDGE('',$,$,#21,.T.);
32#23=CARTESIAN_POINT('',(10.0,0.0,0.0));
33#24=DIRECTION('',(0.0,1.0,0.0));
34#25=VECTOR('',#24,10.0);
35#26=LINE('',#23,#25);
36#27=EDGE_CURVE('',#12,#14,#26,.T.);
37#28=ORIENTED_EDGE('',$,$,#27,.T.);
38#29=CARTESIAN_POINT('',(10.005,10.0,0.0));
39#30=DIRECTION('',(-1.0,0.0,0.0));
40#31=VECTOR('',#30,10.005);
41#32=LINE('',#29,#31);
42#33=EDGE_CURVE('',#14,#16,#32,.T.);
43#34=ORIENTED_EDGE('',$,$,#33,.T.);
44#35=CARTESIAN_POINT('',(0.0,10.0,0.0));
45#36=DIRECTION('',(0.0,-1.0,0.0));
46#37=VECTOR('',#36,10.0);
47#38=LINE('',#35,#37);
48#39=EDGE_CURVE('',#16,#10,#38,.T.);
49#40=ORIENTED_EDGE('',$,$,#39,.T.);
50#41=EDGE_LOOP('',(#22,#28,#34,#40));
51#42=FACE_OUTER_BOUND('',#41,.T.);
52#43=ADVANCED_FACE('',(#42),#8,.T.);
53#44=CLOSED_SHELL('',(#43));
54#45=SHELL_BASED_SURFACE_MODEL('',(#44));
55#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
56#9051=PRODUCT('Twi048','Twi048','',(#9050));
57#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
58#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
59#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
60#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
61#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
62#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
63#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
64#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
65#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
66#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#45),#9060);
67#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
68ENDSEC;
69END-ISO-10303-21;