N172 — `seq-set-tolerance` "outside acceptable band" clamp, on a live face

§12.4 tolerance (sub-class: settol band clamp, live-shape subvariant)

P2 — spec deviation (no data loss)

topology

Sources

Sender

deduced — OCCT uncovered-class sweep

Description

A live 1-face quad whose bottom-left vertex is displaced 0.05mm from its edge's authored `LINE` (only that endpoint — the ordinary per-vertex-bump path, not the line-shift path N174 covers). the edge-translation stage bumps that vertex's tolerance to `1.000001*0.05≈0.0500000500` — three orders of magnitude above the file's declared 1.0E-7 model uncertainty and any realistic `settol` target band. The `ShapeProcess` `"SetTolerance"` operator (`settol`) calls the tolerance-limiting pass(shape, val/ratio, val*ratio)`; against this fixture's live, reader-produced tolerance data (not N001's `shape_null==True` scaffold), the outlier genuinely falls outside a realistic band and gets clamped.

Reproducer recipe

a 1-face `ADVANCED_FACE`/`OPEN_SHELL` whose bottom-left `VERTEX_POINT` sits 0.05mm off the corresponding edge's authored `LINE` (temp1≠temp2, so the ordinary per-vertex bump fires, not the line-shift branch), wrapped in a normal product chain.

Expected kernel behavior

`settol` (or an equivalent tolerance-sanity pass) should be applied by default, or the reader should surface a diagnostic when a repaired tolerance lands far outside any declared-uncertainty-derived band, rather than leaving the outlier silently in place unless a user opts in to `SetTolerance`.

Notes

Live-verified (2026-07-12, OCP 7.8.1, direct probing — not mirrored/guessed): after the reader.TransferRoots()`, the displaced vertex's tolerance is exactly `0.05000005` (== `1.000001*0.05`). Calling the tolerance-limiting pass().LimitTolerance(shape, 1.0E-4, 1.0E-2)` — the exact API `settol` invokes, band `[val/ratio,val*ratio]` with val=1.0E-3, ratio=10 — on this live shape returns `True` (at least one tolerance modified) and clamps that vertex's tolerance DOWN to `0.01`; the four untouched vertices (at the file's declared `1.0E-7` uncertainty) simultaneously get raised UP to the band floor `0.0001`. `settol` is an opt-in `ShapeProcess` sequence operator (same category as this corpus's `dropsmallsolids`-driven Tsh238/Tsh239), not run by the reader's default transfer. Provenance tier: runtime-only (the operator is opt-in; the fixture delivers a live shape with a genuinely out-of-band tolerance for the operator to act on, demonstrated via a direct, documented API call reproducing `settol`'s own invocation). **See also**: N001 (dead scaffold precedent), N174 (sibling per-vertex-bump mechanism, line-shift subvariant), N173 (multi-vertex/multi-edge sibling). Synonyms: "tolerance outside acceptable band", "settol clamp", "the tolerance-limiting pass LimitTolerance band violation", "reader-inflated vertex tolerance exceeds target ratio".

Expected validation

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

Provenance tier

runtime-only — defect not fully embodied in fixture bytes.

Byte assertions

Tier-3 assertions

Cross-references

N001, N174, N173, Tsh238, Tsh239

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* N172: seq-set-tolerance 'outside acceptable band' clamp subvariant, on a live face */
3/* DEFECT: bottom-left vertex displaced 0.05mm from its edge's authored LINE -- reader */
4/* tolerance-inflation bumps that vertex to ~0.05mm, far outside any realistic settol band */
5HEADER;
6FILE_DESCRIPTION(('N172: seq-set-tolerance outside-band clamp subvariant, live face'),'2;1');
7FILE_NAME('N172.stp','2026-07-12T00:00:00',(''),(''),'cad-research-suite','','');
8FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
9ENDSEC;
10DATA;
11#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
12#2=DIRECTION('',(0.0,0.0,1.0));
13#3=DIRECTION('',(1.0,0.0,0.0));
14#4=AXIS2_PLACEMENT_3D('',#1,#2,#3);
15#5=PLANE('',#4);
16/* DEFECT: bottom-left vertex displaced 0.05mm off the authored LINE's y=0.0; the other */
17/* endpoint (bottom-right, #7) is NOT displaced -- ordinary per-vertex bump, not line-shift */
18#6=CARTESIAN_POINT('bottom_left_displaced_0p05',(0.0,0.05,0.0));
19#7=CARTESIAN_POINT('',(10.0,0.0,0.0));
20#8=CARTESIAN_POINT('',(10.0,5.0,0.0));
21#9=CARTESIAN_POINT('',(0.0,5.0,0.0));
22#10=VERTEX_POINT('',#6);
23#11=VERTEX_POINT('',#7);
24#12=VERTEX_POINT('',#8);
25#13=VERTEX_POINT('',#9);
26#14=CARTESIAN_POINT('line_nominal_origin',(0.0,0.0,0.0));
27#15=DIRECTION('',(1.0,0.0,0.0));
28#16=VECTOR('',#15,10.0);
29#17=LINE('bottom_edge_nominal',#14,#16);
30#18=EDGE_CURVE('bottom_edge_one_vertex_displaced',#10,#11,#17,.T.);
31#19=DIRECTION('',(0.0,1.0,0.0));
32#20=VECTOR('',#19,5.0);
33#21=LINE('',#7,#20);
34#22=EDGE_CURVE('',#11,#12,#21,.T.);
35#23=DIRECTION('',(-1.0,0.0,0.0));
36#24=VECTOR('',#23,10.0);
37#25=LINE('',#8,#24);
38#26=EDGE_CURVE('',#12,#13,#25,.T.);
39#27=DIRECTION('',(0.0,-1.0,0.0));
40#28=VECTOR('',#27,5.0);
41#29=LINE('',#9,#28);
42#30=EDGE_CURVE('',#13,#10,#29,.T.);
43#31=ORIENTED_EDGE('',$,$,#18,.T.);
44#32=ORIENTED_EDGE('',$,$,#22,.T.);
45#33=ORIENTED_EDGE('',$,$,#26,.T.);
46#34=ORIENTED_EDGE('',$,$,#30,.T.);
47#35=EDGE_LOOP('',(#31,#32,#33,#34));
48#36=FACE_OUTER_BOUND('',#35,.T.);
49#37=ADVANCED_FACE('',(#36),#5,.T.);
50#38=OPEN_SHELL('',(#37));
51#39=SHELL_BASED_SURFACE_MODEL('',(#38));
52#9000=APPLICATION_CONTEXT('mechanical design');
53#9001=PRODUCT_CONTEXT('',#9000,'mechanical');
54#9002=PRODUCT('N172','N172','',(#9001));
55#9003=PRODUCT_DEFINITION_FORMATION('','',#9002);
56#9004=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
57#9005=PRODUCT_DEFINITION('','',#9003,#9004);
58#9006=PRODUCT_DEFINITION_SHAPE('','',#9005);
59#9007=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
60#9008=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
61#9009=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
62#9010=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9007,'distance_accuracy_value','');
63#9011=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9010))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9007,#9008,#9009))REPRESENTATION_CONTEXT('','3D'));
64#9012=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#39),#9011);
65#9013=SHAPE_DEFINITION_REPRESENTATION(#9006,#9012);
66ENDSEC;
67END-ISO-10303-21;