mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-26 02:30:29 -07:00
New --post-process option. Includes some cleaning of the STDOUT messages
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user