mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-12 18:31:59 +02:00
3D preview of plater
This commit is contained in:
1 parent
670ffcf4be
commit
da4d6cbabb
10 files changed
+130
-44
No files matched your search
@@ -446,6 +446,8 @@ sub bounding_box {
|
||||
sub instance_bounding_box {
|
||||
my ($self, $instance_idx) = @_;
|
||||
|
||||
$instance_idx //= 0;
|
||||
|
||||
my $mesh = $self->raw_mesh;
|
||||
$self->instances->[$instance_idx]->transform_mesh($mesh);
|
||||
return $mesh->bounding_box;
|
||||
|
||||
Reference in new issue
Block a user