Pure Rust Compiler · 100% Browser-Local Privacy · MIT Open Source

The human-readable, crash-verified manufacturing language for 3-Axis, 5-Axis, Mill-Turn & Lathe

Write machining intent as plain text in a local-first browser workspace. ClearNC compiles it to native G-code across 55 verified machines and proves the solid, the kinematics and the emitted file before anything touches metal.

ClearNC Studio — Sensor_Bracket_VMC.cnc (WebAssembly)
G-code verified Open Live
Why ClearNC

Manufacturing code deserves a real compiler

Shops are stuck between unreadable G-code and opaque CAM files. ClearNC is the reviewable layer in between.

Raw G-code

Assembly language for steel

Modal flags and unnamed coordinates, where one decimal slip crashes a spindle.

G90 G54 G00 X-48.0 Y0.0
G43 H03 Z30.0 M08
G01 Z-12.0 F1800
G03 X-43.0 I2.5 J0.0
Traditional CAM

Black-box GUIs

Powerful toolpath kernels locked in binary projects that resist review and version control.

bracket_rev4_FINAL_v2.cam  (48.2 MB)
Binary files differ, cannot diff
Post: custom_m80_edit_old.cps (?)

Problems caught at compile time

Unit mixups

Every dimension carries its unit, so diameter against radius is a compile error, not a scrapped part.

Wasted tool changes

Independent operations are batched to cut tool changes, never across a setup barrier.

Crashes

Volumetric simulation catches rapids into stock and hits on clamps, jaws, trunnions and holders.

Setup alignment

Encode flips and datum pickup once, then compile for manual, Macro B or probed setups with G68.

Post-processor drift

An independent parser replays the emitted G-code and checks modal state, motion and collisions.

Lost traceability

Every G-code block maps back to the ClearNC line that produced it, and the other way round.

Visual Showcase

See ClearNC Studio in action

Captured live from ClearNC Studio, running locally in WebAssembly. Click any view to see it full size.

Machines

55 verified machines across 17 OEMs

One ClearNC program compiles for 9 native controller dialects — including Okuma OSP, Brother Speedio, Siemens SINUMERIK, Haas NGC, FANUC, Mitsubishi, Mazak & Syntec — each paired with an independent G-code verifier.

mill_3axis · 25 machines

Haas VF-2SS/VF-4SS & Brother SPEEDIO S700Xd1

haas_vf4ss · brother_speedio_s700xd1 · Controller-Verified
mill_3axis · 25 machines

Okuma GENOS M560-V & Siemens SINUMERIK 828D/840D

okuma_genos_m560v · siemens_828d_mill · dmg_mori_cmx600v_siemens
mill_3axis · 25 machines

Makino a51nx 4-Axis HMC, FANUC, Mitsubishi M80, Mazak & Syntec 21MA

makino_a51nx · syntec_21ma_vmc · bfw_bmv45_plus
mill_5axis · 15 machines

Haas UMC-750/UMC-500 & Okuma MU-5000V

haas_umc750 · haas_umc500 · okuma_mu5000v
mill_5axis · 15 machines

DMG MORI DMU 50/65, Hermle C 250/C 400 & SINUMERIK 840D

dmg_mori_dmu65_monoblock · hermle_c250 · hermle_c400
mill_5axis · 15 machines

DN Solutions DVF 5000, Makino D200Z/D500, Matsuura MX-520 & Mazak

dn_solutions_dvf5000 · makino_d200z · matsuura_mx520
mill_turn · 3 machines

Mazak INTEGREX i-200ST/i-300S & Okuma MULTUS U3000

mazak_integrex_i200st · okuma_multus_u3000
lathe · 12 machines

Okuma LB3000 EX II, Haas ST-20/25, Siemens 828D, DMG MORI & DN Solutions

okuma_lb3000_ex2 · haas_st20 · siemens_828d_lathe

Open any of the 14 examples in Studio