No description
  • Rust 96%
  • Python 2.5%
  • Shell 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Niklas Jesse 57347693dd Remove a temporary editing script
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:22:34 +01:00
assets Match the website on 8000 cases; add Lunyee preset, Roboto, session saving 2026-11-27 22:44:56 +01:00
docs Replace the model with sourced hobby-CNC cutting data 2026-11-27 23:22:30 +01:00
examples Replace the model with sourced hobby-CNC cutting data 2026-11-27 23:22:30 +01:00
scripts Use metric units throughout; fix unreadable Info.plist 2026-11-27 22:28:17 +01:00
src Replace the model with sourced hobby-CNC cutting data 2026-11-27 23:22:30 +01:00
tests Replace the model with sourced hobby-CNC cutting data 2026-11-27 23:22:30 +01:00
.gitignore Scaffold Rust/eframe app 2026-11-27 22:09:32 +01:00
Cargo.lock Add interface, material library, tests, icon and revision script (r1) 2026-11-27 22:21:17 +01:00
Cargo.toml Add interface, material library, tests, icon and revision script (r1) 2026-11-27 22:21:17 +01:00
README.md Replace the model with sourced hobby-CNC cutting data 2026-11-27 23:22:30 +01:00

Feeds & Speeds

A macOS feeds-and-speeds calculator for hobby CNC machines, written in Rust (egui).

Icon

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).