mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
Refactoring, new size_3D function
This commit is contained in:
parent
b5672de3ca
commit
82ac4722d2
2 changed files with 9 additions and 4 deletions
|
|
@ -386,9 +386,7 @@ sub extents {
|
|||
|
||||
sub size {
|
||||
my $self = shift;
|
||||
|
||||
my @extents = $self->extents;
|
||||
return map $extents[$_][MAX] - $extents[$_][MIN], (X,Y,Z);
|
||||
return Slic3r::Geometry::size_3D($self->vertices);
|
||||
}
|
||||
|
||||
sub slice_facet {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue