Results 1 to 2 of 2
-
03-31-2025, 09:52 PM #1
- Join Date
- Sep 2019
- Posts
- 5
PrusaSlicer postprocessing script if a certain printer is used?
I have three 3-D printers. I have different printer profiles for each. One of them actually requires the X3G file format so I need a post processing step BUT ONLY when that printer profile is selected. I don’t see that Prusa slicer offers any way to do that on a per printer basis. But is there a way?
-
05-11-2025, 11:37 PM #2
- Join Date
- Aug 2024
- Posts
- 31
I put your post into Google and got this reply. I thought having separate profiles would be enough but here is what Gemini says.
To achieve per-printer post-processing in PrusaSlicer, you can't directly set it up to automatically convert to X3G for one profile only. Instead, you'll need to use a post-processing script that's activated manually when the desired printer profile is selected. Here's how: [1, 1, 2, 2, 3, 4, 5, 6]
- Create a post-processing script: This script will take the generated G-code file and convert it to X3G using a tool like gpx.sh (mentioned in the Prusa3D forum).
- Add the script to PrusaSlicer: In PrusaSlicer, navigate to the "Output Options" tab within your printer profile settings.
- Specify the script path: Enter the path to your post-processing script (e.g., ~/bin/gpx.sh) in the designated field, as mentioned in this Prusa3D forum thread.
- Enable the script: Make sure the "Run script" option is enabled.
- Test and adjust: Slice a print using the desired printer profile. The script should execute after slicing, converting the G-code to X3G.
- Note: You'll need to ensure that the script is executable (chmod 775 gpx.sh). You can find information about the script's use in this Prusa3D forum thread.
In essence, you're not setting up a per-profile post-processing trigger within PrusaSlicer, but rather, activating a script manually when needed. [1, 2]
Keeping filament vacuum sealed.
05-13-2025, 04:02 PM in 3D Printer Parts, Filament & Materials