mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
add One wall threshold parameter
This commit is contained in:
@@ -749,6 +749,21 @@ void PrintConfigDef::init_fff_params()
|
||||
def->tooltip = L("Use only one wall on flat top surface, to give more space to the top infill pattern");
|
||||
def->set_default_value(new ConfigOptionBool(false));
|
||||
|
||||
// the tooltip is copied from SuperStudio
|
||||
def = this->add("min_width_top_surface", coFloatOrPercent);
|
||||
def->label = L("One wall threshold");
|
||||
def->category = L("Quality");
|
||||
def->tooltip = L("If a top surface has to be printed and it's partially covered by another layer, it won't be considered at a top layer where its width is below this value."
|
||||
" This can be useful to not let the 'one perimeter on top' trigger on surface that should be covered only by perimeters."
|
||||
" This value can be a mm or a % of the perimeter extrusion width."
|
||||
"\nWarning: If enabled, artifacts can be created is you have some thin features on the next layer, like letters. Set this setting to 0 to remove these artifacts.");
|
||||
def->sidetext = L("mm or %");
|
||||
def->ratio_over = "inner_wall_line_width";
|
||||
def->min = 0;
|
||||
def->max_literal = 15;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloatOrPercent(300, true));
|
||||
|
||||
def = this->add("only_one_wall_first_layer", coBool);
|
||||
def->label = L("Only one wall on first layer");
|
||||
def->category = L("Quality");
|
||||
|
||||
Reference in New Issue
Block a user