Fixed test cases after change of the "sane" extrusion widths.
Changed the default perimeter / infill overlap to 25%.
This commit is contained in:
parent
ac672d9dc5
commit
aaefb76888
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue