1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-20 09:34:26 +00:00

Large memory savings (down to about 50%) for high-res input files

This commit is contained in:
Alessandro Ranellucci
2012-05-28 19:58:27 +02:00
parent efdf266df1
commit 34e3dfdb08
3 changed files with 26 additions and 25 deletions
+1 -4
View File
@@ -207,10 +207,7 @@ sub export_gcode {
# each layer has surfaces with holes
$status_cb->(5, "Processing input file");
$status_cb->(10, "Processing triangulated mesh");
$_->slice for @{$self->objects};
unless ($params{keep_meshes}) {
$_->mesh(undef) for @{$self->objects}; # free memory
}
$_->slice(keep_meshes => $params{keep_meshes}) for @{$self->objects};
# make perimeters
# this will add a set of extrusion loops to each layer