Refactoring: moved Slic3r::STL and Slic3r::AMF to Slic3r::Format::*

This commit is contained in:
Alessandro Ranellucci 2012-02-25 17:35:25 +01:00
parent 2a86932cfe
commit 959230b099
9 changed files with 18 additions and 18 deletions

View file

@ -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);
}