mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Bugfix: some islands having ho holes and contained in holes themselves were ignored
This commit is contained in:
1 parent
47df3f8f2d
commit
a86bc260e7
4 files changed
+47
-12
No files matched your search
@@ -140,4 +140,11 @@ sub rotate {
|
||||
$_->rotate(@_) for @$self;
|
||||
}
|
||||
|
||||
sub area {
|
||||
my $self = shift;
|
||||
my $area = $self->contour->area;
|
||||
$area -= $_->area for $self->holes;
|
||||
return $area;
|
||||
}
|
||||
|
||||
1;
|
||||
Reference in new issue
Block a user