mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-29 19:53:44 -06:00
Removed offset() method from Slic3r::Polygon because it only works with ccw polygons
This commit is contained in:
parent
4c41f6c462
commit
2f046799f2
5 changed files with 12 additions and 13 deletions
|
|
@ -86,7 +86,10 @@ sub length {
|
|||
|
||||
sub grow {
|
||||
my $self = shift;
|
||||
return Slic3r::Polygon->new(@$self, CORE::reverse @$self[1..($#$self-1)])->offset(@_);
|
||||
return Slic3r::Geometry::Clipper::offset(
|
||||
[ Slic3r::Polygon->new(@$self, CORE::reverse @$self[1..($#$self-1)]) ],
|
||||
@_,
|
||||
);
|
||||
}
|
||||
|
||||
sub nearest_point_to {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue