# Printing

Fluidd provides tools to preview, monitor, and manage your prints — from G-code visualization to thumbnail previews and print history.

## G-code Viewer

Fluidd's G-code viewer provides a 2D visualization of the currently selected layer. It can automatically follow print progress and show information about the moves being executed. Multi-tool prints are supported, with each tool shown in a distinct color.

Frequently used settings are accessible via the cog icon in the card header. Less common options can be found on Fluidd's settings page.

[![G-code 3D preview showing a sliced model with layer visualization](<https://docs.fluidd.xyz/assets/images/gcode_preview.png>)](</assets/images/gcode_preview.png>) [![G-code viewer display options panel with layer and move-type toggles](<https://docs.fluidd.xyz/assets/images/gcode_display_opts.png>)](</assets/images/gcode_display_opts.png>) [![G-code viewer settings with rendering and performance options](<https://docs.fluidd.xyz/assets/images/gcode_settings.png>)](</assets/images/gcode_settings.png>)

> [!NOTE]
>
> **Very large files**
>
> Extremely large G-code files are only partially loaded — Fluidd shows a warning and previews the portion it managed to parse, so later layers may be missing. Your slicer's own preview is the better tool for inspecting a file that big.

### Color Modes

The menu above the legend picks how the current layer's extrusions are colored:

- **Tool** — one color per tool, using the filament colors from the file metadata when available
- **Feature type** — one color per feature type (perimeters, infill, skirt/brim, support, wipe tower, etc.), read from the comments your slicer writes into the G-code
- **Speed (mm/s)** — a blue-to-red gradient across the file's range of extrusion speeds, with the legend showing the speed at each color in mm/s. This is the feedrate the G-code commands, not the speed reached after acceleration
- **Fan speed (%)** — the same gradient across the file's range of part cooling fan speeds, set by `M106`/`M107`
- **Temperature (°C)** — the same gradient across the file's range of nozzle temperatures, set by `M104`/`M109` and `SET_HEATER_TEMPERATURE`. Tools that share a nozzle, such as MMU lanes, share its temperature, and moves before the first temperature command count as 0 °C — so a file that leaves heating to a start macro such as `PRINT_START` starts its range at 0

As in PrusaSlicer, the gradient modes only consider moves that travel while extruding, so priming and unretract moves that only push filament don't stretch the range.

Feature coloring recognizes the comments written by PrusaSlicer, SuperSlicer, OrcaSlicer, Bambu Studio, Cura, ideaMaker, Simplify3D, KISSlicer, and CraftWare. For files without feature comments, all extrusions share a single color and the legend is empty.

### Exclude Object

The G-code viewer has [Exclude Object](<https://www.klipper3d.org/Exclude_Object.html>) support built in. To exclude an object from your current print (for example after a failure), click the cancel icon in the G-code preview or bring up a list of all objects by clicking the cancel icon in the card header.

Excluded objects are marked in red, the currently printing object in blue, and all other objects in green.

For this feature to work, complete the following setup:

1. Add to `printer.cfg`:

   printer.cfg

   ```ini
   [exclude_object]
   ```
2. Add to `moonraker.conf`:

   moonraker.conf

   ```ini
   [file_manager]
   enable_object_processing: True
   ```
3. Re-slice your model with object labeling enabled in your slicer:

   - **PrusaSlicer / OrcaSlicer**: Print Settings → Output options → Label objects
   - **SuperSlicer**: Print Settings → Output options → Label objects
   - **Cura**: Extensions → Post Processing → Modify G-Code → Insert at layer change → add object labels

> [!WARNING]
>
> **Reprocessing required**
>
> This only works on files uploaded *after* enabling these settings — Moonraker needs to process the file with object preprocessing turned on.

[![Exclude Object panel showing labeled objects on the print bed](<https://docs.fluidd.xyz/assets/images/exclude_object.png>)](</assets/images/exclude_object.png>) [![Exclude Object confirmation dialog](<https://docs.fluidd.xyz/assets/images/exclude_object_modal.png>)](</assets/images/exclude_object_modal.png>)

## Thumbnails

Fluidd can display thumbnail previews of your print files. The recommended sizes are:

- `300x300` — for large previews
- `48x48` — for file browser thumbnails

1. Open `Printer Settings` → `Basic information` tab.
2. In the `Thumbnails` section, ensure `48x48/PNG` and `300x300/PNG` are listed. OrcaSlicer includes these by default for most printer profiles.

**PrusaSlicer 2.3.0 and above:**

1. Open `Printer Settings` → `General` tab → `Firmware` section.
2. Set `G-code thumbnails` to `48x48/PNG, 300x300/PNG`.

**PrusaSlicer 2.2.0 and below:**

1. Click `Help` → `Show Configuration Folder`, then close PrusaSlicer.
2. Open the `printer` folder and edit your printer profile.
3. Set `thumbnails = 48x48, 300x300`.
4. Restart PrusaSlicer.

**SuperSlicer:**

1. Open `Printer Settings` → `General` tab → `Thumbnails` section.
2. Set `Small` to `48x48` and `Large` to `300x300`.

**OctoPrint plugin (recommended):** Enable [slicer uploads](<https://docs.fluidd.xyz/features/slicer-uploads/index.md>), then install the [OctoPrint Connection plugin](<https://github.com/fieldOfView/Cura-OctoPrintPlugin#installation>). Use the `Print with OctoPrint` button after slicing.

**Post-processing script:** Go to `Extensions` → `Post Processing` → `Modify G-Code`. Add two `Create Thumbnail` scripts — one at `300x300` and one at `48x48`.

[![File browser showing thumbnail previews of sliced print files](<https://docs.fluidd.xyz/assets/images/thumbnails.png>)](</assets/images/thumbnails.png>)

## Bed Mesh

Fluidd has a built-in bed mesh viewer. Navigate to the printer page and calibrate a mesh to view it.

You need `[bed_mesh]` configured in Klipper for this option to appear.

[![Bed mesh viewer showing a calibrated height deviation heat map](<https://docs.fluidd.xyz/assets/images/bed_mesh.png>)](</assets/images/bed_mesh.png>)

## Print History

Fluidd integrates with Moonraker's print history component to give you insights into past prints.

| Action | Description |
| --- | --- |
| **View and sort** | Browse your print history chronologically, sorted by last print date. |
| **Filter** | Narrow the list to specific jobs or statuses. |
| **Statistics** | Track total print time and filament usage over time. |
| **Re-print** | Re-start failed or cancelled jobs directly from the history. |
| **Export** | Download the whole history as a CSV file for use in a spreadsheet. |

Fluidd loads the last 100 prints by default. The full history can hold up to 10,000 entries — a dedicated History page is available from the main navigation for a full-screen view. Use **Load all** to pull the remaining entries; the button greys out once everything has been loaded. Until then, the table footer reads e.g. "1-25 of 100 loaded" to make clear the count is partial.

**Export CSV** downloads every job — loading the remaining entries first if needed — with the columns currently shown in the table. Values are written unformatted, in their base units — seconds, millimeters, grams, °C and bytes — so they can be summed. Dates are written in local time as `YYYY-MM-DD HH:mm:ss`, and multi-value fields such as filament names are joined with semicolons.

[![Print history list with job name, status, and duration columns](<https://docs.fluidd.xyz/assets/images/print_history.png>)](</assets/images/print_history.png>) [![Print statistics showing total print time and filament usage](<https://docs.fluidd.xyz/assets/images/print_stats.png>)](</assets/images/print_stats.png>) [![Re-print dialog with option to re-start a previous job](<https://docs.fluidd.xyz/assets/images/reprint.png>)](</assets/images/reprint.png>)

## Extrusion Indicator

The Toolhead card header shows the extruder's current direction of travel: a green icon while extruding, and a red icon while retracting. It is driven by the live extruder velocity Klipper reports, so it reflects both manual moves and the moves of a running print.

The indicator only appears when the extruder is ready — the disconnected and below-`min_extrude_temp` warnings take its place when either applies. The manual **Extrude** and **Retract** buttons on the same card use matching directional icons.

## Firmware Retraction

Fluidd shows a **Retraction** card on the dashboard when firmware retraction is configured in Klipper. This lets you adjust retraction settings live during a print without re-slicing.

To enable firmware retraction, add to `printer.cfg`. See the [Klipper `[firmware_retraction]` reference](<https://www.klipper3d.org/Config_Reference.html#firmware_retraction>) for all available options.

printer.cfg

```ini
[firmware_retraction]
retract_length: 1.0
retract_speed: 45
unretract_extra_length: 0
unretract_speed: 45
```

Also enable firmware retraction in your slicer (usually under Extruder or Printer settings) so it emits `G10`/`G11` commands instead of explicit `E` moves.
