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 $model = Slic3r::Format::STL->read_file($ARGV[0]);
|
||||
my $model = Slic3r::Model->load_stl(Slic3r::encode_path($ARGV[0]), basename($ARGV[0]));
|
||||
my $basename = $ARGV[0];
|
||||
$basename =~ s/\.stl$//i;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue