PrusaSlicer-NonPlainar/lib/Slic3r/Surface.pm

16 lines
354 B
Perl
Raw Normal View History

2011-09-01 19:06:28 +00:00
package Slic3r::Surface;
2012-05-01 09:32:22 +00:00
use strict;
use warnings;
2011-09-01 19:06:28 +00:00
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(S_TYPE_TOP S_TYPE_BOTTOM S_TYPE_BOTTOMBRIDGE S_TYPE_INTERNAL S_TYPE_INTERNALSOLID S_TYPE_INTERNALBRIDGE S_TYPE_INTERNALVOID);
our %EXPORT_TAGS = (types => \@EXPORT_OK);
sub p {
2012-01-12 21:05:35 +00:00
my $self = shift;
2013-08-26 21:03:00 +00:00
return @{$self->polygons};
2011-09-05 10:21:27 +00:00
}
2011-09-01 19:06:28 +00:00
1;