FabDigit

NC viewer

Drop a CNC program to see its tool path in 3D, step through the depths and play it move by move.

Free · No account · The file stays in your browser

Drop an NC file here

.nc, .ngc, .tap, .cnc, .gcode from CAM; printer G-code works too.

The file is read in your browser and is not uploaded.

How it works

  1. Drop

    Drop the program your CAM software posted. It is read in your browser.

  2. Look

    Turn and zoom the tool path; show the rapid moves to check the clearance moves.

  3. Play

    Press Play to run it move by move, with the line of the program being run shown below.

What you can do

  • Rapids and cuts apart

    Cutting moves (G1, G2, G3) in colour by depth, rapid moves (G0) in grey when you want them.

  • True arcs

    G2 and G3 with I J centres or an R radius, in the XY plane, drawn as smooth arcs.

  • Play and step

    Play the program at a quarter, normal or four times the speed, or drag to any move.

  • Inch and metric

    G20 programs are read in inches and shown in millimetres; G90 / G91 absolute and incremental.

What an NC file is

An NC file is the program a CNC machine runs: lines of G-code that move the tool, switch the spindle and coolant on and off and change tools. CAM software writes it from a CAD model through a post processor for one machine and control (Fanuc, Haas, GRBL, LinuxCNC, Mach3). The extension varies (.nc, .ngc, .tap, .cnc), the content is plain text.

This viewer draws the tool path the program describes: where the tool centre goes, at which depth, with which kind of move. It does not remove material or check the tool against the part and fixtures; for that, use the simulation in your CAM software.

Ø20

STEP and IGES: an exact circle

The file stores the hole as a true circle of 20 mm diameter. CAD programs, CAM and the quote read the size directly, so the part can be edited, drawn and machined.

STL and OBJ: flat triangles

The same hole becomes 16 straight edges whose middles sit 0.19 mm inside the true circle. A finer mesh gets closer but is never round; 3D-printing slicers read this form.

The same Ø20 mm hole in a 55 × 35 mm plate, stored in a STEP file (ISO 10303-21, exact geometry) and in an STL mesh with 16 segments per circle.

What is read

In the programIn the viewer
G0 rapid movesGrey lines, shown when Rapid moves is ticked
G1 feed movesColoured lines, blue deep to orange high
G2 / G3 arcs (I J or R)Smooth arcs in the XY plane
G90 / G91, G20 / G21Absolute or incremental, inches or millimetres
N numbers, comments in ( ) and ;Read past
Canned cycles (G81 to G89), cutter compensation (G41 / G42)Not drawn: the path shown is the programmed one

Supported formats

Every tool accepts the same file types.

FormatExtensionsOpens as
STEP.step, .stp3D solid: view, measure, edit, draw and price (FabDesk on a computer)
IGES.iges, .igs3D solid or surface: view, measure, edit and price (FabDesk on a computer)
STL.stl3D mesh: view, measure and price
OBJ.obj3D mesh: view, measure and export
3MF, glTF / GLB, PLY, AMF.3mf, .glb, .gltf, .ply, .amf3D mesh: view, measure, convert to STL; closed meshes convert to a STEP body
DXF.dxf2D drawing: view, measure and price
AutoCAD drawing.dwg2D drawing, R13 (1994) to the 2018 format: read on our server and opened like a DXF (view, measure, extrude, price)
FBX, DAE (COLLADA), 3DS, SVG.fbx, .dae, .3ds, .svgOpened in FabDesk on a computer: FBX, DAE and 3DS as a mesh, an SVG as a sketch to extrude
SOLIDWORKS assembly.sldasm3D mesh when the file holds every part; otherwise save it as STEP and open the STEP
SOLIDWORKS part.sldprt3D solid when it reads exactly, otherwise the display mesh SOLIDWORKS saved: view and measure (FabDesk on a computer)
NX part.prt3D solid when the file confirms it, otherwise a mesh: view and measure (FabDesk on a computer)
FreeCAD part.fcstd3D solid
Fusion design.f3d3D solids, every body in place, when each body checks out; otherwise a mesh (FabDesk on a computer)
Inventor part.iptExact part when every body checks out, otherwise a mesh
CATIA part.catpart3D solid when the part checks out (a closed, valid solid that matches its own preview), otherwise a mesh: view and measure (FabDesk on a computer)
Creo, Rhino, ACIS.prt, .3dm, .sat, .sabMesh: view and measure (FabDesk on a computer). Save as STEP to edit
Parasolid.x_t, .x_b3D solid when the body checks out (closed, every edge on its faces): view, measure and price
JT.jtMesh for JT 8, 9 and 10 files: view and measure. JT 7 and older: save as STEP, or upload the file to a quote

Limits

  • Files up to 200 MB.
  • Canned drilling cycles, cutter compensation, tool length offsets and 4th / 5th axis moves are not drawn.
  • Arcs in the XY plane (G17) only; the time assumes 500 mm/s² acceleration and GRBL style cornering, no rapid override or feed hold.

FAQ

How do I open an NC file?

Drop it on this page. The tool path appears in 3D; drag to turn it, scroll to zoom, press Play to run it move by move.

Can I simulate the G-code?

Yes, as a tool path: Play runs the moves in order with the tool position and the program line shown. Material removal and collision checks are not simulated.

Which controls are read?

Standard G-code as posted for Fanuc, Haas, GRBL, LinuxCNC and Mach3: G0 to G3, G17, G20 / G21, G90 / G91, G92, plus N numbers and comments.

Why are some moves missing?

Canned cycles (G81 to G89) and macro programs are not expanded, so drilling cycles show no moves. Post the program without cycles to see every hole.

Can I see 3D printer G-code here too?

Yes. A file with extrusion is read as a print, layer by layer; the G-code viewer page explains that side.

Is it free?

Yes. Opening and measuring a file need no account. Sign in to get an instant price.

More free tools

Open and measure

  • Online CAD viewerOpen STEP, SOLIDWORKS, Inventor, IGES, STL and DXF files in one viewer.
  • 3D file viewerOpen STL, OBJ, 3MF, GLB and STEP models in 3D in your browser.
  • STEP viewerOpen STEP and STP files, measure them and get a 2D drawing.
  • SLDPRT viewerOpen SOLIDWORKS part files without SOLIDWORKS and measure them.
  • SLDASM viewerOpen SOLIDWORKS assemblies, or save them as STEP and open that.
  • Inventor file viewerOpen Autodesk Inventor .ipt parts without Inventor and measure them.
  • CATIA file viewerOpen CATIA V5 .CATPart parts without CATIA and measure them.
  • IGES viewerOpen IGES and IGS files in 3D and measure them.
  • STL viewerView STL meshes in 3D and check their size before printing.
  • G-code viewerSee the tool paths in a G-code file layer by layer, with the print time and filament.
  • 3D print time estimatorEstimate a 3D print time and filament from its G-code, planned like printer firmware.
  • G-code simulatorPlay a G-code program move by move and see the tool or nozzle path build up.
  • OBJ viewerOpen OBJ models in 3D and measure them.
  • 3MF viewerOpen 3MF print files in 3D and measure them.
  • GLB viewerOpen GLB and glTF models in 3D and measure them.
  • PLY viewerOpen PLY meshes and scans in 3D and measure them.
  • FBX viewerOpen FBX models in 3D, measure them and save them as STL.
  • DAE viewerOpen COLLADA (.dae) models in 3D, measure them and save them as STL.
  • GlTF viewerOpen .gltf models with their .bin in 3D and measure them.
  • 3DS viewerOpen 3D Studio (.3ds) models in 3D, measure them and save them as STL.
  • 3DM viewerOpen Rhino .3dm models without Rhino and measure them.
  • NX part viewerOpen Siemens NX .prt parts without NX and measure them.
  • X_T viewerOpen Parasolid .x_t and .x_b files as exact parts and measure them.
  • JT viewerOpen Siemens JT files in 3D and measure them.
  • F3D viewerOpen Fusion 360 .f3d designs without Fusion and measure them.
  • FreeCAD viewerOpen FreeCAD .fcstd files online as exact parts.
  • SAT file viewerOpen ACIS .sat and .sab parts in 3D and measure them.
  • DXF viewerView and measure DXF drawings and flat patterns.
  • DWG viewerOpen AutoCAD DWG drawings without AutoCAD.

Edit

  • STEP editorChange a STEP file in your browser: move faces, add holes and cuts, export STEP.
  • Online STL editorEdit an STL in your browser: cut, add holes, fillet, save.
  • STL repairFix holes, cracks, flipped and duplicate triangles in an STL, then save it.
  • STL simplifierReduce an STL file size: keep fewer triangles, keep the shape, save a smaller STL.
  • G-code editorEdit a G-code program next to its 3D tool path, then download it.

Convert to STEP, IGES or FCStd

Convert meshes

2D drawings and outlines

From a picture or text

Ready to order?

Configure the material, finish and quantity. Our engineers review every order before production.