added option to limit polyhole edges (#12349)

Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
This commit is contained in:
Florian
2026-07-05 04:03:36 +02:00
committed by GitHub
parent dd99549d20
commit 2d4f7a7437
6 changed files with 25 additions and 10 deletions

View File

@@ -7137,6 +7137,15 @@ void PrintConfigDef::init_fff_params()
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("hole_to_polyhole_max_edges", coInt);
def->label = L("Maximum Polyhole edge count");
def->category = L("Quality");
def->tooltip = L("Maximum number of polyhole edges"
"\nThis setting limits the amount of edges a polyhole can have");
def->mode = comExpert;
def->min = 3;
def->set_default_value(new ConfigOptionInt(50));
def = this->add("thumbnails", coString);
def->label = L("G-code thumbnails");
def->tooltip = L("Picture sizes to be stored into a .gcode and .sl1 / .sl1s files, in the following format: \"XxY, XxY, ...\"");