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:
authorChristoph Schöning <schoning.christoph@gmail.com>2021-10-26 16:08:10 +0300
committersupermerill <merill@free.fr>2021-12-22 20:12:08 +0300
commita0f8d5023a622d77f3805ea26fa4771ed31846e9 (patch)
treed31fc6963defa88dc11be04bb313c05d2e959f18 /src/libslic3r/PrintConfig.cpp
parent0732d7106a1696961d96a9bf5346ee9e7eb6a626 (diff)
add init_z_rotate option
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r--src/libslic3r/PrintConfig.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp
index 7a0903bf0..854be0d4f 100644
--- a/src/libslic3r/PrintConfig.cpp
+++ b/src/libslic3r/PrintConfig.cpp
@@ -5020,6 +5020,16 @@ void PrintConfigDef::init_fff_params()
def->mode = comExpert;
def->set_default_value(new ConfigOptionFloat(0.005));
+ def = this->add("init_z_rotate", coFloat);
+ def->label = L("Preferred orientation");
+ def->category = OptionCategory::general;
+ def->tooltip = L("Rotate stl around z axes while adding them to the bed.");
+ def->sidetext = L("°");
+ def->min = -360;
+ def->max = 360;
+ def->mode = comAdvanced;
+ def->set_default_value(new ConfigOptionFloat(0.0));
+
// Declare retract values for filament profile, overriding the printer's extruder profile.
for (const char *opt_key : {
// floats