Restore correct Z alignment after cut
This commit is contained in:
parent
2a7f1a8c19
commit
56853319d1
@ -154,6 +154,7 @@ sub perform_cut {
|
||||
$self->{new_model} = $new_model;
|
||||
$self->{new_model_objects} = [];
|
||||
if ($self->{cut_options}{keep_upper} && $upper_object->volumes_count > 0) {
|
||||
$upper_object->center_around_origin; # align to Z = 0
|
||||
push @{$self->{new_model_objects}}, $upper_object;
|
||||
}
|
||||
if ($self->{cut_options}{keep_lower} && $lower_object->volumes_count > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user