CutViewer Documentation
CutViewer is a browser-based G-code visualization tool designed for CNC operators, programmers, and hobbyists.
Getting Started
1. Launch the App
Click the "Launch Viewer" button or navigate to /app/
2. Load G-code
Drag and drop your .nc or .gcode file onto the viewer, or click to browse.
3. Navigate
Use mouse to rotate/zoom the 3D view. Click line numbers to jump to specific code.
4. Analyze
Review toolpaths, check coordinates, and validate your G-code before running.
Supported G-codes
Movement Commands
G00- Rapid positioningG01- Linear interpolationG02- Circular interpolation (clockwise)G03- Circular interpolation (counter-clockwise)
Coordinate Systems
G17/G18/G19- Plane selectionG20/G21- Units (inch/metric)G90/G91- Absolute/incrementalG54-G59- Work coordinate systems
Machine Commands
M03/M05- Spindle on/offS- Spindle speedF- Feed rate
Keyboard Shortcuts
Space
Play / pause
← / →
Previous / next line of code
Shift + ← / →
Previous / next tool change, rapid, dwell or problem (pick which in the playback bar)
↑ / ↓
Move through lines (in the editor)
T
Show / hide the tool
F
Fit the toolpath to the window
Ctrl + O
Open a file
Ctrl + S
Save the G-code, including edits