mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 04:54:08 -06:00
Multiple solid layers near external surfaces
This commit is contained in:
parent
f892fde123
commit
03341f3485
7 changed files with 96 additions and 7 deletions
|
@ -16,11 +16,9 @@ has 'holes' => (
|
|||
default => sub { [] },
|
||||
);
|
||||
|
||||
# TODO: to allow for multiple solid skins to be filled near external
|
||||
# surfaces, a new type should be defined: internal-solid
|
||||
has 'surface_type' => (
|
||||
is => 'rw',
|
||||
#isa => enum([qw(internal bottom top)]),
|
||||
#isa => enum([qw(internal internal-solid bottom top)]),
|
||||
);
|
||||
|
||||
sub add_hole {
|
||||
|
@ -78,6 +76,11 @@ sub clipper_polygon {
|
|||
};
|
||||
}
|
||||
|
||||
sub p {
|
||||
my $self = shift;
|
||||
return ($self->contour->p, map $_->p, @{$self->holes});
|
||||
}
|
||||
|
||||
sub lines {
|
||||
my $self = shift;
|
||||
return @{ $self->contour->lines }, map @{ $_->lines }, @{ $self->holes };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue