← Simulator⚠️ Report a problem
NCPro-Training

G-CODE GENERATOR

NCPro-Training

Pick an operation, punch in the numbers, get a clean program — then verify it in your simulator before it ever touches a machine.

📥 Generate from a file

Reads the dimension text out of the print and fills the form below. Scanned-image PDFs have no text to read.

Reads the overall size and hole patterns out of a 2D CAD drawing (bolt circles especially), sketches the top view, and fills the form below. ASCII DXF — if your file is binary, export it as ASCII first.

Reads the overall size and hole patterns out of a CAD model (bolt circles especially), sketches the top view, and fills the form below.

Program setup

Origin: X0 Y0 at a part corner, Z0 on top of the part.

Origin: X0 Y0 at a pocket corner, Z0 on top. Corners come out at the tool radius.

Origin: X0 Y0 at the pocket CENTER, Z0 on top.

Origin: X0 Y0 at the circle CENTER, Z0 on top. Drilling uses the common Feed as the drill feed, plus the shared Drilling settings below.

Origin: X0 Y0 at the FIRST hole, Z0 on top. Uses the shared Drilling settings below.

Cuts the outlines of the drawing you loaded above (DXF upload, or sent over from DRAW) exactly as drawn — lines stay lines and radii stay true G2/G3 arcs, so the simulator's graphics show the real shape. Connected lines and arcs are joined into whole figures and cut as ONE continuous toolpath — plunge once, run the full figure, step down, run it again; no retract between segments. Origin and units match the drawing itself. Load a drawing first, then use this tab. Cut order either groups the figures by kind, in either direction (rows inside each group), runs one pure row order with every shape mixed, or cuts the perimeter first, then the holes around it, then the rest by row.

Drilling

📝 Your program

Your generated program lands here — ready to edit, save, download, or open straight in the simulator.

Free tool from NCPro-Training · always check a new program in the simulator before it runs on a machine.