A universal post-process script for OrcaSlicer, which restores FlashForge specific metadata
This script restructures G-code files from OrcaSlicer to match the format expected by FlashForge printers and their API. Without this conversion, the printer won't display the information, and it won't populate in the HTTP API
The conversion ensures the printer correctly recognizes the following info:
| Information Type | Details |
|---|---|
| Estimated Print Time (ETA) | Time remaining and total print duration |
| Filament Usage | Amount used in mm, cm³, grams, and cost |
| Layer Count | Total layers and current layer progress |
| Print Settings | Infill percentage, print speeds, layer height |
| Temperature Settings | Nozzle and bed temperatures |
| Printer Configuration | All slicer settings and parameters |
| Step | Action |
|---|---|
| 1 | Clone or download this repository |
| 2 | Ensure Python 3.6+ is installed |
OrcaSlicer documentation here
(path to python) (path to convert.py)
Save settings. The script will automatically run after every slice.
This file was sliced by OrcaSlicer without the post-process script, and lacks filament usage, eta, and more
The ETA shows as the current time
This file was passed through the post-process script, allowing the printer and other programs to fetch/display the correct information
The ETA is correctly calculated, and filament information is populated


