1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

allow solid fill layers to be zero

This commit is contained in:
Michael Moon
2011-11-30 12:51:34 +11:00
parent 2970e31540
commit 729905d342
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -314,7 +314,7 @@ sub validate {
# --solid-layers # --solid-layers
die "Invalid value for --solid-layers\n" die "Invalid value for --solid-layers\n"
if $Slic3r::solid_layers < 1; if $Slic3r::solid_layers < 0;
# --print-center # --print-center
die "Invalid value for --print-center\n" die "Invalid value for --print-center\n"
+1 -1
View File
@@ -90,7 +90,7 @@ sub make_fill {
my $is_solid = $surface->surface_type =~ /^(top|bottom)$/; my $is_solid = $surface->surface_type =~ /^(top|bottom)$/;
# force 100% density and rectilinear fill for external surfaces # force 100% density and rectilinear fill for external surfaces
if ($surface->surface_type ne 'internal') { if (($surface->surface_type ne 'internal') && ($Slic3r::solid_layers >= 1)) {
$density = 1; $density = 1;
$filler = $is_bridge ? 'rectilinear' : $Slic3r::solid_fill_pattern; $filler = $is_bridge ? 'rectilinear' : $Slic3r::solid_fill_pattern;
$flow_width = $Slic3r::nozzle_diameter if $is_bridge; $flow_width = $Slic3r::nozzle_diameter if $is_bridge;