diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2013-06-02 22:03:22 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2013-06-02 22:03:22 +0400 |
commit | 8c74d2f41eb12bf098245dfe2769b1ac73bada70 (patch) | |
tree | c630ccdb65a22c3c80e30826928101c636ba0651 /slic3r.pl | |
parent | 895e0bbfcd22bb364bcadc062f86eb9d1ed18a49 (diff) |
New --autosave option for better toolchain integration. #837
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-x | slic3r.pl | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -26,6 +26,7 @@ my %cli_options = (); 'save=s' => \$opt{save}, 'load=s@' => \$opt{load}, + 'autosave=s' => \$opt{autosave}, 'ignore-nonexistent-config' => \$opt{ignore_nonexistent_config}, 'no-plater' => \$opt{no_plater}, 'gui-mode=s' => \$opt{gui_mode}, @@ -78,6 +79,7 @@ if (!@ARGV && !$opt{save} && eval "require Slic3r::GUI; 1") { $Slic3r::GUI::datadir = $opt{datadir}; $Slic3r::GUI::no_plater = $opt{no_plater}; $Slic3r::GUI::mode = $opt{gui_mode}; + $Slic3r::GUI::autosave = $opt{autosave}; } $gui = Slic3r::GUI->new; $gui->{skeinpanel}->load_config_file($_) for @{$opt{load}}; @@ -152,6 +154,7 @@ $j GUI options: --no-plater Disable the plater tab --gui-mode Overrides the configured mode (simple/expert) + --autosave <file> Automatically export current configuration to the specified file Output options: --output-filename-format |