FIX: support do not generate

jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ide9709d95203185538e280517f7aa6136beeda44
This commit is contained in:
xun.zhang 2023-11-27 16:01:42 +08:00 committed by Lane.Wei
parent 92e0e3dbda
commit 1d50e208b2
2 changed files with 4 additions and 3 deletions

View File

@ -3214,13 +3214,14 @@ GCode::LayerResult GCode::process_layer(
dontcare_extruder = extruder_id;
break;
}
#if 0
//BBS: not found a suitable extruder in current layer ,dontcare_extruider==first_extruder_id==interface_extruder
if (dontcare_extruder == interface_extruder && (object.config().support_interface_not_for_body && object.config().support_interface_filament.value!=0)) {
// BBS : get a suitable extruder from other layer
auto all_extruders = print.extruders();
dontcare_extruder = get_next_extruder(dontcare_extruder, all_extruders);
}
#endif
if (support_dontcare)
support_extruder = dontcare_extruder;

View File

@ -3037,9 +3037,9 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionInt(0));
def = this->add("support_interface_not_for_body",coBool);
def->label = L("No interface filament for body");
def->label = L("No interface filament for base");
def->category = L("Support");
def->tooltip = L("Don't use support interface filament to print support body");
def->tooltip = L("Don't use support interface filament to print support base");
def->mode = comSimple;
def->set_default_value(new ConfigOptionBool(true));