ENH: not apply z speed smooth on arachne

Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I6821d79bad47326a46d3cfa265184c6114493f74
This commit is contained in:
qing.zhang 2024-09-25 10:56:18 +08:00 committed by Lane.Wei
parent c6d9f2685e
commit 28fee5f65a
4 changed files with 15 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{
"name": "Bambulab",
"url": "http://www.bambulab.com/Parameters/vendor/BBL.json",
"version": "01.10.00.01",
"version": "01.10.00.02",
"force_update": "0",
"description": "the initial version of BBL configurations",
"machine_model_list": [

View File

@ -70,5 +70,7 @@
"wipe_tower_no_sparse_layers": "0",
"prime_tower_width": "35",
"wall_generator": "classic",
"z_direction_outwall_speed_continuous": "1",
"layer_time_smoothing": "0",
"compatible_printers": []
}

View File

@ -574,16 +574,16 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionBool(false));
def = this->add("z_direction_outwall_speed_continuous", coBool);
def->label = L("Z direction outwall speed continuous");
def->label = L("Smoothing wall speed in z direction(experimental)");
def->category = L("Quality");
def->tooltip = L("Smoothing outwall speed in z direction to get better surface quality. Print time will increases.");
def->tooltip = L("Smoothing outwall speed in z direction to get better surface quality. Print time will increases. It only works when the cooling function is turned on.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("layer_time_smoothing", coBool);
def->label = L("Layer time smoothing");
def->label = L("Layer time smoothing(experimental)");
def->category = L("Quality");
def->tooltip = L("Smoothing layer time in z direction to get better surface quality. Print time will increases.");
def->tooltip = L("Smoothing layer time in z direction to get better surface quality. Print time will increases. It only works when the cooling function is turned on.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));

View File

@ -312,6 +312,14 @@ void ConfigManipulation::update_print_fff_config(DynamicPrintConfig* config, con
is_msg_dlg_already_exist = false;
}
// arachen not support wall generator
bool have_arachne = config->opt_enum<PerimeterGeneratorType>("wall_generator") == PerimeterGeneratorType::Arachne;
if (have_arachne) {
DynamicPrintConfig new_conf = *config;
new_conf.set_key_value("z_direction_outwall_speed_continuous", new ConfigOptionBool(false));
apply(config, &new_conf);
}
double sparse_infill_density = config->option<ConfigOptionPercent>("sparse_infill_density")->value;
auto timelapse_type = config->opt_enum<TimelapseType>("timelapse_type");