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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Matena <lukasmatena@seznam.cz>2018-03-16 15:58:58 +0300
committerLukas Matena <lukasmatena@seznam.cz>2018-03-16 15:58:58 +0300
commitb556cec42d25291fa167da745c9b985490b0a8ac (patch)
treec7a17df0778aab8dccf07e480ac8f15bf1389ce9 /xs/src/libslic3r/PrintConfig.cpp
parente86423860961cfcfc9181fa2c9c6facc97547ad0 (diff)
Got rid of wipe_tower_advanced option
Diffstat (limited to 'xs/src/libslic3r/PrintConfig.cpp')
-rw-r--r--xs/src/libslic3r/PrintConfig.cpp24
1 files changed, 18 insertions, 6 deletions
diff --git a/xs/src/libslic3r/PrintConfig.cpp b/xs/src/libslic3r/PrintConfig.cpp
index 081c05b2d..6d40b8582 100644
--- a/xs/src/libslic3r/PrintConfig.cpp
+++ b/xs/src/libslic3r/PrintConfig.cpp
@@ -1773,12 +1773,24 @@ PrintConfigDef::PrintConfigDef()
def->cli = "wipe-tower!";
def->default_value = new ConfigOptionBool(false);
- def = this->add("wipe_tower_advanced", coString);
- def->label = L("Advanced string");
- def->tooltip = L("Advanced tooltip ");
- def->sidetext = L("advanced sidetext");
- def->cli = "wipe-tower-advanced=s";
- def->default_value = new ConfigOptionString("");
+ def = this->add("wiping_volumes_extruders", coFloats);
+ def->label = L("Extrusion multiplier");
+ def->tooltip = L("This vector saves required volumes to change from/to each tool used on the "
+ "wipe tower. These values are used to simplify creation of the full purging "
+ "volumes below. ");
+ def->cli = "wiping-volumes-extruders=f@";
+ def->default_value = new ConfigOptionFloats { 50.f, 50.f, 50.f, 50.f, 50.f, 50.f, 50.f, 50.f, 50.f, 50.f };
+
+ def = this->add("wiping_volumes_matrix", coFloats);
+ def->label = L("Extrusion multiplier");
+ def->tooltip = L("This matrix describes volumes (in cubic milimetres) required to purge the"
+ " new filament on the wipe tower for any given pair of tools. ");
+ def->cli = "wiping-volumes-matrix=f@";
+ def->default_value = new ConfigOptionFloats { 0.f, 100.f, 100.f, 100.f, 100.f,
+ 100.f, 0.f, 100.f, 100.f, 100.f,
+ 100.f, 100.f, 0.f, 100.f, 100.f,
+ 100.f, 100.f, 100.f, 0.f, 100.f,
+ 100.f, 100.f, 100.f, 100.f, 0.f };
def = this->add("wipe_tower_x", coFloat);
def->label = L("Position X");