1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-02 11:35:51 +00:00

Replace TriangleMesh with the XS port

This commit is contained in:
Alessandro Ranellucci
2013-09-10 00:40:46 +02:00
parent 311eda7d42
commit 566d38a472
14 changed files with 77 additions and 256 deletions
+1 -1
View File
@@ -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);