iso

Tolerance
Name: iso

Category: Tolerance

Description:
    Creates a dimension with an ISO fit.

    When a hole and shaft tolerance are provided, the difference between the two is returned along with a visual representation. The order of the tolerances does not matter.

    Nominal values will be converted to millimeters. Tolerances must be a string, e.g. "K7" or "j8". Values are validated upon evaluation.

Syntax:
    iso(nominal, tolerance)
    iso(nominal, tolerance, tolerance2)

Examples:
    a = iso(10 mm, "H7")
        10 H7 +0.0150 +0.0000 mm
    b = iso(10 , "h6") 
        10 h6 +0.0000 -0.0090 mm
    iso(10 mm, "H7", "g6")
        
      ╭─ 10 g6 -0.0050 -0.0140 mm
    ╭───╮
d ─>│   │<─────█████            
    │   │    ╭─────────█████████
 ╭──╮   ╭──╮ │
 │  │<─>│────╯ 4.9999999999996545 um >< 28.999999999999655 um
 ╰──╯ D ╰──╯
    │   │ ╰─ 10 H7 +0.0150 +0.0000 mm
    ╰───╯

    a - b
        12.000000000001593 um ± 12 um

See also: dim