mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-20 23:09:18 -07:00
Keep model objects aligned to Z = 0 in plater
This commit is contained in:
@@ -332,7 +332,7 @@ sub _slice_region {
|
||||
# consider the first one
|
||||
$self->model_object->instances->[0]->transform_mesh($mesh, 1);
|
||||
|
||||
# align mesh to Z = 0 and apply XY shift
|
||||
# align mesh to Z = 0 (it should be already aligned actually) and apply XY shift
|
||||
$mesh->translate((map unscale(-$_), @{$self->_copies_shift}), -$self->model_object->bounding_box->z_min);
|
||||
|
||||
# perform actual slicing
|
||||
|
||||
Reference in New Issue
Block a user