Print solid infill without cutting an internal surface under small regions such as pillars. #39
This commit is contained in:
parent
47c0da8110
commit
8aca717209
4 changed files with 24 additions and 7 deletions
|
@ -51,9 +51,15 @@ sub offset {
|
|||
$miterLimit ||= 2;
|
||||
|
||||
my $offsets = Math::Clipper::offset($self, $distance, $scale, $joinType, $miterLimit);
|
||||
return @$offsets;
|
||||
}
|
||||
|
||||
sub offset_ex {
|
||||
my $self = shift;
|
||||
my @offsets = $self->offset(@_);
|
||||
|
||||
# apply holes to the right contours
|
||||
return @{ union_ex($offsets) };
|
||||
return @{ union_ex(\@offsets) };
|
||||
}
|
||||
|
||||
sub encloses_point {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue