mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Large memory savings (down to about 50%) for high-res input files
This commit is contained in:
parent
efdf266df1
commit
34e3dfdb08
3 changed files with 26 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue