Skip to content

Releases: rudra496/cnc

🎉 CNC Simulator Pro v1.0.0 — Free 3D CNC Milling & G-code Simulator

Choose a tag to compare

@rudra496 rudra496 released this 03 Jul 21:36

🎉 CNC Simulator Pro v1.0.0

The first official release of CNC Simulator Pro — a free, open-source, browser-based 3-axis CNC milling simulator with real-time G-code animation and real 3D material removal.

🚀 Live Demo

👉 rudra496.github.io/cnc — no install, no signup, 100% client-side.

✨ What's Included

3D Machine & Simulation

  • High-fidelity gantry VMC (base, T-slot table, columns, moving bridge, quill, spindle)
  • Real material removal — the workpiece is actually milled as the tool follows the program
  • Per-tool geometry — 8 tools (end mills, drills, ball nose, chamfer, face mill, spot drill, reamer) each carve with their real diameter
  • Live toolpath rendering with arc tessellation, PBR materials, soft shadows, environment reflections

Controller Console

  • LCD-style DRO with live X/Y/Z coordinates + cutting indicator
  • Spindle RPM / feed / tool / coolant status lamps
  • Run / Dry Run / Machine Lock simulation modes
  • Timeline scrubber, cycle speed (0.25×–10×), feed/rapid/spindle overrides
  • Optional stop (M01) + Block skip (/) toggles
  • Keyboard shortcuts (Space / ←/→ / R)

G-code Programming

  • Syntax-highlighted editor with current-line execution tracking
  • Click-a-line-to-seek
  • Parse diagnostics with inline error reporting
  • 26 ready-to-run example programs (Beginner → Advanced)
  • Program library — save/load/export/import to localStorage, 15 code snippets

Learning Suite

  • Feeds & speeds calculator (RPM, feed, MRR, spindle power, DOC/WOC recommendations)
  • 8-material library (Aluminum 6061/7075, Mild Steel, Stainless 304, Brass, Copper, Delrin, Oak)
  • 65-code reference (G/M/T/F/S/Z) — searchable & category-filtered
  • Educational guide with G-code primer & coordinate system

🛠️ Tech Stack

Next.js 16 · TypeScript 5 · react-three-fiber · Three.js · Tailwind CSS 4 · shadcn/ui · Zustand

📦 Install / Self-host

This is a static site — see the README for one-click GitHub Pages deployment.

📜 License

MIT — free for personal, educational, and commercial use.


If CNC Simulator Pro helps you, please star the repo and share it with a machinist, student, or maker!