mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 22:14:00 -06: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:
parent
0a8872ca6c
commit
6bd4803612
4 changed files with 33 additions and 2 deletions
|
@ -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) = @_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue