OctoPrint / OctoPrint-Slic3r

Slic3r plugin for slicing within OctoPrint
GNU Affero General Public License v3.0
88 stars 30 forks source link

Update for PrusaSlicer #68

Open peter-holdsworth opened 2 years ago

peter-holdsworth commented 2 years ago

I don't know how to fork these things - but as an FYI - this works with PrusaSlicer 2.4 (running a 64bit Rasberry Ubuntu)

Had to update line 284 to: args = ['"%s"' % executable, '--load', '"%s"' % profile_path, '--center', '"%f,%f"' % (posX, posY), '-o', '"%s"' % machinecode_path, '"%s"' ,'-g ', % model_path]

sphereinabox commented 2 years ago

Looks like the check for PrusaSlicer doesn't work with 2.4. See https://github.com/OctoPrint/OctoPrint-Slic3r/blob/b21c2aae4543426fe7ba01ff2442c262f91c87e7/octoprint_slic3r/__init__.py#L293