mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 10:47:50 -06:00
New --skirt-height option. #11
This commit is contained in:
parent
b123194522
commit
097b8d9acb
8 changed files with 41 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue