Allow a standard threadcount
LivInTheLookingGlass opened this issue · 2 comments
It would be nice if I could have a box which always passes the --threads argument to slic3r. At the moment it appears to ignore this argument if I upload a profile. If you can point me at the correct files to change, then I'm more than happy to submit a PR.
From the slic3r documentation:
-j, --threads <num> Number of threads to use (1+, default: 12)
So the default is 12, which seems like a good number!
I prefer not to add arguments like --threads
into the Slic3r plugin because it's too difficult to keep up with all the changes that keep happening in Slic3r. Instead, Slic3r is designed to work with whatever flags Slic3r supports.
So I see a couple options:
- You could make a script that would do it. If you wrote this file:
and saved it named
#!/bin/bash ./slic3r.pl --threads 100 $@
slic3r_threads_100.sh
, made it executable, and then used that as your slic3r executable, that would work. - A second option is to change your settings in OctoPrint-Slic3r so that the executable is
slic3r.pl --threads 100
. Then you wouldn't need to write a script. However, this currently does not work in my testing. If you want to write the PR for that, that would be useful!
What do you think?
I think that the workaround should be sufficient and the user has not responded.