I Open-Sourced the ISO 286 Fit Tables Behind My Tolerance Tool
说明与用途
该仓库提供 ISO 286-2 常用组合的计算表,方便自动化容差分析。
问题
PDF tables for ISO 286-2 were inconvenient to use in code.
结果
The repository provides a lightweight, code-friendly source of ISO 286-2 fit tables for common design subsets, reducing reliance on PDF tables and enabling automated tolerance analysis.
工作流
- 1. Clone the repo from https://github.com/chenzefeng09/iso-286-fits.
- 2. Run the Python script:
python iso286.py 25 H7/p6to get fit limits for a 25 mm hole with H7/p6 fit. - 3. Use the TypeScript module or import
fits.jsonfor integration into other projects. - 4. For non-code use, visit https://nxtolerance.com/standards to view the calculator in a browser.
证据
Tired of PDF tables, I keep a computed subset of ISO 286-2 in code — limits & fits for the hole-basis combinations that actually show up on drawings: IT5–IT8, shafts f/g/h/k/p, all 13 size bands to 500 mm.
Now it's a standalone MIT repo. Three ways to use it: python iso286.py 25 H7/p6 ...
Honest scope note: this is the common-design subset — shafts outside f/g/h/k/p, grades outside IT5–IT8, and shaft-basis fits aren't in it.
- 记录日期: 2026-10-10T04:41:20.875Z