ENH: privide setting option of exclude_area

As title. User can delete the value to enable 256x256 printable
size

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ia10454b7a7a1b28c04d8d41df9f3251875f6e74e
This commit is contained in:
salt.wei 2022-07-25 18:32:05 +08:00 committed by Lane.Wei
parent f9dce93a52
commit 5a2669dcc2
7 changed files with 30 additions and 11 deletions

View file

@ -264,8 +264,11 @@ void PrintConfigDef::init_common_params()
//BBS: add "bed_exclude_area"
def = this->add("bed_exclude_area", coPoints);
def->label = L("Bed exclude area");
def->mode = comDevelop;
def->set_default_value(new ConfigOptionPoints{});
def->tooltip = L("Bed exclude area that can't used as printable area in X-Y plane. For example, the bottom left area which is used to cut filament in X1 when printing multi colors with AMS. "
"The area is expressed as polygon by points in following format: \"XxY, XxY, ...\"");
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::one_string;
def->set_default_value(new ConfigOptionPoints{ Vec2d(0, 0) });
def = this->add("elefant_foot_compensation", coFloat);
def->label = L("Elephant foot compensation");
@ -290,7 +293,6 @@ void PrintConfigDef::init_common_params()
def->sidetext = L("mm");
def->min = 0;
def->max = 1000;
def->readonly = true;
def->mode = comSimple;
def->set_default_value(new ConfigOptionFloat(100.0));