mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
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:
@@ -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) = @_;
|
||||
|
||||
Reference in New Issue
Block a user