mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 22:32:55 +02:00
Encode Windows paths for the C STL reader
This commit is contained in:
1 parent
28f8083ab7
commit
ab584babf6
1 file changed
+1
-1
@@ -8,7 +8,7 @@ sub read_file {
|
||||
my ($file) = @_;
|
||||
|
||||
my $tmesh = Slic3r::TriangleMesh::XS->new;
|
||||
$tmesh->ReadSTLFile($file);
|
||||
$tmesh->ReadSTLFile(Slic3r::encode_path($file));
|
||||
$tmesh->Repair;
|
||||
my ($vertices, $facets) = @{$tmesh->ToPerl};
|
||||
|
||||
|
||||
Reference in new issue
Block a user