Skip to content
DOWNWAY

CNC machining simulator: lathe and mill with G-code

Watch the part being machined: G71, G70, crashes and cycle time.

Loading simulator…

About this simulator

On the lathe the bar spins in the chuck and the tool really removes material, pass by pass, with a half section showing the profile being formed. G71 and G70 cycles expand into passes, a G00 into the material flags a crash and cycle time accounts for constant surface speed (G96) and feed per revolution. On the mill, the block is machined in top view. And in Design a part you set diameters and lengths, the simulator writes the program and cuts it.

Formulas used

  • n = 1000 · Vc / (π · D) ≤ G50 (G96)
  • Vf = f · n (G99)
  • t = Σ (comprimento / Vf)
  • V removido = Σ π (R₀² − r²) · Δz

An educational and preliminary sizing tool. Results don't replace standards, manufacturer catalogs or a responsible engineer's analysis.

FAQ

Which codes does the simulator understand?

Lathe: G00, G01, G02, G03 (R or I/K), U/W, G50, G96, G97, G98, G99, G70, G71, T, M03, M05, M08 and M09. Mill: G00 to G03 (I/J or R), G90, G91, F, S and T. Fixture collisions and cutter compensation are not simulated.

More simulators