As a general rule, only settings that don't have children in fdmprinter.def.json are actually used by CuraEngine. All the other settings are used in formulas to feed into those "final"/leaf settings. For example the infill_line_distance gets calculated from the infill_sparse_density and the infill_pattern by Cura (from a python expression) and fed to CuraEngine
"value": "0 if infill_sparse_density == 0 else (infill_line_width * 100) / infill_sparse_density * (2 if infill_pattern == 'grid' else (3 if infill_pattern == 'triangles' or infill_pattern == 'trihexagon' or infill_pattern == 'cubic' or infill_pattern == 'cubicsubdiv' else (2 if infill_pattern == 'tetrahedral' or infill_pattern == 'quarter_cubic' else (1 if infill_pattern == 'cross' or infill_pattern == 'cross_3d' else 1))))",
-
2
Recommended Posts
tinkergnome 926
A have not the slightest clue how the CuraEngine works, but...
a search for "infill_sparse_density" in CuraEngine results in zero hits. It's obviously not used at all.
It seems like "infill_line_distance" is a better bet... 🤷♂️
Link to post
Share on other sites
dougconran 1
Brilliant! That's it. Thanks, also, for the pointer to the GitHub repository.
Link to post
Share on other sites