mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
3D preview of plater
This commit is contained in:
parent
670ffcf4be
commit
da4d6cbabb
10 changed files with 130 additions and 44 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue