Packs / manufacturing-public
cnc-feeds-speeds
Calculate spindle RPM and feed rate for a milling cut from cutting speed, tool diameter, flutes and chip load
Install
logicpacks pack use manufacturing-public/cnc-feeds-speedsget_pack manufacturing-public/cnc-feeds-speedsThe 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:
local-python - Checks: 2 in
outcome/checks.yaml - Code:
feeds.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
RPM and feed (mm/min) for a tool/material pair, capped by the machine's max RPM, with the formula shown.
Verified by: Known textbook values: Vc 200 m/min, D 10 mm -> 6366 RPM; z 3, fz 0.05 -> 955 mm/min.
Steps
- Look up Vc and fz for the material in the tool maker's chart.
- Run
python3 code/feeds.py --vc 200 --d 10 --z 3 --fz 0.05 --max-rpm 24000. - Start at 80% feed on the first cut; listen and adjust.
Edge cases
- If RPM is capped by the machine, feed is recomputed from the capped RPM.
- Small tools: chip thinning on light radial engagement allows higher feed (not modelled here).
Don'ts
- Don't exceed the tool maker's chip load.
- Don't use wood values for aluminium.