mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Refactoring, new size_3D function
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user