Add internal_infill_min_width setting #13775
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a setting to remedy situations where this:
Has layers like this:
The thin patches of internal infill only slow the print down as the printer has to make a lot of unnecessary direction changes and moves. For thin sections like this, it's faster to just replace the sections with solid infill.
It can also make for a cleaner base plate surface for "logo or sign" like prints like the one in the example picture. If needed, it can be used as a height range modifier to apply the logic to only the backing part, and then have all the raised bits use internal infill to save plastic.
In addition to the "infill area width" check there is also logic to allow small patches of internal infill if there isn't enough surrounding solid area. This allows the sign in the example to be printed so that the base plate it entirely solid, but the letters themselves have internal infill because there is no surrounding solid infill to blend into. The check is somewhat of a heuristic, so somebody might have a better idea for it, but it worked well enough with my test objects.
Attached is a more complicated test object if somebody feels like playing with the setting and seeing how it affects different kinds of shapes.
sign_slice.zip (STL file)