This allows OrcaSlicer to output bgcode for use with Prusa Machines through a simple post-processing script that can be added to any print profile. Also supports renaming the output file to have the .bgcode extension.
-
Get bgcode binary
-
(recommended) Download the correct binary for your machine from the latest release
-
Or clone the repository and run the following to compile:
cmake --preset default -DLibBGCode_BUILD_DEPS=ON -DCMAKE_INSTALL_PREFIX=dist/ cmake --build --preset default --target install
-
-
Windows Only
- You must install the latest Microsoft Visual C++ Redistributable in order for this program to work. You can download it here: https://aka.ms/vs/17/release/vc_redist.x64.exe
-
In OrcaSlicer, add the following to your post-processor steps:
<path to bgcode binary or exe> --post-processor --slicer_metadata_compression=1 --gcode_compression=3 --gcode_encoding=2