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 positioning
  • G01 - Linear interpolation
  • G02 - Circular interpolation (clockwise)
  • G03 - Circular interpolation (counter-clockwise)

Coordinate Systems

  • G17/G18/G19 - Plane selection
  • G20/G21 - Units (inch/metric)
  • G90/G91 - Absolute/incremental
  • G54-G59 - Work coordinate systems

Machine Commands

  • M03/M05 - Spindle on/off
  • S - Spindle speed
  • F - Feed rate

Keyboard Shortcuts

Space Play/Pause animation
R Reset view
↑↓ Navigate lines
Home/End Go to start/end