Guide
Online CNC lathe simulator: check the program before it reaches the machine
Paste your lathe program and watch it machine the bar in 2D and 3D: facing, G71 roughing, G70 finishing, G75 grooving, G76 threading and parting off, with cycle time and warnings before you cut. It runs in the browser, free and with nothing to install. The page opens with an M24×2 threaded shaft made with those cycles: press play to see how each one works, or replace it with your own program.
1
Lathe cycles, pass by pass
G71 and G72 rough the profile in real passes, not as a single line; G70 runs the finishing contour; G73 repeats the profile as many times as R says; G74 and G75 peck in Z and groove in X; G76 splits the thread into passes that get finer and finer. You see where stock is left and whether the profile between P and Q is closed properly.
2
Diameter, constant surface speed and rpm limit
On a lathe X is a diameter and U/W are incremental, and the simulator reads them that way. Under G96 it works out the rpm at every diameter up to the G50 limit (G92 on Fagor, LIMS on Siemens), which is what drives the time of a facing or parting-off move.
3
The bar in 3D, losing stock
The 3D view spins the bar and removes stock pass by pass. It shows you a reversed profile, a groove in the wrong place or a parting-off move that does not reach the centre in time, before the first bad part comes off.
4
Warnings before you cut
It warns about a G01 without a feed, cutting with the spindle stopped, impossible coordinates (a lost decimal point), text the control would not understand and a program without M30. Each warning takes you to its line.
5
Fanuc, Haas, Siemens and Fagor
It recognises the control when you paste the program. Fanuc and Haas G71/G70, Siemens CYCLE95 and Fagor G68/G69 are drawn as roughing cycles with their passes, each with its own syntax: on a Fagor, for instance, G71 means millimetres, not roughing.
6
Cycle time by tool
It adds up cutting and rapid moves for each tool using the real G96 rpm and tells you which operation eats the time. Handy to quote a batch or decide what to optimise first.
7
Live tools, C axis and axial drilling
It also draws on-axis drilling and tapping (G83, G84, G85 and Siemens CYCLE8x) and live-tool operations with a C axis. Under «Examples» there is a lathe part with live tools and a Citizen-style sliding-head part.
8
Getting started in one minute
Paste the program into the editor (or drop the .nc, .txt, .mpf… file), press play and use the timeline to jump to any block. Click a segment of the drawing and the editor jumps to its line; move the cursor in the editor and the segment lights up.