Prune very short thin walls
This commit is contained in:
parent
a616d64971
commit
aa69ae11a8
1 changed files with 2 additions and 1 deletions
|
@ -136,7 +136,8 @@ sub process {
|
||||||
@thin_walls = @{offset2_ex($diff, -$min_width/2, +$min_width/2)};
|
@thin_walls = @{offset2_ex($diff, -$min_width/2, +$min_width/2)};
|
||||||
|
|
||||||
# the maximum thickness of our thin wall area is equal to the minimum thickness of a single loop
|
# the maximum thickness of our thin wall area is equal to the minimum thickness of a single loop
|
||||||
@thin_walls = map @{$_->medial_axis($pwidth + $pspacing, $min_width)}, @thin_walls;
|
@thin_walls = grep $_->length > $pwidth*2,
|
||||||
|
map @{$_->medial_axis($pwidth + $pspacing, $min_width)}, @thin_walls;
|
||||||
Slic3r::debugf " %d thin walls detected\n", scalar(@thin_walls) if $Slic3r::debug;
|
Slic3r::debugf " %d thin walls detected\n", scalar(@thin_walls) if $Slic3r::debug;
|
||||||
|
|
||||||
if (0) {
|
if (0) {
|
||||||
|
|
Loading…
Reference in a new issue