Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2013-03-09 19:43:09 +0400
committerAlessandro Ranellucci <aar@cpan.org>2013-03-09 19:43:09 +0400
commit9247b3e9f44e3d9fc9dc8cc7eebdb4369e466453 (patch)
tree87b6404a2fd54a81daa8522c4c5df4aaaaf60e4d /slic3r.pl
parentaf50272b3b75ec6d0d6f133d596c257ec94a6103 (diff)
New --no-plater and --gui-mode options. #604
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-xslic3r.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/slic3r.pl b/slic3r.pl
index cd7f714fd..b450c0bb3 100755
--- a/slic3r.pl
+++ b/slic3r.pl
@@ -27,6 +27,8 @@ my %cli_options = ();
'save=s' => \$opt{save},
'load=s@' => \$opt{load},
'ignore-nonexistent-config' => \$opt{ignore_nonexistent_config},
+ 'no-plater' => \$opt{no_plater},
+ 'gui-mode=s' => \$opt{gui_mode},
'datadir=s' => \$opt{datadir},
'export-svg' => \$opt{export_svg},
'merge|m' => \$opt{merge},
@@ -73,7 +75,9 @@ my $gui;
if (!@ARGV && !$opt{save} && eval "require Slic3r::GUI; 1") {
{
no warnings 'once';
- $Slic3r::GUI::datadir = $opt{datadir} if $opt{datadir};
+ $Slic3r::GUI::datadir = $opt{datadir};
+ $Slic3r::GUI::no_plater = $opt{no_plater};
+ $Slic3r::GUI::mode = $opt{gui_mode};
}
$gui = Slic3r::GUI->new;
$gui->{skeinpanel}->load_config_file($_) for @{$opt{load}};
@@ -139,6 +143,10 @@ Usage: slic3r.pl [ OPTIONS ] file.stl
into the same directory as the input file using the
--output-filename-format to generate the filename)
$j
+ GUI options:
+ --no-plater Disable the plater tab
+ --gui-mode Overrides the configured mode (simple/expert)
+
Output options:
--output-filename-format
Output file name format; all config options enclosed in brackets