mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-27 23:25:18 +00:00
Using the C++ file loaders.
This commit is contained in:
@@ -25,7 +25,7 @@ my %opt = ();
|
||||
}
|
||||
|
||||
{
|
||||
my @models = map Slic3r::Format::STL->read_file($_), @ARGV;
|
||||
my @models = map Slic3r::Model->load_stl(Slic3r::encode_path($_), basename($_)), @ARGV;
|
||||
my $output_file = $ARGV[0];
|
||||
$output_file =~ s/\.stl$/.amf.xml/i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user