Slic3r icon indicating copy to clipboard operation
Slic3r copied to clipboard

Any examples for simple uses of the libSlic3r API

Open MBeghal opened this issue 1 year ago • 1 comments

Hi,

I am developing a software in C++ and have successfully imported the libslic3r libraries into my project. I was wondering if there are any examples out there (even very simple ones) of using the API to import a model, slice it and exporting GCode. Basically anything to help me get started on how to use the API beyond the list of classes and methods.

Any help is much appreciated.

MBeghal avatar Jul 11 '22 13:07 MBeghal

@MBeghal there are some test-files inside slic3r itself (slic3r>slic3r>src>test) you can use as examples. Also, I found this python-slic3r-api helpfull: https://github.com/VasanthBalguri/slic3r-python/tree/master.

Do you have some advice on how to import libslic3r into your project? How did you manage it? I would really be thankfull for your advice!

Patlax avatar Jan 04 '24 19:01 Patlax