mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Replace TriangleMesh with the XS port
This commit is contained in:
@@ -101,7 +101,7 @@ if (@ARGV) { # slicing from command line
|
||||
|
||||
my $output_file = $file;
|
||||
$output_file =~ s/\.(stl)$/_fixed.obj/i;
|
||||
my $tmesh = Slic3r::TriangleMesh::XS->new();
|
||||
my $tmesh = Slic3r::TriangleMesh->new;
|
||||
$tmesh->ReadSTLFile($file);
|
||||
$tmesh->repair;
|
||||
$tmesh->WriteOBJFile($output_file);
|
||||
|
||||
Reference in New Issue
Block a user