mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-22 18:19:45 -07:00
Keep model objects aligned to Z = 0 in plater
This commit is contained in:
@@ -68,6 +68,7 @@ sub set_model {
|
||||
# if all input objects have defined position(s) apply duplication to the whole model
|
||||
$model->duplicate($self->duplicate, $self->_print->config->min_object_distance);
|
||||
}
|
||||
$_->translate(0,0,-$_->bounding_box->z_min) for @{$model->objects};
|
||||
$model->center_instances_around_point($self->print_center);
|
||||
|
||||
foreach my $model_object (@{$model->objects}) {
|
||||
|
||||
Reference in New Issue
Block a user