step-examples/12-3a-shells/Bo030.stp
Sources
- OCCT BRepLib::UpdateInnerTolerances (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
A vertex deep inside a face/shell carries a tolerance value that's smaller than the actual geometric deviation between its 3D point and the curves/surfaces it sits on. The vertex's "tolerance ball" doesn't actually contain the geometry it indexes. Bug-reporter language: "vertex tolerance too small", "tolerance underestimates gap", "inner tolerance lies".
Reproducer recipe
An `EDGE_CURVE` whose endpoints are vertices declared with tolerance `1e-7` but whose 3D coordinates are 1e-3 distant from the curve evaluation at the boundary parameter.
Expected kernel behavior
Heal and accept: recompute inner tolerances from actual deviations; bump tolerance up, or rebuild geometry to match.
Notes
Distinct from N-tolerance entries (which are about declared vs. file-scope tolerance); this is per-vertex. Synonyms: "vertex tolerance too small", "tolerance underestimates gap", "inner tolerance lies", "vertex tolerance ball doesn't cover deviation", "per-vertex tolerance smaller than actual error".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(3) ifc=schema_n/a
Byte assertions
contains(b'EDGE_CURVE')contains(b'VERTEX_POINT')count_entity_def(b'CARTESIAN_POINT') == 3
Tier-3 assertions
load == "ok"
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Bo030: EDGE_CURVE start VERTEX_POINT at (0,1e-3,0) lies 1e-3 from LINE starting at (0,0,0); deviation 1e-3 >> global UNCERTAINTY 1e-7; tolerance ball does NOT cover geometric deviation; defective EDGE_CURVE IS wired into EDGE_LOOPâADVANCED_FACEâCLOSED_SHELLâMANIFOLD_SOLID_BREP shell topology */ 3HEADER; 4FILE_DESCRIPTION(('Bo030'),'2;1'); 5FILE_NAME('Bo030.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=CARTESIAN_POINT('',(0.0,0.0,0.0)); 11#2=CARTESIAN_POINT('off_by_1e-3',(0.0,1.0E-3,0.0)); 12#3=CARTESIAN_POINT('',(1.0,0.0,0.0)); 13#4=VERTEX_POINT('off',#2); 14#5=VERTEX_POINT('',#3); 15#6=VERTEX_POINT('',#1); 16#7=DIRECTION('',(1.0,0.0,0.0)); 17#8=DIRECTION('',(-1.0,0.0,0.0)); 18#9=DIRECTION('',(0.0,1.0,0.0)); 19#10=VECTOR('',#7,1.0); 20#11=VECTOR('',#8,1.0); 21#12=VECTOR('',#9,0.001); 22#13=DIRECTION('',(0.0,0.0,1.0)); 23#14=AXIS2_PLACEMENT_3D('',#1,#13,#7); 24#15=PLANE('',#14); 25#16=LINE('',#1,#10); 26#17=EDGE_CURVE('tolerance_lying',#4,#5,#16,.T.); 27#18=LINE('',#3,#11); 28#19=EDGE_CURVE('',#5,#6,#18,.T.); 29#20=LINE('',#1,#12); 30#21=EDGE_CURVE('',#6,#4,#20,.T.); 31#22=ORIENTED_EDGE('',*,*,#17,.T.); 32#23=ORIENTED_EDGE('',*,*,#19,.T.); 33#24=ORIENTED_EDGE('',*,*,#21,.T.); 34#25=EDGE_LOOP('',(#22,#23,#24)); 35#26=FACE_OUTER_BOUND('',#25,.T.); 36#27=ADVANCED_FACE('',(#26),#15,.T.); 37#28=CLOSED_SHELL('bo030_vtx_tol_underflow',(#27)); 38#29=MANIFOLD_SOLID_BREP('bo030_solid',#28); 39#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 40#9051=PRODUCT('Bo030','Bo030','',(#9050)); 41#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 42#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 43#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 44#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 45#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 46#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 47#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 48#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 49#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 50#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#29),#9060); 51#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 52ENDSEC; 53END-ISO-10303-21;