Removed keep_meshes
This commit is contained in:
parent
f4b8185698
commit
10b6bc9d15
@ -324,7 +324,7 @@ sub export_gcode {
|
|||||||
# skein the STL into layers
|
# skein the STL into layers
|
||||||
# each layer has surfaces with holes
|
# each layer has surfaces with holes
|
||||||
$status_cb->(10, "Processing triangulated mesh");
|
$status_cb->(10, "Processing triangulated mesh");
|
||||||
$_->slice(keep_meshes => $params{keep_meshes}) for @{$self->objects};
|
$_->slice for @{$self->objects};
|
||||||
|
|
||||||
# make perimeters
|
# make perimeters
|
||||||
# this will add a set of extrusion loops to each layer
|
# this will add a set of extrusion loops to each layer
|
||||||
@ -477,7 +477,7 @@ sub export_svg {
|
|||||||
# calls ->perimeter_flow
|
# calls ->perimeter_flow
|
||||||
$self->init_extruders;
|
$self->init_extruders;
|
||||||
|
|
||||||
$_->slice(keep_meshes => $params{keep_meshes}) for @{$self->objects};
|
$_->slice for @{$self->objects};
|
||||||
$self->arrange_objects;
|
$self->arrange_objects;
|
||||||
|
|
||||||
my $output_file = $self->expanded_output_filepath($params{output_file});
|
my $output_file = $self->expanded_output_filepath($params{output_file});
|
||||||
|
@ -121,7 +121,7 @@ sub slice {
|
|||||||
die "Invalid input file\n" if !@{$self->layers};
|
die "Invalid input file\n" if !@{$self->layers};
|
||||||
|
|
||||||
# free memory
|
# free memory
|
||||||
$self->meshes(undef) unless $params{keep_meshes};
|
$self->meshes(undef);
|
||||||
|
|
||||||
# remove last layer if empty
|
# remove last layer if empty
|
||||||
# (we might have created it because of the $max_layer = ... + 1 code in TriangleMesh)
|
# (we might have created it because of the $max_layer = ... + 1 code in TriangleMesh)
|
||||||
|
@ -40,7 +40,7 @@ use Slic3r::Test;
|
|||||||
# copy of Print::export_gcode() up to the point
|
# copy of Print::export_gcode() up to the point
|
||||||
# after fill surfaces are combined
|
# after fill surfaces are combined
|
||||||
$self->init_extruders;
|
$self->init_extruders;
|
||||||
$_->slice(keep_meshes => 1) for @{$self->objects};
|
$_->slice for @{$self->objects};
|
||||||
$_->make_perimeters for @{$self->objects};
|
$_->make_perimeters for @{$self->objects};
|
||||||
foreach my $layer (map @{$_->layers}, @{$self->objects}) {
|
foreach my $layer (map @{$_->layers}, @{$self->objects}) {
|
||||||
@$_ = map $_->simplify(&Slic3r::SCALED_RESOLUTION), @$_
|
@$_ = map $_->simplify(&Slic3r::SCALED_RESOLUTION), @$_
|
||||||
|
Loading…
Reference in New Issue
Block a user