# G-code viewer

See every printed line before you start the print.

## What you can open

- **GCODE, GCO and G** text files from most 3D printing slicers.
- **BGCODE**, the binary format used by newer Prusa printers.
- **GCODE.3MF** from Bambu Studio and OrcaSlicer. Choose a print plate if there are several.

## Look through the layers

Move the slider or use **Layer up** and **Layer down**. Turn on **Only this layer** to hide everything below. Lines are drawn with the width and height named in the file. If it does not name them, the viewer uses its layer height and nozzle size, or 0.2 mm and 0.45 mm.

Colors show outer and inner walls, infill, top and bottom, supports, skirts and bridges when the slicer writes line types. A print with several filaments can be colored by filament. Turn on **Moves without plastic** to see where the nozzle travels.

## Time and filament

Print time and weight come from the slicer, when it saved them. If the file has no time, the viewer adds up the moves at their programmed speed. This ignores acceleration, heating and filament changes, so the real print takes longer.

The size is for the model. Skirts, brims, purge lines and unmarked moves are not included when other lines are marked.

## Check before printing

Look at the first layer, gaps, thin walls and places where a layer starts in the air. This is only a preview. It does not know whether the file was made for your printer, so never run G-code made for another printer without checking it.

## Questions

### Can I convert G-code to STL?

Not here. G-code holds nozzle movements, not the original surface. Ask for the STL or 3MF model.

### Can I edit G-code here?

No. Change the settings in your slicer and slice the model again.

### Does it work with laser or CNC files?

It shows moves from a G-code file as lines. It does not simulate cutting, tools or material, so use CAM software to check a machine job.

Source: https://stlviewer3d.com/gcode-viewer/
