Ultimaker / CuraEngine

Powerful, fast and robust engine for converting 3D models into g-code instructions for 3D printers. It is part of the larger open source project Cura.
https://ultimaker.com/en/products/cura-software
GNU Affero General Public License v3.0
1.66k stars 874 forks source link

CuraEngine from command line fails to accept default_value from non-leaf config json nodes #2027

Open richfelker opened 5 months ago

richfelker commented 5 months ago

Running CuraEngine with the fdmprinter.def.json file from Cura repo is expected to work. However, it errors out with

Trying to retrieve setting with no value given: roofing_layer_count

despite the setting being present in the config json. The root cause seems to be the addition of child config nodes; without them (or with them moved out of it), fetching the value works.