N008 — Inner-hole wire has two near-parallel B-spline edges sharing only their common endpoint (no crossing); five inert GLOBAL uncertainty entries labelled as a healing cascade

§12.4 (sub-class: vertex tolerance bumps / healing cascade)

units

Sources

Description

A closed-shell cube whose top face has an inner-loop hole bounded by two B-spline edges (`curveA`, `curveB`) that both end at a shared vertex and stay within ~2.5e-4mm of each other along their length, but do not cross — a genuine near-tangent, non-intersecting pair. The file separately carries five `UNCERTAINTY_MEASURE_WITH_UNIT` entities (values `1.0E-7` through `1.0E-3`) inside one `GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT`, with labels suggesting successive healing passes; these are static file-level metadata, not evidence of any actual tolerance-inflation process (no self-intersection exists for a healer to act on, and OCCT reads all 54 vertices at the default `1e-7` tolerance, aside from one unrelated `10.0001` outlier).

Reproducer recipe

Face with pcurve self-intersecting within the kernel's confusion tolerance. Apply self-intersection repair repeatedly. Track vertex tolerance per pass.

Expected kernel behavior

cap tolerance inflation, warn when a single healing pass inflates a vertex tolerance beyond a stated multiple of the file-level uncertainty measure, or refuse to heal further once tolerance balls overlap adjacent features. Carrying a "healed" provenance flag on inflated tolerances helps downstream consumers reject silent loss of fidelity.

Notes

Corrected 2026-08-07 (title-vs-bytes audit): retitled/redescribed — original claimed a self-intersection-triggered, multi-pass vertex-tolerance-inflation cascade; direct curve evaluation shows the two inner-loop edges never cross (they share only their common endpoint), and the five `UNCERTAINTY_MEASURE_WITH_UNIT` entries are inert file-level metadata with suggestive labels, not an executed healing sequence — no such per-vertex cascade exists in STEP/AP214, which has no per-vertex tolerance entity. Synonyms: "near-tangent non-crossing B-spline pair sharing an endpoint", "five global uncertainty entries with pass-labelled names but no functional cascade", "tolerance-cascade labels are decorative, not computed".

Expected validation

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

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* N008: CLOSED_SHELL cube; top face has inner wire with two near-tangent B_SPLINE_CURVE edges crossing at ~2.5e-4 mm; FixSelfIntersection cascades inflate vertex tolerance: 1e-7→1e-6→1e-5→1e-4→1e-3; five UNCERTAINTY_MEASURE_WITH_UNIT entries record the cascade growth */
3HEADER;
4FILE_DESCRIPTION(('N008'),'2;1');
5FILE_NAME('N008.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('',(0.0,0.0,0.0));
10#2=CARTESIAN_POINT('',(10.0,0.0,0.0));
11#3=CARTESIAN_POINT('',(10.0,10.0,0.0));
12#4=CARTESIAN_POINT('',(0.0,10.0,0.0));
13#5=CARTESIAN_POINT('',(0.0,0.0,10.0));
14#6=CARTESIAN_POINT('',(10.0,0.0,10.0));
15#7=CARTESIAN_POINT('',(10.0,10.0,10.0));
16#8=CARTESIAN_POINT('',(0.0,10.0,10.0));
17#9=VERTEX_POINT('',#1);
18#10=VERTEX_POINT('',#2);
19#11=VERTEX_POINT('',#3);
20#12=VERTEX_POINT('',#4);
21#13=VERTEX_POINT('',#5);
22#14=VERTEX_POINT('',#6);
23#15=VERTEX_POINT('',#7);
24#16=VERTEX_POINT('',#8);
25#17=DIRECTION('+x',(1.0,0.0,0.0));
26#18=DIRECTION('+y',(0.0,1.0,0.0));
27#19=DIRECTION('+z',(0.0,0.0,1.0));
28#20=DIRECTION('-x',(-1.0,0.0,0.0));
29#21=DIRECTION('-y',(0.0,-1.0,0.0));
30#22=VECTOR('vx10',#17,10.0);
31#23=VECTOR('vy10',#18,10.0);
32#24=VECTOR('vz10',#19,10.0);
33#25=LINE('',#1,#22);
34#26=EDGE_CURVE('e_b0',#9,#10,#25,.T.);
35#27=LINE('',#2,#23);
36#28=EDGE_CURVE('e_b1',#10,#11,#27,.T.);
37#29=LINE('',#4,#22);
38#30=EDGE_CURVE('e_b2',#12,#11,#29,.T.);
39#31=LINE('',#1,#23);
40#32=EDGE_CURVE('e_b3',#9,#12,#31,.T.);
41#33=LINE('',#5,#22);
42#34=EDGE_CURVE('e_t0',#13,#14,#33,.T.);
43#35=LINE('',#6,#23);
44#36=EDGE_CURVE('e_t1',#14,#15,#35,.T.);
45#37=LINE('',#8,#22);
46#38=EDGE_CURVE('e_t2',#16,#15,#37,.T.);
47#39=LINE('',#5,#23);
48#40=EDGE_CURVE('e_t3',#13,#16,#39,.T.);
49#41=LINE('',#1,#24);
50#42=EDGE_CURVE('e_v0',#9,#13,#41,.T.);
51#43=LINE('',#2,#24);
52#44=EDGE_CURVE('e_v1',#10,#14,#43,.T.);
53#45=LINE('',#3,#24);
54#46=EDGE_CURVE('e_v2',#11,#15,#45,.T.);
55#47=LINE('',#4,#24);
56#48=EDGE_CURVE('e_v3',#12,#16,#47,.T.);
57#49=AXIS2_PLACEMENT_3D('p_bot',#1,#21,#17);
58#50=PLANE('s_bot',#49);
59#51=AXIS2_PLACEMENT_3D('p_top',#5,#19,#17);
60#52=PLANE('s_top',#51);
61#53=AXIS2_PLACEMENT_3D('p_x0',#1,#20,#18);
62#54=PLANE('s_x0',#53);
63#55=AXIS2_PLACEMENT_3D('p_x1',#2,#17,#18);
64#56=PLANE('s_x1',#55);
65#57=AXIS2_PLACEMENT_3D('p_y0',#1,#21,#17);
66#58=PLANE('s_y0',#57);
67#59=AXIS2_PLACEMENT_3D('p_y1',#4,#18,#17);
68#60=PLANE('s_y1',#59);
69#61=CARTESIAN_POINT('inner_v',(5.0,5.0,10.0));
70#62=VERTEX_POINT('shared_v',#61);
71#63=CARTESIAN_POINT('',(4.0,4.999875,10.0));
72#64=CARTESIAN_POINT('',(4.5,5.0,10.0));
73#65=CARTESIAN_POINT('',(4.8,4.99985,10.0));
74#66=CARTESIAN_POINT('',(5.0,5.0,10.0));
75#67=B_SPLINE_CURVE_WITH_KNOTS('curveA',3,(#63,#64,#65,#66),.UNSPECIFIED.,.F.,.F.,(4,4),(0.0,1.0),.UNSPECIFIED.);
76#68=VERTEX_POINT('A_start',#63);
77#69=EDGE_CURVE('selfint_A',#68,#62,#67,.T.);
78#70=CARTESIAN_POINT('',(4.0,5.000125,10.0));
79#71=CARTESIAN_POINT('',(4.5,5.0,10.0));
80#72=CARTESIAN_POINT('',(4.8,5.00015,10.0));
81#73=CARTESIAN_POINT('',(5.0,5.0,10.0));
82#74=B_SPLINE_CURVE_WITH_KNOTS('curveB',3,(#70,#71,#72,#73),.UNSPECIFIED.,.F.,.F.,(4,4),(0.0,1.0),.UNSPECIFIED.);
83#75=VERTEX_POINT('B_start',#70);
84#76=EDGE_CURVE('selfint_B',#75,#62,#74,.T.);
85#77=DIRECTION('inner_d1',(0.0,1.0,0.0));
86#78=VECTOR('inner_v1',#77,0.00025);
87#79=LINE('inner_l1',#63,#78);
88#80=EDGE_CURVE('inner_close',#68,#75,#79,.T.);
89#81=ORIENTED_EDGE('',$,$,#69,.T.);
90#82=ORIENTED_EDGE('',$,$,#76,.F.);
91#83=ORIENTED_EDGE('',$,$,#80,.F.);
92#84=EDGE_LOOP('inner_loop',(#81,#82,#83));
93#85=FACE_BOUND('inner_hole',#84,.F.);
94#86=ORIENTED_EDGE('',$,$,#26,.T.);
95#87=ORIENTED_EDGE('',$,$,#28,.T.);
96#88=ORIENTED_EDGE('',$,$,#30,.F.);
97#89=ORIENTED_EDGE('',$,$,#32,.F.);
98#90=EDGE_LOOP('',(#86,#87,#88,#89));
99#91=FACE_OUTER_BOUND('',#90,.T.);
100#92=ADVANCED_FACE('bottom',(#91),#50,.T.);
101#93=ORIENTED_EDGE('',$,$,#34,.T.);
102#94=ORIENTED_EDGE('',$,$,#36,.T.);
103#95=ORIENTED_EDGE('',$,$,#38,.F.);
104#96=ORIENTED_EDGE('',$,$,#40,.F.);
105#97=EDGE_LOOP('',(#93,#94,#95,#96));
106#98=FACE_OUTER_BOUND('',#97,.T.);
107#99=ADVANCED_FACE('top_with_hole',(#98,#85),#52,.T.);
108#100=ORIENTED_EDGE('',$,$,#32,.T.);
109#101=ORIENTED_EDGE('',$,$,#48,.T.);
110#102=ORIENTED_EDGE('',$,$,#40,.F.);
111#103=ORIENTED_EDGE('',$,$,#42,.F.);
112#104=EDGE_LOOP('',(#100,#101,#102,#103));
113#105=FACE_OUTER_BOUND('',#104,.T.);
114#106=ADVANCED_FACE('x0',(#105),#54,.T.);
115#107=ORIENTED_EDGE('',$,$,#28,.T.);
116#108=ORIENTED_EDGE('',$,$,#46,.T.);
117#109=ORIENTED_EDGE('',$,$,#36,.F.);
118#110=ORIENTED_EDGE('',$,$,#44,.F.);
119#111=EDGE_LOOP('',(#107,#108,#109,#110));
120#112=FACE_OUTER_BOUND('',#111,.T.);
121#113=ADVANCED_FACE('x1',(#112),#56,.T.);
122#114=ORIENTED_EDGE('',$,$,#26,.T.);
123#115=ORIENTED_EDGE('',$,$,#44,.T.);
124#116=ORIENTED_EDGE('',$,$,#34,.F.);
125#117=ORIENTED_EDGE('',$,$,#42,.F.);
126#118=EDGE_LOOP('',(#114,#115,#116,#117));
127#119=FACE_OUTER_BOUND('',#118,.T.);
128#120=ADVANCED_FACE('y0',(#119),#58,.T.);
129#121=ORIENTED_EDGE('',$,$,#30,.T.);
130#122=ORIENTED_EDGE('',$,$,#46,.T.);
131#123=ORIENTED_EDGE('',$,$,#38,.F.);
132#124=ORIENTED_EDGE('',$,$,#48,.F.);
133#125=EDGE_LOOP('',(#121,#122,#123,#124));
134#126=FACE_OUTER_BOUND('',#125,.T.);
135#127=ADVANCED_FACE('y1',(#126),#60,.T.);
136#128=CLOSED_SHELL('cube_shell',(#92,#99,#106,#113,#120,#127));
137#129=MANIFOLD_SOLID_BREP('cube',#128);
138#130=APPLICATION_CONTEXT('automotive design');
139#131=PRODUCT_CONTEXT('',#130,'mechanical');
140#132=PRODUCT('N008','N008','',(#131));
141#133=PRODUCT_DEFINITION_FORMATION('','',#132);
142#134=PRODUCT_DEFINITION_CONTEXT('part definition',#130,'design');
143#135=PRODUCT_DEFINITION('','',#133,#134);
144#136=PRODUCT_DEFINITION_SHAPE('','',#135);
145#137=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
146#138=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
147#139=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
148#140=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#137,'distance_accuracy_value','vertex_tol_pass0_native');
149#141=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-6),#137,'distance_accuracy_value','vertex_tol_pass1');
150#142=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-5),#137,'distance_accuracy_value','vertex_tol_pass2');
151#143=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-4),#137,'distance_accuracy_value','vertex_tol_pass3');
152#144=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-3),#137,'distance_accuracy_value','vertex_tol_pass4_overrun');
153#145=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#140,#141,#142,#143,#144))GLOBAL_UNIT_ASSIGNED_CONTEXT((#137,#138,#139))REPRESENTATION_CONTEXT('ctx','3D'));
154#146=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#129),#145);
155#147=SHAPE_DEFINITION_REPRESENTATION(#136,#146);
156ENDSEC;
157END-ISO-10303-21;