Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

13 Commits

Repository files navigation

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 TypeDetails
Estimated Print Time (ETA)Time remaining and total print duration
Filament UsageAmount used in mm, cm³, grams, and cost
Layer CountTotal layers and current layer progress
Print SettingsInfill percentage, print speeds, layer height
Temperature SettingsNozzle and bed temperatures
Printer ConfigurationAll slicer settings and parameters

Installation

StepAction
1Clone or download this repository
2Ensure 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

About

A universal post-processing script for OrcaSlicer that restores FlashForge-specific metadata and formatting expected by FlashForge printers.

Topics

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages