mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-01 21:21:10 -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
|
|
@ -79,6 +79,10 @@ if ($ARGV[0]) {
|
|||
my $skein = Slic3r::Skein->new(
|
||||
input_file => $input_file,
|
||||
output_file => $opt{output},
|
||||
status_cb => sub {
|
||||
my ($percent, $message) = @_;
|
||||
printf "=> $message\n";
|
||||
},
|
||||
);
|
||||
$skein->go;
|
||||
|
||||
|
|
@ -108,6 +112,8 @@ Usage: slic3r.pl [ OPTIONS ] file.stl
|
|||
Output file name format; all config options enclosed in brackets
|
||||
will be replaced by their values, as well as [input_filename_base]
|
||||
and [input_filename] (default: $Slic3r::output_filename_format)
|
||||
--post-process Generated G-code will be processed with the supplied script;
|
||||
call this more than once to process through multiple scripts.
|
||||
|
||||
Printer options:
|
||||
--nozzle-diameter Diameter of nozzle in mm (default: $Slic3r::nozzle_diameter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue