mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-29 19:53:44 -06:00
Replace TriangleMesh with the XS port
This commit is contained in:
parent
311eda7d42
commit
566d38a472
14 changed files with 77 additions and 256 deletions
|
|
@ -7,7 +7,7 @@ sub read_file {
|
|||
my $self = shift;
|
||||
my ($file) = @_;
|
||||
|
||||
my $tmesh = Slic3r::TriangleMesh::XS->new;
|
||||
my $tmesh = Slic3r::TriangleMesh->new;
|
||||
$tmesh->ReadSTLFile(Slic3r::encode_path($file));
|
||||
$tmesh->repair;
|
||||
my ($vertices, $facets) = ($tmesh->vertices, $tmesh->facets);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue