Skip to main content

Impact Build applications open

Learn more
Kipeo Digital
Selected work

Engineering education software

CNC learning system

Engineering students enter a simple milling task and see how each tool choice, spindle speed, feed rate and line of G-code is worked out, with the formula behind every number.

Status
Research prototype
Built by
Kipeo Digital team
Used by
Engineering students and instructors
Built with
Python, FastAPI, Next.js, TypeScript, SQLAlchemy
Monitor showing the CNC Learning System’s toolpath simulation: an end mill cutting a rounded rectangular pocket in an aluminium block, with the teal machining path spiralling inside the pocket and Pocket milling selected.
A learner holding a machined aluminium sample with a rectangular pocket beside a monitor showing the CNC Learning System’s Define the part screen, set to Aluminium and Rectangular pocket.
Interface conceptsA learner matches a real machined pocket to its drawing, then explores the toolpath that cuts it.

Who it’s for

CNC machining is usually taught in separate pieces: a lecture on cutting speeds, a CAM lab, a G-code handout. Commercial CAM software automates the whole chain but hides the reasoning. This system is for undergraduate mechanical engineering students, their instructors and self-learners who need to see how a G-code program is derived, step by step.

What was built

  • The Kipeo Digital team researched and built the system: the Python CNC engine, a FastAPI service and a Next.js interface.
  • The engine validates the task, selects tools, calculates spindle speed and feed rate, sequences operations, generates toolpaths and FANUC-style G-code, and checks the program.
  • Every result carries a plain-language explanation, and the engineering calculations are covered by automated tests.
  • Student and instructor accounts, with an instructor workspace for reviewing students’ work, plus consent-based research participation for evaluating the tool.

From a drilled hole to G-code

The documented demo task is a 100 × 60 × 20 mm aluminium block with one pocket and one 8 mm hole. For the hole, the engine selects an 8 mm twist drill, works out the spindle speed and feed rate from the teaching data, and writes a G81 drilling cycle. Each line of the program is explained to the student, including why the drill returns to a safe height before moving.

Drilling one hole

Output of the system’s own engine, run on its documented demo task

Input

Hole
Ø8 mm, 10 mm deep, at X75 Y45
Tool
T2 · 8 mm HSS twist drill
Cutting speed
25 m/min
Feed per rev
0.15 mm

Calculation

Spindle speed
(25 × 1000) ÷ (π × 8) =994.7 rpm → S995
Feed rate
994.7 × 0.15 =149.2 mm/min → F149.2

Generated G-code

T2 M06
S995 M03
G00 Z25.000
G00 X75.000 Y45.000
G81 X75.000 Y45.000 Z-10.000 R3.000 F149.2
G80
G00 Z25.000
M05

Teaching values and educational G-code, not machine-ready output.

Output from the system’s engineEvery S and F word in the program traces back to a formula the student can read, which is the point of the tool.

Where it stands

Research prototype in active development. Version 1 covers three-axis milling of one pocket and one drilled hole, end to end, from task entry to verified, explained G-code.

The cutting data is labelled illustrative teaching data, and the G-code is educational: it is not meant to be run on a physical machine without qualified review.

Planning something similar? Let’s talk it through.