Initial work for new model handling

This commit is contained in:
Alessandro Ranellucci 2013-11-27 12:18:24 +01:00
parent 57fd6ad563
commit 7871673bf6
3 changed files with 89 additions and 66 deletions

View file

@ -129,7 +129,7 @@ if (@ARGV) { # slicing from command line
}
my $print = Slic3r::Print->new(config => $config);
$print->add_model($model);
$print->add_model_object($_) for @{$model->objects};
$print->validate;
my %params = (
output_file => $opt{output},