mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 03:14:26 +08:00
15 lines
303 B
Perl
15 lines
303 B
Perl
package Slic3r::ExtrusionPath::Collection;
|
|
use strict;
|
|
use warnings;
|
|
|
|
sub cleanup {
|
|
my $self = shift;
|
|
|
|
# split paths at angles that are too acute to be printed as they will cause blobs
|
|
my @paths = map $_->split_at_acute_angles, @$self;
|
|
$self->clear;
|
|
$self->append(@paths);
|
|
}
|
|
|
|
1;
|