Add back the option to disable ensure vertical shell thickness and detect narrow internal solid infill (#2626)

* Add back the option to disable `ensure vertical shell thickness` (#2602)

* Add back the option to disable `detect narrow internal solid infill` (#2623)
This commit is contained in:
Noisyfox 2023-11-06 23:21:07 +08:00 committed by GitHub
parent 9f599cd51f
commit c0a8f430f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 207 additions and 6 deletions

View file

@ -645,7 +645,7 @@ std::vector<SurfaceFill> group_fills(const Layer &layer)
}
// BBS: detect narrow internal solid infill area and use ipConcentricInternal pattern instead
/*if (layer.object()->config().detect_narrow_internal_solid_infill)*/ {
if (layer.object()->config().detect_narrow_internal_solid_infill) {
size_t surface_fills_size = surface_fills.size();
for (size_t i = 0; i < surface_fills_size; i++) {
if (surface_fills[i].surface.surface_type != stInternalSolid)