New implementation of support material

This commit is contained in:
Alessandro Ranellucci 2012-04-09 22:04:57 +02:00
parent 82a16ed8ee
commit a8adff53ca
3 changed files with 33 additions and 41 deletions

View file

@ -23,7 +23,7 @@ sub fill_surface {
my ($surface, %params) = @_;
# rotate polygons
my $expolygon = $surface->expolygon;
my $expolygon = $surface->expolygon->clone;
my $rotate_vector = $self->infill_direction($surface);
$self->rotate_points($expolygon, $rotate_vector);