Fit Class
fit_classCalculates ISO 286 hole and shaft limits for a fit code (e.g., H7/g6), returning clearances, deviations, and interference probability for mechanical design.
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 |