Skip to content

Latest commit

 

History

History
148 lines (109 loc) · 3.22 KB

File metadata and controls

148 lines (109 loc) · 3.22 KB

orca2flashforge

A universal post-process script for OrcaSlicer, which restores FlashForge specific metadata


What It Does

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


Restored Information

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

Installation

Step Action
1 Clone or download this repository
2 Ensure Python 3.6+ is installed

Setup

OrcaSlicer documentation here

(path to python) (path to convert.py)

image

Save settings. The script will automatically run after every slice.


Example

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

image

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

image