Open terryspitz opened 7 years ago
The auto-replacement of settings in the start_gcode is a frontend feature - it doesn't work when you use the command line directly.
We at Ultimaker are probably not going to do this, because none of our printers have such settings in the start_gcode and we don't really use the command line tool in that way.
We do allow pull requests, if you really want this to work, though.
Note that while the frontend uses the "value" function in order to determine the value of a setting, the engine only uses "default_value", so you might get different settings when you slice via the command line.
I'm using the following command line on Windows 10:
"C:\Program Files\Cura 2.4\CuraEngine.exe" slice -j "c:\Program Files\Cura 2.4\resources\definitions\prusa_i3_mk2.def.json" -l Marvin.stl -o Marvin.gcode
Output gcode has duplicate M104 and it doesn't set the temperatures properly on my Prusa Mk2.
whereas GUI generated gcode starts: