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-04-13 00:16:12 +0300
committersupermerill <merill@free.fr>2022-04-15 13:33:39 +0300
commit54ac5805cea3a18227d2eeb00599a61624b2a479 (patch)
tree7e8a43cb3aaac6e6b50d8cae0b876bc4298f358e /src/libslic3r/PrintConfig.cpp
parentde609f61c56f959f4a9b87b7cddc1950df8357f1 (diff)
Add print time estimation settings
supermerill/SuperSlicer#2150 supermerill/SuperSlicer#1133 supermerill/SuperSlicer#2688
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r--src/libslic3r/PrintConfig.cpp29
1 files changed, 28 insertions, 1 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp
index e0db228a2..fb8db9ea2 100644
--- a/src/libslic3r/PrintConfig.cpp
+++ b/src/libslic3r/PrintConfig.cpp
@@ -5201,15 +5201,42 @@ void PrintConfigDef::init_fff_params()
def->cli = ConfigOptionDef::nocli;
}
+ def = this->add("time_cost", coFloat);
+ def->label = L("Time cost");
+ def->category = OptionCategory::firmware;
+ def->tooltip = L("This setting allows you to set how much an hour of printing time is costing you in printer maintenance, loan, human albor, etc.");
+ def->mode = comExpert | comSuSi;
+ def->sidetext = L("$ per hour");
+ def->min = 0;
+ def->set_default_value(new ConfigOptionFloat(0));
+
def = this->add("time_estimation_compensation", coPercent);
def->label = L("Time estimation compensation");
def->category = OptionCategory::firmware;
def->tooltip = L("This setting allows you to modify the time estimation by a % amount. As Slic3r only uses the Marlin algorithm, it's not precise enough if another firmware is used.");
- def->mode = comAdvancedE | comSuSi;
+ def->mode = comExpert | comSuSi;
def->sidetext = L("%");
def->min = 0;
def->set_default_value(new ConfigOptionPercent(100));
+ def = this->add("time_start_gcode", coFloat);
+ def->label = L("Time for start custom gcode");
+ def->category = OptionCategory::firmware;
+ def->tooltip = L("This setting allows you to modify the time estimation by a flat amount to compensate for start script, the homing routine, and other things.");
+ def->mode = comExpert | comSuSi;
+ def->sidetext = L("s");
+ def->min = 0;
+ def->set_default_value(new ConfigOptionFloat(20));
+
+ def = this->add("time_toolchange", coFloat);
+ def->label = L("Time for toolchange");
+ def->category = OptionCategory::firmware;
+ def->tooltip = L("This setting allows you to modify the time estimation by a flat amount for each toolchange.");
+ def->mode = comExpert | comSuSi;
+ def->sidetext = L("s");
+ def->min = 0;
+ def->set_default_value(new ConfigOptionFloat(30));
+
def = this->add("toolchange_gcode", coString);
def->label = L("Tool change G-code");
def->category = OptionCategory::customgcode;