- Rust 96%
- Python 2.5%
- Shell 1.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| assets | ||
| docs | ||
| examples | ||
| scripts | ||
| src | ||
| tests | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
Feeds & Speeds
A macOS feeds-and-speeds calculator for hobby CNC machines, written in Rust (egui).
Build and run
scripts/revision.sh
Runs the tests, compiles a release build, bundles it as
dist/rN/Feeds & Speeds.app and puts a shortcut Feeds & Speeds rN on the
Desktop. For quick iteration use cargo run.
Print the automatic starting values for a machine, diameter and flute count:
cargo run --example starting_values -- lunyee_3020_nova 6 2
What it does
- Inputs: machine, material, bit (flat, compression, ball nose), flutes, diameter, RPM (or automatic) with your preferred top speed, depth, pocket size, passes and cut type (slot, pocket, finishing).
- Results: pass depth, stepover, feed, plunge and tooth feed (all can be typed over), cutting speed, removal rate, pocket time, and spindle power and tooth force for metals.
- Push it: 0.5× to 1.5× on tooth feed and depth; 1.0 is the sources' value.
- Bit load meter, spindle verdict and tips.
- Material library: 16 materials with every source's figures, plus your own.
Metric only. The whole session is saved as you change it.
The data
Cutting speeds and tooth feeds come from published sources and are combined by taking the middle value. They are starting values that have not been verified by test cuts. Begin with a test cut, and below 1.0× on a new material.
docs/SOURCES.md lists every source, every judgement the app adds and what is missing.
The model
| Quantity | Formula |
|---|---|
| Spindle speed | vc × 1000 / (π × D) |
| Feed | RPM × flutes × tooth feed × chip thinning |
| Chip thinning (ae < D/2) | D / (2 × √(ae × (D − ae))), at most 1.5 |
| Removal rate | ae × ap × feed / 1000 (cm³/min) |
| Cutting force | kc = kc1.1 × h^(−mc) (Kienzle) |
| Cutting power | removal rate × kc / 60 000 (kW) |
| Ball nose cutting diameter | 2 × √(ap × (D − ap)) when ap < D/2 |
The interface uses Roboto (Apache 2.0, see assets/fonts/NOTICE.txt).