Balzano Consulting / Online CNC simulator

CNCLab.
G-code becomes visible.

A CNC lab in the browser: assisted editing, 3D stock simulation, machine controls and diagnostics brought together in one workspace.

The real CNCLab interface with 3D simulation, G-code editor and machine control panel
Real workspace · 3-axis mill
StatusPublic pre-alpha
Version0.32.0
PlatformBrowser / PWA
SourcePublic repository

Understand the program before taking it to the machine.

CNCLab interprets G-code and connects each block to tool motion, remaining stock and machine state. Its operating view combines volumetric simulation, a synchronized editor, timeline, block stepping and a MEM/MDI/JOG/EDIT panel.

Release 0.32.0 adds independent, reorderable D radius offsets, reassignable G54–G59 work origins, a reorderable T magazine and a complete dimensioned tool preview. It also improves remaining-stock validation, T-slot cutter geometry and configurable 3D legend panels.

Milling, turning, laser and plotter environments are joined by a 2D/3D CAD application in development. Programs, tools, setup and preferences stay in the browser; the .cnclab project format transfers a complete session between installations.

The simulator is free and requires no account. It is intended for training, practice and preliminary checks: it is not a certified verifier and does not replace checks on the real post-processor, controller and machine.

Open the online CNC simulator →

From G-code block to machined part.

01

3D simulation

WebGL 2 displays stock, tool, paths and remaining material. The ViewCube, orthographic views, orbit and layers help inspect each operation.

02

Assisted editor

Syntax highlighting, line numbers, contextual suggestions, quick reference cards, Undo/Redo and an active block synchronized with the timeline.

03

Mill and lathe

3-axis milling and 2-axis turning with stock removal, tool changes, classified surfaces and educational diagnostics; laser and plotter use dedicated XY paths.

04

Tools, offsets and setup

A technical catalogue, reorderable T magazine, independent D offsets, G54–G59 origins, custom tools, materials and configurable stock.

05

Diagnostics and manual

Protection stops linked to the responsible line, restorable messages and a G/M-code manual with syntax, diagrams and commented examples.

06

Files and PWA

NC, G-code, TAP and TXT imports; complete .cnclab projects; STL, OBJ or PLY component exports and an installable PWA with an offline shell.

Modular by machine.

01G-code parser

Turns source code into interface-independent states and motion.

02Geometry kernels

Compute envelopes, stock removal, surfaces and remaining profiles.

03Renderer

Composes machine, tool, part and paths in WebGL, with Canvas fallback.

Training and preliminary checks.

CNCLab uses geometric and educational models with stated tolerances. It does not 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.

CNCLab / Free CNC simulation

Write G-code and see the toolpath immediately.

Open CNCLab free