CNC Milling G-code
Generate contour, pocket, drilling and engraving G-code from DXF
Loading tool…
Nothing is uploaded — every step runs in your browser.
Generate 2.5-axis CNC milling programs from your DXF drawing: outside/inside contours with G41/G42 cutter compensation, pockets with islands plus wall finishing, drilling cycles (G81/G83/G73, Siemens CYCLE81/83) and engraving. Fanuc, Mitsubishi and Siemens 840D posts with a toolpath preview.
How it works
- 1Choose your DXF drawing (Z0 = top of part, units mm).
- 2Set the controller, operation, tool and cutting data.
- 3Press “CNC Milling G-code”, watch the machining in the simulator and download the program.
Frequently asked questions
Can I run the code on the machine right away?
No. Always verify every program in simulation and with a dry run on the machine first, and check offsets, work zero and tool data. The operator is responsible.
How is cutter compensation done?
The program follows the contour line with G41/G42 and you enter the tool radius in the machine’s D/H offset, so wear can be corrected at the machine.
Is there 3, 4 and 5-axis machining?
This module is 2.5-axis (layered XY machining with Z depth). Simultaneous 3/4/5-axis surface machining needs a 3D solid model and collision checking and is not offered reliably in the browser.
Is my file uploaded to a server?
No. Everything runs in your browser; your file never leaves your device.