Skip to content

Commit

Permalink
Enable infill pattern via infill line distance instead.
Browse files Browse the repository at this point in the history
Fixes an issue where, when the global infill density was 0, and the settings for a mesh overlap changed the infill line distance (but not outright the density),  the infill pattern would be disabled in the mesh overlap settings. (You still will need to select both the density and line width to actually change the line width though.)

Relates to github issue Cura/10349 (not explicity linking it here, as it might close that issue then, while it shouldn't as most sub-issues in there are still unresolved one way or the other.
  • Loading branch information
rburema committed Sep 7, 2021
1 parent 30b8293 commit 7eeae4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/definitions/fdmprinter.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -1909,7 +1909,7 @@
"gyroid": "Gyroid"
},
"default_value": "grid",
"enabled": "infill_sparse_density > 0",
"enabled": "infill_line_distance > 0",
"value": "'lines' if infill_sparse_density > 25 else 'grid'",
"limit_to_extruder": "infill_extruder_nr",
"settable_per_mesh": true
Expand Down

0 comments on commit 7eeae4d

Please sign in to comment.