Surface.pm 354 B

123456789101112131415
  1. package Slic3r::Surface;
  2. use strict;
  3. use warnings;
  4. require Exporter;
  5. our @ISA = qw(Exporter);
  6. 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);
  7. our %EXPORT_TAGS = (types => \@EXPORT_OK);
  8. sub p {
  9. my $self = shift;
  10. return @{$self->polygons};
  11. }
  12. 1;