diff options
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r-- | src/libslic3r/PrintConfig.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index c5ae79bd8..a4cc2f4d3 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -3849,7 +3849,10 @@ void PrintConfigDef::init_fff_params() def->set_default_value(new ConfigOptionBool(false)); def = this->add("solid_over_perimeters", coInt); - def->label = L("Max perimeters layer for solid infill"); + def->label = L("No solid infill over"); + def->full_label = L("No solid infill over perimeters"); + def->sidetext = L("perimeters"); + def->sidetext_width = 20; def->category = OptionCategory::perimeter; def->tooltip = L("When you have a medium/hight number of top/bottom solid layers, and a low/medium of perimeters," " then it have to put some solid infill inside the part to have enough solid layers." @@ -6482,6 +6485,7 @@ std::set<const DynamicPrintConfig*> DynamicPrintConfig::value_changed(const t_co } //FIXME localize this function. +//note: seems only called for config export & command line. Most of the validation work for the gui is done elsewhere... So this function may be a bit out-of-sync std::string FullPrintConfig::validate() { // --layer-height @@ -6558,7 +6562,7 @@ std::string FullPrintConfig::validate() // --fill-density if (fabs(this->fill_density.value - 100.) < EPSILON && (! print_config_def.get("top_fill_pattern")->has_enum_value(this->fill_pattern.serialize()) - || ! print_config_def.get("bottom_fill_pattern")->has_enum_value(this->fill_pattern.serialize()) + && ! print_config_def.get("bottom_fill_pattern")->has_enum_value(this->fill_pattern.serialize()) )) return "The selected fill pattern is not supposed to work at 100% density"; @@ -6581,11 +6585,6 @@ std::string FullPrintConfig::validate() if (em <= 0) return "Invalid value for --extrusion-multiplier"; - // --default-acceleration - if ((this->perimeter_acceleration.value != 0. || this->infill_acceleration.value != 0. || this->bridge_acceleration.value != 0. || this->first_layer_acceleration.value != 0.) && - this->default_acceleration.value == 0.) - return "Invalid zero value for --default-acceleration when using other acceleration settings"; - // --spiral-vase if (this->spiral_vase) { // Note that we might want to have more than one perimeter on the bottom |