Incomplete work to store TriangleMesh objects in Model objects instead of extracting vertices and facets

This commit is contained in:
Alessandro Ranellucci 2013-09-11 09:49:28 +02:00
parent 78ee6e5d6d
commit 11e18f681d
8 changed files with 45 additions and 100 deletions

View file

@ -24,6 +24,11 @@ sub used_vertices {
return $self->vertices;
}
sub facets_count {
my $self = shift;
return $self->stats->{number_of_facets};
}
sub bounding_box {
my $self = shift;
return Slic3r::Geometry::BoundingBox->new_from_points_3D($self->used_vertices);