Local Browser G-Code Toolpath Viewer
Inspect .gcode · .gco · .nc print and CNC paths layer by layer with feed-rate time estimates, playback, and M82/M83 filament math — zero uploads. Closed .dwg excluded — save as .dxf/.step
G-Code Dialect & Toolpath Support
| Command / Feature | Local Handling | Engineering Benefit |
|---|---|---|
| G0 / G1 / G2 / G3 | Linear travel, feed/extrude, and I/J circular arc tessellation | Renders Arc Welder, Bambu Studio, PrusaSlicer, and CNC curved motion paths cleanly |
| Feed-Rate Time & Play | Modal F duration sum + Play/Pause layer animation | Previews print progress per layer alongside estimated job duration |
| M82 / M83 / G92 E0 | Absolute & relative extrusion tracking | Deducts negative retractions for exact net filament length and PLA grams |
| Z-Hop Filtering | Layer indexing strictly on extruded Z heights | Prevents retraction Z-hops from creating ghost layers or false print height |
| G20 / G21 & Plate Fit | Inch & mm normalization plus build-plate envelope check | Confirms print footprint against common beds in mm or inches |
G-Code Inspection FAQ
How is estimated print time calculated from G-Code?
PrivCAD tracks modal F feed-rate commands across every G0–G3 segment to calculate both total job duration and cumulative time at the active layer while you scrub or press Play.
How is net filament usage calculated across M82 and M83?
PrivCAD tracks running E state in M82 absolute mode (honoring G92 E0 resets) and accumulates signed deltas in M83 relative mode so retraction pull-backs are deducted instead of double-counted.
Why do some viewers report the wrong layer count on Z-hop prints?
Naive parsers count every unique Z command, including lift hops during travel. PrivCAD only registers a layer when extrusion occurs at that elevation, keeping print height and the layer slider clean.
Can I inspect CNC milling .nc files as well as FDM print files?
Yes. Standard G0–G3 motion paths in .gcode, .gco, and .nc files render in 3D with Top, Front, Right, and Isometric presets plus two-point distance checking, working offline once loaded.