diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2013-03-09 19:43:09 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2013-03-09 19:43:09 +0400 |
commit | 9247b3e9f44e3d9fc9dc8cc7eebdb4369e466453 (patch) | |
tree | 87b6404a2fd54a81daa8522c4c5df4aaaaf60e4d /slic3r.pl | |
parent | af50272b3b75ec6d0d6f133d596c257ec94a6103 (diff) |
New --no-plater and --gui-mode options. #604
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-x | slic3r.pl | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 |