mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
Fix narrow fills growing
This commit is contained in:
parent
d9b82c79da
commit
9713b9f524
2 changed files with 19 additions and 5 deletions
|
@ -45,7 +45,15 @@ sub diff_ex {
|
|||
}
|
||||
|
||||
sub diff {
|
||||
return [ map @$_, diff_ex(@_) ];
|
||||
my ($subject, $clip, $safety_offset) = @_;
|
||||
|
||||
$clipper->clear;
|
||||
$clipper->add_subject_polygons($subject);
|
||||
$clipper->add_clip_polygons($safety_offset ? safety_offset($clip) : $clip);
|
||||
return [
|
||||
map Slic3r::Polygon->new($_),
|
||||
@{ $clipper->execute(CT_DIFFERENCE, PFT_NONZERO, PFT_NONZERO) },
|
||||
];
|
||||
}
|
||||
|
||||
sub union_ex {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue