Close



Results 1 to 2 of 2
  1. #1

    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?

  2. #2
    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]

    1. 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).
    2. Add the script to PrusaSlicer: In PrusaSlicer, navigate to the "Output Options" tab within your printer profile settings.
    3. 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.
    4. Enable the script: Make sure the "Run script" option is enabled.
    5. Test and adjust: Slice a print using the desired printer profile. The script should execute after slicing, converting the G-code to X3G.
    6. 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]

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •