mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Ported offset() and offset2()
This commit is contained in:
@@ -47,10 +47,10 @@ sub grow {
|
||||
|
||||
my @points = @$self;
|
||||
return map Slic3r::Polygon->new(@$_),
|
||||
Slic3r::Geometry::Clipper::offset(
|
||||
@{Slic3r::Geometry::Clipper::offset(
|
||||
[ Slic3r::Polygon->new(@points, CORE::reverse @points[1..($#points-1)]) ],
|
||||
$distance, $scale, $joinType, $miterLimit,
|
||||
);
|
||||
)};
|
||||
}
|
||||
|
||||
sub nearest_point_to {
|
||||
|
||||
Reference in New Issue
Block a user