Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsupermerill <merill@free.fr>2022-03-31 12:03:29 +0300
committersupermerill <merill@free.fr>2022-04-01 00:48:01 +0300
commitf554e802fa826ed4d0574b0a08d4c45f728d290a (patch)
treebaedcbf22760d2ec6072b4e35df6c620b3afd6dc /src/libslic3r/PrintConfig.cpp
parentc7285758f68a1a0276bb9e9a503f144191e58b25 (diff)
skirt and brim speed & acceleration
supermerill/SuperSlicer#1789
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r--src/libslic3r/PrintConfig.cpp31
1 files changed, 30 insertions, 1 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp
index b62a3714a..bde2beb52 100644
--- a/src/libslic3r/PrintConfig.cpp
+++ b/src/libslic3r/PrintConfig.cpp
@@ -862,7 +862,21 @@ void PrintConfigDef::init_fff_params()
def->min = 0;
def->max = 180;
def->mode = comAdvancedE | comSuSi;
- def->set_default_value(new ConfigOptionFloat(125));
+ def->set_default_value(new ConfigOptionFloat(125));
+
+ def = this->add("brim_acceleration", coFloatOrPercent);
+ def->label = L("Brim & Skirt");
+ def->full_label = L("Brim & Skirt acceleration");
+ def->category = OptionCategory::speed;
+ def->tooltip = L("This is the acceleration your printer will use for brim and skirt. "
+ "\nCan be a % of the support acceleration"
+ "\nSet zero to use support acceleration.");
+ def->sidetext = L("mm/s² or %");
+ def->ratio_over = "support_material_acceleration";
+ def->min = 0;
+ def->max_literal = { -200, false };
+ def->mode = comAdvancedE | comSuSi;
+ def->set_default_value(new ConfigOptionFloatOrPercent(0, false));
def = this->add("brim_ears_detection_length", coFloat);
def->label = L("Detection radius");
@@ -900,6 +914,19 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionFloat(0));
def->aliases = { "brim_offset" }; // from superslicer 2.3
+ def = this->add("brim_speed", coFloatOrPercent);
+ def->label = L("Brim & Skirt");
+ def->full_label = L("Brim & Skirt speed");
+ def->category = OptionCategory::speed;
+ def->tooltip = L("This separate setting will affect the speed of brim and skirt. "
+ "\nIf expressed as percentage (for example: 80%) it will be calculated over the Support speed setting."
+ "\nSet zero to use autospeed for this feature.");
+ def->sidetext = L("mm/s or %");
+ def->ratio_over = "support_material_speed";
+ def->min = 0;
+ def->mode = comExpert | comSuSi;
+ def->set_default_value(new ConfigOptionFloatOrPercent(50, true));
+
#if 0
def = this->add("brim_type", coEnum);
def->label = L("Brim type");
@@ -6969,11 +6996,13 @@ std::unordered_set<std::string> prusa_export_to_remove_keys = {
"bridge_speed_internal",
"bridge_type",
"bridged_infill_margin",
+"brim_acceleration",
"brim_ears_detection_length",
"brim_ears_max_angle",
"brim_ears_pattern",
"brim_ears",
"brim_inside_holes",
+"brim_speed",
"brim_width_interior",
"chamber_temperature",
"complete_objects_one_brim",