mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
Update Clipper to 6.0.0
This commit is contained in:
parent
d49052779f
commit
50c0081d25
16 changed files with 2941 additions and 1816 deletions
|
|
@ -258,6 +258,10 @@ sub make_perimeters {
|
|||
|
||||
# only add the perimeter if there's an intersection with the collapsed area
|
||||
last CYCLE if !@{ intersection($diff, $hypothetical_perimeter) };
|
||||
use Slic3r::SVG;
|
||||
Slic3r::SVG::output("extra.svg",
|
||||
expolygons => union_ex(intersection($diff, $hypothetical_perimeter)),
|
||||
);exit;
|
||||
Slic3r::debugf " adding one more perimeter at layer %d\n", $layer_id;
|
||||
$slice->extra_perimeters($extra_perimeters);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -480,7 +480,7 @@ sub generate_toolpaths {
|
|||
# solution should be found to achieve both goals
|
||||
$contact_infill = diff(
|
||||
$contact,
|
||||
[ map $_->grow($circle_radius*1.1), @loops ],
|
||||
[ map @{$_->grow($circle_radius*1.1)}, @loops ],
|
||||
);
|
||||
|
||||
# transform loops into ExtrusionPath objects
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue