Slic3r - Can I add new infill patterns?
Slic3r comes with a handful of infill patterns/algorithms, including Rectilinear, Hexagon, 3D Hexagon, Concentric, and Hilbert Curve.
Are there any patterns/algorithms already made and available that I can add to Slic3r? If so, how can I add them in?
Although the core of Slic3r is written in C++ a lot of other components such as infill generation are written in Perl. Since Slic3r is open source there is nothing stopping you from writing your own infill module in Perl and recompiling your own version of Slic3r.
If your considering doing this you can find the existing infill code in the Github repository at
https://github.com/alexrj/Slic3r/tree/master/lib/Slic3r/Fill
Instructions on how to run from source can be found at
Here is a commit where a new infill pattern is added. This should show you all the parts of the codebase that must be modified to add a new infill model (some trivial C++ modifications appear to be necessary in addition to the Perl code)
https://github.com/alexrj/Slic3r/commit/2811af349ae17230a525ddcf819b1ddffaa250c9
License under CC-BY-SA with attribution
Content dated before 7/24/2021 11:53 AM