mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
Bugfix: consider holes when searching for supporting surfaces
This commit is contained in:
parent
fcb7f63c87
commit
fbea5dae8f
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ sub process_bridges {
|
||||||
my @supporting_surfaces = ();
|
my @supporting_surfaces = ();
|
||||||
my ($contour_offset) = $expolygon->contour->offset(scale $Slic3r::flow_spacing * sqrt(2));
|
my ($contour_offset) = $expolygon->contour->offset(scale $Slic3r::flow_spacing * sqrt(2));
|
||||||
foreach my $internal_surface (@internal_surfaces) {
|
foreach my $internal_surface (@internal_surfaces) {
|
||||||
my $intersection = intersection_ex([$contour_offset], [$internal_surface->contour->p]);
|
my $intersection = intersection_ex([$contour_offset], [$internal_surface->p]);
|
||||||
if (@$intersection) {
|
if (@$intersection) {
|
||||||
push @supporting_surfaces, $internal_surface;
|
push @supporting_surfaces, $internal_surface;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue