Packs / engineering-public
tolerance-stack-up
analyse a linear tolerance stack with worst-case and RSS methods and check it against a gap requirement
Install
logicpacks pack use engineering-public/tolerance-stack-upget_pack engineering-public/tolerance-stack-upThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
python-stdlib - Checks: 1 in
outcome/checks.yaml - Code:
stack.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
Analyse a linear tolerance stack with worst-case and RSS methods and check it against a gap requirement.
Steps
- Draw the loop: each dimension with direction (+ adds to the gap, - reduces).
- Run stack.py.
- If worst case fails but RSS passes, decide based on volume and process capability.
Edge cases
- RSS assumes independent, centred, normal distributions.
- Geometric tolerances (flatness, position) need converting to linear contributions.
Don'ts
- Don't use RSS for safety-critical fits.
Routes (free first)
python-stdlib:code/stack.py(no install).