Fixes to Config and plater; also refactored the arrange() code
This commit is contained in:
parent
5b9bbe43b2
commit
c5ead0f2a6
9 changed files with 55 additions and 41 deletions
|
@ -108,7 +108,7 @@ sub init_print {
|
|||
$model_name = [$model_name] if ref($model_name) ne 'ARRAY';
|
||||
for my $model (map model($_, %params), @$model_name) {
|
||||
die "Unknown model in test" if !defined $model;
|
||||
$model->arrange_objects($config);
|
||||
$model->arrange_objects($config->min_object_distance);
|
||||
$model->center_instances_around_point($config->print_center);
|
||||
$print->add_model_object($_) for @{$model->objects};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue