mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-12 18:31:59 +02:00
New Slic3r::TriangleMesh::XS class
This commit is contained in:
1 parent
b33b30b09d
commit
f29faf0548
8 files changed
+116
-76
No files matched your search
@@ -220,7 +220,10 @@ sub repair_stl {
|
||||
$dlg->Destroy;
|
||||
}
|
||||
|
||||
Slic3r::TriangleMesh::XS::stl_repair($input_file, $output_file);
|
||||
my $tmesh = Slic3r::TriangleMesh::XS->new();
|
||||
$tmesh->ReadSTLFile($input_file);
|
||||
$tmesh->Repair;
|
||||
$tmesh->WriteOBJFile($output_file);
|
||||
Slic3r::GUI::show_info($self, "Your file was repaired.", "Repair");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user