mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 21:44:08 -06:00
New --post-process option. Includes some cleaning of the STDOUT messages
This commit is contained in:
parent
ae35df716f
commit
555c23069d
10 changed files with 63 additions and 28 deletions
|
@ -45,9 +45,8 @@ sub new_from_mesh {
|
|||
# (we might have created it because of the $max_layer = ... + 1 code below)
|
||||
pop @{$print->layers} if !@{$print->layers->[-1]->surfaces} && !@{$print->layers->[-1]->lines};
|
||||
|
||||
print "\n==> PROCESSING SLICES:\n";
|
||||
foreach my $layer (@{ $print->layers }) {
|
||||
printf "Making surfaces for layer %d:\n", $layer->id;
|
||||
Slic3r::debugf "Making surfaces for layer %d:\n", $layer->id;
|
||||
|
||||
# layer currently has many lines representing intersections of
|
||||
# model facets with the layer plane. there may also be lines
|
||||
|
@ -517,8 +516,6 @@ sub export_gcode {
|
|||
my $self = shift;
|
||||
my ($file) = @_;
|
||||
|
||||
printf "Exporting GCODE file...\n";
|
||||
|
||||
# open output gcode file
|
||||
open my $fh, ">", $file
|
||||
or die "Failed to open $file for writing\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue