Hi CUQ, thank you to give this direction.
I'm trying to use cura in batch, embedded in an optimization loop.
I have cura 5.3.1, it seems to me that the directories are not the same like your post.
I'm using a Creality Ender-3 S1 Pro.
I would like to create gcode from stl files exported from a CAD sw (Siemens NX).
This stl file is automatically generated from the optimizer (Heeds) changing some variables.
I would need to lunch cura for each of these stl file that will be created in a dedicated directory for each individual design (all this is created automatically by the optimizer).
I need to be able to lunch cura engine for each design in order to obtain a gcode in that directory.