<p>I think the easiest thing is to use the Cura application together with CuraEngine.
If your printer is not supported, you'll need to add it manually by adding a JSON here: <a href="https://github.com/Ultimaker/Cura/tree/master/resources/machines" rel="nofollow">https://github.com/Ultimaker/Cura/tree/master/resources/machines</a>
But when you are done you can easily choose all the features you want. For example: generating supports, printing order when printing multiple models, etc.
Cura and CuraEngine are developed at the same time, so you can expect that all features supported by the engine are accessible by the UI.</p>

CC BY-SA 3.0
2016-05-05T08:44:59.300Z
2016-05-05T08:44:59.300Z
thopiekar
<p>First, try </p>

<pre><code>CuraEngine.exe --help
</code></pre>

<p>The proper way is to first load in settings from the <code>.def.json</code> file of your printer. However, the formulae in the machine definition file are not being processed. CuraEngine only uses the <code>default_value</code>.</p>

<p>Then you specify setting overrides to set specific settings to a specific value. The specified settings are applied to the last provided object/extruder and otherwise globally.</p>

<pre><code>CuraEngine.exe -v -j machine.def.json -s global_setting=global_value 
    -e1 -s setting=extruder_value
    -l object_to_be_printed_with_second_extruder.stl -s setting=object_value 
    -o output.gcode
</code></pre>

<p>One-at-a-time mode is done by adding <code>--next</code> commands between each group:</p>

<pre><code>CuraEngine [general settings] -g [settings for the first model] --next [settings for the next model]
</code></pre>

CC BY-SA 4.0
2017-07-30T10:20:14.037Z
2018-08-15T12:26:16.073Z
2018-08-15T12:26:16.073Z
Tim Kuipers
<p>I'm not sure if it's possible, but on github is code for setting CuraEngine up. Maybe you'll find this link, <a href="https://github.com/Ultimaker/CuraEngine/blob/master/src/settings/settings.cpp" rel="nofollow noreferrer"> CuraEngine/src/settings/settings.cpp</a> helpful. </p>

<p>The latest release has more speed customization. You can change first layer speed, outer shell speed, inner shell speed, infill speed, and top and bottom speed.</p>

<p>You can cut objects, its just a little wonky. In the advanced tab there is a "cut off object at Z height" that you can use to cut objects in half.</p>

<p>Theoretically, you can put all settings into a JSON formatted file. </p>

CC BY-SA 4.0
2016-03-22T09:11:21.610Z
2018-08-15T12:12:02.717Z
2018-08-15T12:12:02.717Z
Josip Ivic
<p>What is the proper way to give printer settings to CuraEngine? Is it possible to put all these settings into a file (like Json formatted)?</p>

<pre><code>CuraEngine.exe -v -o "c:\3d\test.gcode" "c:\3d\test.stl"
</code></pre>

<ultimaker-cura>
Settings for CuraEngine
Baran
# Settings for CuraEngine

(Asked by: username_0 on 2016-03-08)

What is the proper way to give printer settings to CuraEngine? Is it possible to put all these settings into a file (like Json formatted)?
CuraEngine.exe -v -o "c:\3d\test.gcode" "c:\3d\test.stl"

**Tags:** ultimaker-cura

---

## 3 answers

### Answer by username_1 on 2016-05-05. Score: 4

I think the easiest thing is to use the Cura application together with CuraEngine.
If your printer is not supported, you'll need to add it manually by adding a JSON here: <https://github.com/Ultimaker/Cura/tree/master/resources/machines>
But when you are done you can easily choose all the features you want. For example: generating supports, printing order when printing multiple models, etc.
Cura and CuraEngine are developed at the same time, so you can expect that all features supported by the engine are accessible by the UI.


---

### Answer by username_2 on 2017-07-30. Score: 2

First, try 
CuraEngine.exe --help

The proper way is to first load in settings from the .def.json file of your printer. However, the formulae in the machine definition file are not being processed. CuraEngine only uses the default_value.
Then you specify setting overrides to set specific settings to a specific value. The specified settings are applied to the last provided object/extruder and otherwise globally.
CuraEngine.exe -v -j machine.def.json -s global_setting=global_value 
    -e1 -s setting=extruder_value
    -l object_to_be_printed_with_second_extruder.stl -s setting=object_value 
    -o output.gcode

One-at-a-time mode is done by adding --next commands between each group:
CuraEngine [general settings] -g [settings for the first model] --next [settings for the next model]


---

### Answer by username_3 on 2016-03-22. Score: 2

I'm not sure if it's possible, but on github is code for setting CuraEngine up. Maybe you'll find this link,  [CuraEngine/src/settings/settings.cpp](https://github.com/Ultimaker/CuraEngine/blob/master/src/settings/settings.cpp) helpful.

The latest release has more speed customization. You can change first layer speed, outer shell speed, inner shell speed, infill speed, and top and bottom speed.

You can cut objects, its just a little wonky. In the advanced tab there is a "cut off object at Z height" that you can use to cut objects in half.

Theoretically, you can put all settings into a JSON formatted file.


---

