mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-17 11:35:56 +08:00
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:
parent
0a2b9a7457
commit
ce2af1e011
@ -3207,6 +3207,7 @@ GCode::LayerResult GCode::process_layer(
|
|||||||
if (print.config().filament_soluble.get_at(extruder_id))
|
if (print.config().filament_soluble.get_at(extruder_id))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
//BBS: now we don't consider interface filament used in other object
|
||||||
if (extruder_id == interface_extruder)
|
if (extruder_id == interface_extruder)
|
||||||
continue;
|
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
|
//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
|
// BBS : get a suitable extruder from other layer
|
||||||
auto all_extruders = print.extruders();
|
auto all_extruders = print.extruders();
|
||||||
dontcare_extruder = get_next_extruder(dontcare_extruder, all_extruders);
|
dontcare_extruder = get_next_extruder(dontcare_extruder, all_extruders);
|
||||||
|
@ -3017,7 +3017,7 @@ void PrintConfigDef::init_fff_params()
|
|||||||
def->category = L("Support");
|
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 body");
|
||||||
def->mode = comSimple;
|
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 = this->add("support_line_width", coFloat);
|
||||||
def->label = L("Support");
|
def->label = L("Support");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user