mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 22:14:00 -06:00
New Slic3r::TriangleMesh::XS class
This commit is contained in:
parent
b33b30b09d
commit
f29faf0548
8 changed files with 116 additions and 76 deletions
|
@ -100,7 +100,10 @@ if (@ARGV) { # slicing from command line
|
|||
|
||||
my $output_file = $file;
|
||||
$output_file =~ s/\.(stl)$/_fixed.obj/i;
|
||||
Slic3r::TriangleMesh::XS::stl_repair($file, $output_file);
|
||||
my $tmesh = Slic3r::TriangleMesh::XS->new();
|
||||
$tmesh->ReadSTLFile($file);
|
||||
$tmesh->Repair;
|
||||
$tmesh->WriteOBJFile($output_file);
|
||||
}
|
||||
exit;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue