New --skirt-height option. #11

This commit is contained in:
Alessandro Ranellucci 2011-11-13 18:41:12 +01:00
parent b123194522
commit 097b8d9acb
8 changed files with 41 additions and 15 deletions

View file

@ -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;