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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-02-27 03:03:00 +0300
committerbubnikv <bubnikv@gmail.com>2017-02-27 03:03:00 +0300
commitee619701d8a275d6ab782ed53de3f8134c8a4e56 (patch)
treee737dae5a0443b6debc470bcf3e5725557f7075e /slic3r.pl
parentf0f550783febed5d34d19959bab96afcbaa7069b (diff)
Got rid of the Perl Format::STL, Format::AMF, Format::OBJ for good.
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-xslic3r.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/slic3r.pl b/slic3r.pl
index 1c9900147..0cd1ab80d 100755
--- a/slic3r.pl
+++ b/slic3r.pl
@@ -172,7 +172,7 @@ if (@ARGV) { # slicing from command line
foreach my $new_mesh (@{$mesh->split}) {
my $output_file = sprintf '%s_%02d.stl', $file, ++$part_count;
printf "Writing to %s\n", basename($output_file);
- Slic3r::Format::STL->write_file($output_file, $new_mesh, binary => 1);
+ $new_mesh->write_binary(Slic3r::encode_path($output_file));
}
}
exit;