mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Good bye, Perl Expat binding!
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user