Using the C++ file loaders.
This commit is contained in:
parent
121b3c31d2
commit
b7aeeb968b
4 changed files with 9 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue