fit_class
Calculate ISO 286 limits, deviations, and clearances for hole-basis fit codes such as H7/g6 from a basic size in mm, returning hole and shaft ranges plus interference probability.
Instructions
ISO 286 limits for a fit code (e.g. 'H7/g6'), in mm. v1 covers a hole-basis H with shaft clearance letters (h, g, f, e). Returns {basic_size, fit, hole:{upper_dev,lower_dev,min,max}, shaft:{...}, fit_class, min_clearance, max_clearance, prob_interference}. Errors on an out-of-table size (>500 mm) or an unsupported code (non-H hole or interference shaft letter).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | H7/g6 | |
| basic_size | Yes |