mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 18:27:58 -06:00
This commit is contained in:
parent
fc5aac0ff6
commit
20f1f3d2b4
3 changed files with 104 additions and 57 deletions
|
@ -107,6 +107,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->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