mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 14:55:08 -06:00
Allow perimeters = 0. #282
This commit is contained in:
parent
7a4b43f8c5
commit
bf964b5273
4 changed files with 3 additions and 7 deletions
|
@ -554,7 +554,7 @@ sub validate {
|
|||
|
||||
# --perimeters
|
||||
die "Invalid value for --perimeters\n"
|
||||
if $Slic3r::perimeters < 1;
|
||||
if $Slic3r::perimeters < 0;
|
||||
|
||||
# --solid-layers
|
||||
die "Invalid value for --solid-layers\n"
|
||||
|
|
|
@ -11,10 +11,6 @@ sub make_perimeter {
|
|||
my ($layer) = @_;
|
||||
Slic3r::debugf "Making perimeters for layer %d\n", $layer->id;
|
||||
|
||||
# at least one perimeter is required
|
||||
die "Can't slice object with no perimeters!\n"
|
||||
if $Slic3r::perimeters == 0;
|
||||
|
||||
# this array will hold one arrayref per original surface (island);
|
||||
# each item of this arrayref is an arrayref representing a depth (from outer
|
||||
# perimeters to inner); each item of this arrayref is an ExPolygon:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue