diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2014-12-15 14:42:11 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2014-12-15 14:42:11 +0300 |
commit | a34cd24fa138a3269e168d1518cbe64255f3c15f (patch) | |
tree | c1efb38ce1ec20fbee05bd3e3520c135b0f9cb80 /utils | |
parent | 9cd0a6333175e3e0748292217649fadf381da09a (diff) |
Overlay object slices in toolpaths preview
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/view-toolpaths.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/view-toolpaths.pl b/utils/view-toolpaths.pl index 4b03bbbea..0e05a15a7 100755 --- a/utils/view-toolpaths.pl +++ b/utils/view-toolpaths.pl @@ -20,6 +20,7 @@ my %opt = (); my %options = ( 'help' => sub { usage() }, 'load=s' => \$opt{load}, + 'duplicate=i' => \$opt{duplicate}, ); GetOptions(%options) or usage(1); $ARGV[0] or usage(1); @@ -38,6 +39,7 @@ my %opt = (); # init print my $sprint = Slic3r::Print::Simple->new; + $sprint->duplicate($opt{duplicate} // 1); $sprint->apply_config($config); $sprint->set_model($model); $sprint->process; |