mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 13:36:31 +01:00
Fixes to pass all tests
This commit is contained in:
1 parent
b6005327d6
commit
49040db9a3
3 files changed
+7
-3
No files matched your search
@@ -149,7 +149,11 @@ sub medial_axis {
|
||||
my $expolygon = $self->clone;
|
||||
my @points = ();
|
||||
foreach my $polygon (@$expolygon) {
|
||||
Slic3r::Geometry::polyline_remove_short_segments($polygon, $width / 2);
|
||||
{
|
||||
my $p = $polygon->pp;
|
||||
Slic3r::Geometry::polyline_remove_short_segments($p, $width / 2);
|
||||
$polygon = Slic3r::Polygon->new(@$p);
|
||||
}
|
||||
|
||||
# subdivide polygon segments so that we don't have anyone of them
|
||||
# being longer than $width / 2
|
||||
|
||||
Reference in new issue
Block a user