mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 04:31:17 -07:00
Patch from Lubomír Bláha applied. Polished comments and PngExportDialog.
This commit is contained in:
parent
c28b602465
commit
8eb8d4f0c5
5 changed files with 49 additions and 18 deletions
|
|
@ -43,6 +43,7 @@ my %cli_options = ();
|
|||
'gui-mode=s' => \$opt{obsolete_ignore_this_option_gui_mode},
|
||||
'datadir=s' => \$opt{datadir},
|
||||
'export-svg' => \$opt{export_svg},
|
||||
'export-png' => \$opt{export_png},
|
||||
'merge|m' => \$opt{merge},
|
||||
'repair' => \$opt{repair},
|
||||
'cut=f' => \$opt{cut},
|
||||
|
|
@ -217,6 +218,8 @@ if (@ARGV) { # slicing from command line
|
|||
|
||||
if ($opt{export_svg}) {
|
||||
$sprint->export_svg;
|
||||
} elsif ($opt{export_png}) {
|
||||
$sprint->export_png;
|
||||
} else {
|
||||
my $t0 = [gettimeofday];
|
||||
# The following call may die if the output_filename_format template substitution fails,
|
||||
|
|
@ -282,6 +285,7 @@ Usage: slic3r.pl [ OPTIONS ] [ file.stl ] [ file2.stl ] ...
|
|||
--post-process Generated G-code will be processed with the supplied script;
|
||||
call this more than once to process through multiple scripts.
|
||||
--export-svg Export a SVG file containing slices instead of G-code.
|
||||
--export-png Export zipped PNG files containing slices instead of G-code.
|
||||
-m, --merge If multiple files are supplied, they will be composed into a single
|
||||
print rather than processed individually.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue