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
path: root/utils
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2014-12-15 14:42:11 +0300
committerAlessandro Ranellucci <aar@cpan.org>2014-12-15 14:42:11 +0300
commita34cd24fa138a3269e168d1518cbe64255f3c15f (patch)
treec1efb38ce1ec20fbee05bd3e3520c135b0f9cb80 /utils
parent9cd0a6333175e3e0748292217649fadf381da09a (diff)
Overlay object slices in toolpaths preview
Diffstat (limited to 'utils')
-rwxr-xr-xutils/view-toolpaths.pl2
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;