Guide
Guided CNC programming: write G-code step by step with lathe and mill examples
Program in G-code without memorising every cycle. Pick where you are in the program (header, tool, work offsets, machining, retract and end), open an example block, fill in its values with the actual code in front of you and see in the 2D or 3D viewer where the tool will go before inserting it. There are more than 200 lathe and mill templates across Fanuc, Haas, Siemens, Heidenhain, Fagor, Mitsubishi, Mazak and Okuma, and it all runs free in the browser.
1
The program in the order you write it
Templates are grouped the way a real program is built: 1 header, 2 tool, 3 work offsets, 4 machining and 5 retract and end. At the top you see what your program already has (header, tool, spindle, coolant, machining and end) and clicking any of them opens its template. Depending on where the cursor is, the next step is suggested: start with the header, call the tool, machine, close a cycle with G80 or end the program.
2
Clearly named examples, every value explained
Each template says what it does and which code it uses, such as “Deep peck drilling (G83)” or “Rectangular pocket (POCKET3)”. It looks like the G-code block you are about to write, with boxes where each value goes; hover a G or M code to see its reference card and each box tells you what it is. In Siemens and Heidenhain cycles, which only carry numbers or Q parameters, every value has its name: RTP retract plane, Q201 depth...
3
Canned cycles and hand programming
You get each control's canned cycles (G81, G83, G84, G71, G70, G76, CYCLE81, POCKET3, CYCL DEF 200, Fagor G87...) and also blocks without a cycle to learn the basics: rapid move, feed line, arcs by radius or by centre, contour, facing, turning and grooving by hand. A filter separates canned cycles from hand programming and can show a single family: drilling, turning, milling, work offsets...
4
Warnings before inserting, S and F calculated
While you fill in the block, the usual mistakes are flagged: empty boxes, an R plane below the bottom, a Q peck larger than the hole, a G00 rapid into the material, a tool without M06, cutting without feed F or a stopped spindle. The Calculate S and F button suggests speed and feed from the material, operation and diameter, using the site's cutting data.
5
The toolpath before touching the program
The block's path is drawn dashed over the part in the 2D or 3D viewer, exactly where it will be inserted: below the editor cursor or before the end of the program. Behind it is the site's full simulator: real-time simulation, cycle time with your machine profile, safety and syntax warnings and program export.
6
AI copilot for questions and review
With a Pro account, a copilot reviews the program up to the cursor (what is right, what to watch and how to continue), proposes a machining plan from a description of the part, answers questions about your program and explains each checker warning with a fix you can apply in one click.