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:
authorbubnikv <bubnikv@gmail.com>2017-02-27 02:38:30 +0300
committerbubnikv <bubnikv@gmail.com>2017-02-27 02:38:30 +0300
commitf0f550783febed5d34d19959bab96afcbaa7069b (patch)
treea46d39fe37e33ddc7f12a867e2d1ac080f999e9d /utils
parent9ea570ea4e9322ab73cf43634a60e2d6f0b22c17 (diff)
Good bye, Perl Expat binding!
Diffstat (limited to 'utils')
-rwxr-xr-xutils/amf-to-stl.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/amf-to-stl.pl b/utils/amf-to-stl.pl
index b421dd33a..8b26cedb3 100755
--- a/utils/amf-to-stl.pl
+++ b/utils/amf-to-stl.pl
@@ -25,7 +25,7 @@ my %opt = ();
}
{
- my $model = Slic3r::Format::AMF->read_file($ARGV[0]);
+ my $model = Slic3r::Model->load_amf(Slic3r::encode_path($ARGV[0]));
my $output_file = $ARGV[0];
$output_file =~ s/\.amf(?:\.xml)?$/\.stl/i;