From 28fee5f65a790535084f9d25ce93a6126b8ce4d4 Mon Sep 17 00:00:00 2001 From: "qing.zhang" Date: Wed, 25 Sep 2024 10:56:18 +0800 Subject: [PATCH] ENH: not apply z speed smooth on arachne Jira: none Signed-off-by: qing.zhang Change-Id: I6821d79bad47326a46d3cfa265184c6114493f74 --- resources/profiles/BBL.json | 2 +- .../profiles/BBL/process/fdm_process_bbl_common.json | 2 ++ src/libslic3r/PrintConfig.cpp | 8 ++++---- src/slic3r/GUI/ConfigManipulation.cpp | 8 ++++++++ 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/resources/profiles/BBL.json b/resources/profiles/BBL.json index ca721ca95..81b9d6f40 100644 --- a/resources/profiles/BBL.json +++ b/resources/profiles/BBL.json @@ -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": [ diff --git a/resources/profiles/BBL/process/fdm_process_bbl_common.json b/resources/profiles/BBL/process/fdm_process_bbl_common.json index d77980a29..85ff4ac4d 100644 --- a/resources/profiles/BBL/process/fdm_process_bbl_common.json +++ b/resources/profiles/BBL/process/fdm_process_bbl_common.json @@ -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": [] } \ No newline at end of file diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 287e99fad..3bda2350a 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -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)); diff --git a/src/slic3r/GUI/ConfigManipulation.cpp b/src/slic3r/GUI/ConfigManipulation.cpp index 136a0f140..27bc1274f 100644 --- a/src/slic3r/GUI/ConfigManipulation.cpp +++ b/src/slic3r/GUI/ConfigManipulation.cpp @@ -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("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("sparse_infill_density")->value; auto timelapse_type = config->opt_enum("timelapse_type");