Skirt can be disabled by either setting skirts to 0 or skirt-height to 0
This commit is contained in:
parent
172253cfd7
commit
f5eb4f03e1
3 changed files with 4 additions and 3 deletions
|
@ -434,7 +434,7 @@ sub validate {
|
|||
|
||||
# --skirt-height
|
||||
die "Invalid value for --skirt-height\n"
|
||||
if $Slic3r::skirt_height < 1;
|
||||
if $Slic3r::skirt_height < 0;
|
||||
|
||||
# legacy with existing config files
|
||||
$Slic3r::small_perimeter_speed ||= $Slic3r::perimeter_speed;
|
||||
|
|
|
@ -328,6 +328,7 @@ sub extrude_skirt {
|
|||
my @points = ();
|
||||
my @layers = map $self->layer($_), 0..($Slic3r::skirt_height-1);
|
||||
push @points, map @$_, map $_->p, map @{ $_->slices }, @layers;
|
||||
return if !@points;
|
||||
|
||||
# find out convex hull
|
||||
my $convex_hull = convex_hull(\@points);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue