G-CODE VIEWER
Watch the toolpath before it cuts.
Paste or import G-code to draw the XY toolpath, step through each move and read the current coordinates, feed and spindle commands. This is offline teaching visualisation: it does not connect to a machine or validate machining safety.
What you are looking at
The drawing is an XY projection. Z decides the colour: at or below 0 a move is a cut (solid orange), above 0 it is a rapid (grey dashed). G2/G3 arcs are tessellated from I/J centre offsets or an R radius. Units follow G20/G21, and G91 incremental mode accumulates from the current position.
FAQ
Can I use it to check a real job?
No. This is a 2D projection demo. It does not simulate cutter diameter, workholding, collisions, machine limits or material deflection, and it does not judge whether a feed is sensible. Always dry-run real work on the machine or in CAM software.
Why no Z axis view?
Most teaching explanations care about the top-down shape, so an XY projection reads more clearly and Z is used only to separate cuts from rapids. Use CAM software when you need 3D.
Is my file uploaded?
No. Parsing, drawing and playback all happen in browser memory with no network call and no storage. G-code can contain process parameters, and none of it leaves this page.