fit

Tolerance
Name: fit

Category: Tolerance

Description:
    Creates a fit dimension from a shaft and a hole dimension, returning the clearance (hole − shaft) with limits and an ASCII visualization.

Syntax:
    fit(shaft, hole)

Examples:
    fit(dim(3 mm, 0.01 mm), dim(3.02 mm, 0.01 mm))
        
      ╭─ 3 mm ± 10.000000000000002 um
    ╭───╮
d ─>│   │<─────█████████        
    │   │    ╭──────────████████
 ╭──╮   ╭──╮ │
 │  │<─>│────╯ 50.82197683525803 zm >< 40.00000000000005 um
 ╰──╯ D ╰──╯
    │   │ ╰─ 3.02 mm ± 10.000000000000002 um
    ╰───╯


See also: shaft_hole, iso, dim