Limit number of perimeters to 10 thousands, that is 50 meters with 0.2mm
nozzle. The number of perimeters has to be limited due to a numerical overflow of fixed point 32bit coordinates in the offsetting algorithm.
This commit is contained in:
parent
562343cd2a
commit
4be6c17fd3
1 changed files with 1 additions and 0 deletions
|
@ -1375,6 +1375,7 @@ void PrintConfigDef::init_fff_params()
|
||||||
def->sidetext = L("(minimum)");
|
def->sidetext = L("(minimum)");
|
||||||
def->aliases = { "perimeter_offsets" };
|
def->aliases = { "perimeter_offsets" };
|
||||||
def->min = 0;
|
def->min = 0;
|
||||||
|
def->max = 10000;
|
||||||
def->default_value = new ConfigOptionInt(3);
|
def->default_value = new ConfigOptionInt(3);
|
||||||
|
|
||||||
def = this->add("post_process", coStrings);
|
def = this->add("post_process", coStrings);
|
||||||
|
|
Loading…
Add table
Reference in a new issue