ENH: default open support_interface_not_for_body

jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I48e084deb18633f9ec47a8ec4ec643163bf66318
This commit is contained in:
xun.zhang 2023-11-01 11:50:46 +08:00 committed by Lane.Wei
parent 0a2b9a7457
commit ce2af1e011
2 changed files with 3 additions and 2 deletions

View File

@ -3207,6 +3207,7 @@ GCode::LayerResult GCode::process_layer(
if (print.config().filament_soluble.get_at(extruder_id))
continue;
//BBS: now we don't consider interface filament used in other object
if (extruder_id == interface_extruder)
continue;
@ -3215,7 +3216,7 @@ GCode::LayerResult GCode::process_layer(
}
//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) {
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);

View File

@ -3017,7 +3017,7 @@ void PrintConfigDef::init_fff_params()
def->category = L("Support");
def->tooltip = L("Don't use support interface filament to print support body");
def->mode = comSimple;
def->set_default_value(new ConfigOptionBool(false));
def->set_default_value(new ConfigOptionBool(true));
def = this->add("support_line_width", coFloat);
def->label = L("Support");