step-examples/12-4-tolerance/N165.stp
Sources
- synthesized — no external source cited
Description
`tolerance_conservatism` — no safety margin
Reproducer recipe
Expected kernel behavior
accept-and-repair: the two edges are measured 0.099999mm apart against a declared 0.1mm tolerance -- inside by a margin of only 1e-6mm (0.001% of the tolerance budget), though this is nowhere near an actual float64 ULP at this magnitude (~1.4e-17). A correct kernel should still merge them as within-tolerance (0.099999 < 0.1), but given the razor-thin margin it is reasonable to log/report a near-boundary match for review rather than merging with the same silent confidence as a comfortably-inside case.
Notes
Provenance tier: bytes-only (Q5 full-corpus 2026-07-01).
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Provenance tier
bytes-only — defect not fully embodied in fixture bytes.
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* N165: tolerance_conservatism no_safety_margin: 2 edges 0.099999mm apart; tol=0.1mm; single-ULP boundary; no margin buffer; GEOMETRIC_CURVE_SET â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('N165'),'2;1'); 5FILE_NAME('N165.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('p0a',(0.0,0.0,0.0)); 10#2=CARTESIAN_POINT('p1a',(1.0,0.0,0.0)); 11#3=CARTESIAN_POINT('p0b_ulp',(0.0,0.099999,0.0)); 12#4=CARTESIAN_POINT('p1b_ulp',(1.0,0.099999,0.0)); 13#5=VERTEX_POINT('v0a',#1); 14#6=VERTEX_POINT('v1a',#2); 15#7=VERTEX_POINT('v0b',#3); 16#8=VERTEX_POINT('v1b',#4); 17#9=DIRECTION('',(1.0,0.0,0.0)); 18#10=VECTOR('',#9,1.0); 19#11=LINE('',#1,#10); 20#12=EDGE_CURVE('eA',#5,#6,#11,.T.); 21#13=VECTOR('',#9,1.0); 22#14=LINE('',#3,#13); 23#15=EDGE_CURVE('eB_ulp',#7,#8,#14,.T.); 24#16=GEOMETRIC_CURVE_SET('ulp_boundary',(#12,#15)); 25#17=APPLICATION_CONTEXT('automotive_design'); 26#18=PRODUCT_CONTEXT('',#17,'mechanical'); 27#19=PRODUCT('N165','N165','',(#18)); 28#20=PRODUCT_DEFINITION_FORMATION('','',#19); 29#21=PRODUCT_DEFINITION_CONTEXT('part definition',#17,'design'); 30#22=PRODUCT_DEFINITION('','',#20,#21); 31#23=PRODUCT_DEFINITION_SHAPE('','',#22); 32#24=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 33#25=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 34#26=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 35#27=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-1),#24,'distance_accuracy_value','tol_boundary'); 36#28=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#27))GLOBAL_UNIT_ASSIGNED_CONTEXT((#24,#25,#26))REPRESENTATION_CONTEXT('ctx','3D')); 37#29=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#16),#28); 38#30=SHAPE_DEFINITION_REPRESENTATION(#23,#29); 39ENDSEC; 40END-ISO-10303-21;