Allow perimeters = 0. #282
This commit is contained in:
parent
7a4b43f8c5
commit
bf964b5273
@ -143,7 +143,7 @@ The author is Alessandro Ranellucci (me).
|
|||||||
Infill every N layers (default: 1)
|
Infill every N layers (default: 1)
|
||||||
|
|
||||||
Print options:
|
Print options:
|
||||||
--perimeters Number of perimeters/horizontal skins (range: 1+,
|
--perimeters Number of perimeters/horizontal skins (range: 0+,
|
||||||
default: 3)
|
default: 3)
|
||||||
--solid-layers Number of solid layers to do for top/bottom surfaces
|
--solid-layers Number of solid layers to do for top/bottom surfaces
|
||||||
(range: 1+, default: 3)
|
(range: 1+, default: 3)
|
||||||
|
@ -554,7 +554,7 @@ sub validate {
|
|||||||
|
|
||||||
# --perimeters
|
# --perimeters
|
||||||
die "Invalid value for --perimeters\n"
|
die "Invalid value for --perimeters\n"
|
||||||
if $Slic3r::perimeters < 1;
|
if $Slic3r::perimeters < 0;
|
||||||
|
|
||||||
# --solid-layers
|
# --solid-layers
|
||||||
die "Invalid value for --solid-layers\n"
|
die "Invalid value for --solid-layers\n"
|
||||||
|
@ -11,10 +11,6 @@ sub make_perimeter {
|
|||||||
my ($layer) = @_;
|
my ($layer) = @_;
|
||||||
Slic3r::debugf "Making perimeters for layer %d\n", $layer->id;
|
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);
|
# this array will hold one arrayref per original surface (island);
|
||||||
# each item of this arrayref is an arrayref representing a depth (from outer
|
# each item of this arrayref is an arrayref representing a depth (from outer
|
||||||
# perimeters to inner); each item of this arrayref is an ExPolygon:
|
# perimeters to inner); each item of this arrayref is an ExPolygon:
|
||||||
|
@ -161,7 +161,7 @@ Usage: slic3r.pl [ OPTIONS ] file.stl
|
|||||||
Infill every N layers (default: $Slic3r::infill_every_layers)
|
Infill every N layers (default: $Slic3r::infill_every_layers)
|
||||||
|
|
||||||
Print options:
|
Print options:
|
||||||
--perimeters Number of perimeters/horizontal skins (range: 1+,
|
--perimeters Number of perimeters/horizontal skins (range: 0+,
|
||||||
default: $Slic3r::perimeters)
|
default: $Slic3r::perimeters)
|
||||||
--solid-layers Number of solid layers to do for top/bottom surfaces
|
--solid-layers Number of solid layers to do for top/bottom surfaces
|
||||||
(range: 1+, default: $Slic3r::solid_layers)
|
(range: 1+, default: $Slic3r::solid_layers)
|
||||||
|
Loading…
Reference in New Issue
Block a user