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:
Diffstat (limited to 'lib/Slic3r/Config.pm')
-rw-r--r--lib/Slic3r/Config.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm
index 581ebb305..732df6ac6 100644
--- a/lib/Slic3r/Config.pm
+++ b/lib/Slic3r/Config.pm
@@ -144,6 +144,10 @@ our $Options = {
label => 'Distance from object (mm)',
type => 'i',
},
+ 'skirt_height' => {
+ label => 'Skirt height (layers)',
+ type => 'i',
+ },
# transform options
'scale' => {
@@ -313,6 +317,10 @@ sub validate {
# --duplicate-distance
die "Invalid value for --duplicate-distance\n"
if $Slic3r::duplicate_distance < 1;
+
+ # --skirt-height
+ die "Invalid value for --skirt-height\n"
+ if $Slic3r::skirt_height < 1;
}
1;