mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-01 21:21:10 -06:00
Refactoring: moved Slic3r::STL and Slic3r::AMF to Slic3r::Format::*
This commit is contained in:
parent
2a86932cfe
commit
959230b099
9 changed files with 18 additions and 18 deletions
|
|
@ -24,7 +24,7 @@ my %opt = ();
|
|||
}
|
||||
|
||||
{
|
||||
my @meshes = map Slic3r::STL->read_file($_), @ARGV;
|
||||
my @meshes = map Slic3r::Format::STL->read_file($_), @ARGV;
|
||||
my $output_file = $ARGV[0];
|
||||
$output_file =~ s/\.stl$/.amf.xml/i;
|
||||
|
||||
|
|
@ -40,7 +40,7 @@ my %opt = ();
|
|||
}
|
||||
|
||||
printf "Writing to %s\n", basename($output_file);
|
||||
Slic3r::AMF->write_file($output_file, $materials, $meshes_by_material);
|
||||
Slic3r::Format::AMF->write_file($output_file, $materials, $meshes_by_material);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue