diff --git a/t/perimeters.t b/t/perimeters.t index b1706f29c..c50ae79c8 100644 --- a/t/perimeters.t +++ b/t/perimeters.t @@ -317,6 +317,7 @@ use Slic3r::Test; $config->set('nozzle_diameter', [0.4]); $config->set('perimeters', 2); $config->set('perimeter_extrusion_width', 0.4); + $config->set('external_perimeter_extrusion_width', 0.4); $config->set('infill_extrusion_width', 0.53); $config->set('solid_infill_extrusion_width', 0.53); diff --git a/xs/src/libslic3r/Flow.cpp b/xs/src/libslic3r/Flow.cpp index 0f3616ca5..1f787f50e 100644 --- a/xs/src/libslic3r/Flow.cpp +++ b/xs/src/libslic3r/Flow.cpp @@ -41,7 +41,6 @@ static inline float auto_extrusion_width(FlowRole role, float nozzle_diameter, f return std::max(width, nozzle_diameter * 1.05f); } #else -// 1.125f * nozzle_diameter; switch (role) { case frSupportMaterial: case frSupportMaterialInterface: @@ -52,7 +51,7 @@ static inline float auto_extrusion_width(FlowRole role, float nozzle_diameter, f case frPerimeter: case frSolidInfill: case frInfill: - 1.125f * nozzle_diameter; + return 1.125f * nozzle_diameter; } #endif } diff --git a/xs/src/libslic3r/PrintConfig.cpp b/xs/src/libslic3r/PrintConfig.cpp index 4d1479a68..df9837107 100644 --- a/xs/src/libslic3r/PrintConfig.cpp +++ b/xs/src/libslic3r/PrintConfig.cpp @@ -693,7 +693,7 @@ PrintConfigDef::PrintConfigDef() def->sidetext = "mm or %"; def->cli = "infill-overlap=s"; def->ratio_over = "perimeter_extrusion_width"; - def->default_value = new ConfigOptionFloatOrPercent(55, true); + def->default_value = new ConfigOptionFloatOrPercent(25, true); def = this->add("infill_speed", coFloat); def->label = "Infill";