Failing test case about spurious infill in hollow objects, caused by shells being correctly generated even for hollow objects - however sometimes we don't want that

This commit is contained in:
Alessandro Ranellucci 2013-07-26 20:17:33 +02:00
parent 0a8872ca6c
commit 6bd4803612
4 changed files with 33 additions and 2 deletions

View file

@ -301,6 +301,16 @@ sub scale {
}
}
sub scale_xyz {
my $self = shift;
my ($versor) = @_;
# transform vertex coordinates
foreach my $vertex (@{$self->vertices}) {
$vertex->[$_] *= $versor->[$_] for X,Y,Z;
}
}
sub move {
my $self = shift;
my (@shift) = @_;