3 hours ago, gr5 said:For example settings.def.json files you should look around in the folders that Cura creates
Except those folders will rarely contain any .def.json files. Files ending with .def.json are mostly "machine definitions", and they are located in the resources folder of the application bundle.
https://github.com/Ultimaker/Cura/tree/master/resources/definitions
One thing to note is that CuraEngine only ever uses "default_value" and completely ignores "value".
Recommended Posts
ahoeben 1,890
It sounds like you may want to skip the Cura frontend and slice directly using the CuraEngine slicer. This is what Cura does in the background.
CuraEngine does have a command-line interface, and it is possible to specify a model and all the settings. As an aside, Cura does not use the command line to communicate with the CuraEngine, but it uses a socket to send models and settings to the engine (using a protocol named "Arcus", see https://github.com/Ultimaker/libArcus).
The CuraEngine command-line interface has the following options for slicing:
The resulting gcode contains a comment with how much material is used (in meters). You can calculate the weight from the filament diameter and the density of the material.
Link to post
Share on other sites
gr5 2,097
For example settings.def.json files you should look around in the folders that Cura creates. For example on windows I think maybe it's in %appdata%/cura. On linux I think it's in ~/cura/share/cura/resources/
Just search for files on your computer *.def.json.
Link to post
Share on other sites