3-axis milling
Pockets, profiles, drilling and tool changes with 2.5D stock removal and orthographic or orbital views.
Balzano Consulting / Digital lab
A browser-based training environment for writing, reading and simulating CNC programs before approaching a real machine.
G21 G17 G90
T1 M06
S2800 M03
G01 X70 F420
Y45
X10
G00 Z5Screenshot placeholder · milling simulation
The project
CNCLab combines an assisted editor, an operator panel and a three-dimensional scene. G-code is interpreted into machine states and motion, then translated into toolpaths and a representation of the remaining stock.
The project supports training, practice and preliminary checks. It is not a certified production verifier and does not replace verification on the actual post-processor, controller and machine.
Features / 01
Pockets, profiles, drilling and tool changes with 2.5D stock removal and orthographic or orbital views.
Remaining profile along Z, chuck, turret, turning tools, threading, grooving and educational diagnostics.
Dedicated XY paths, laser power and kerf, plus pen-up and pen-down plotter motion.
Syntax highlighting, suggestions, autocomplete, examples, block selection and an interactive G/M-code guide.
WebGL 2 with Canvas fallback, view layers, remaining mesh, active tool and past/current/future paths.
NC, G-code, TAP and TXT programs in; edited source and STL, OBJ or PLY component export out.
Inside the application
These editorial placeholders are already sized for real screenshots, so they can be replaced without changing the layout.
Editor, remaining stock, toolpath and machine controls in one view.
Turned profile, active tool and surface classification.
Clockwise circular interpolation
Syntax, geometric diagram and commented example for each function.
Architecture
Produces machine data independently from the interface.
Compute motion, stock removal and the remaining profile.
Composes machine, tool, part and paths in WebGL.
Responsible use
CNCLab uses geometric and educational models with stated tolerances. It does not yet include a certified B-Rep engine, full offset tables for every controller, macros or complete collision analysis. Production programs must always be checked on the real controller and machine by qualified personnel.