i'm working with Cura (2.3.1) under linux. I have created a custom UM2 machine profile and some material/quality profiles.
Slicing with the Cura GUI is going well.
Now i want to atomate things, i.e. i want to use CuraEngine (from a Makefile) to slice my STL files into gcode.
To do this i would have to use many "-s" commandline options to specify the non-default slicer options (a look into cura.log reveals that it is calling CuraEngine with about 330 "-s" options, for example).
Now the question is:
Is it possible to use the Cura(-GUI) generated profiles (.cfg files stored in HOME/.local/share/cura) instead of listing them one by one on the CuraEngine command line? It seems that there is no commandline option to specify Cura profiles :-(
Or is there some other way like generating a list of "-s" options from the Cura profiles?
i have written a python program cura-engine-wrapper.py that reads the slicing parameters from Cura machine and quality/material profiles and calls CuraEngine with them to slice a model (stl file).
You can overwrite specific profile parameters on the command line and there are some additional use cases like listing available Cura containers/profiles or dumping the parameters of a given profile.
You can find it here: http://github.com/.../tree/master/scripts.
More information here: http://ibrieger.de/...om-command-line.html.