Some documentation on missing functionalities.

This commit is contained in:
bubnikv 2017-02-28 10:29:52 +01:00
parent 6f11969257
commit 66493ce821

View File

@ -1008,6 +1008,8 @@ sub changescale {
my $versor = [1,1,1]; my $versor = [1,1,1];
$versor->[$axis] = $scale/100; $versor->[$axis] = $scale/100;
$model_object->scale_xyz(Slic3r::Pointf3->new(@$versor)); $model_object->scale_xyz(Slic3r::Pointf3->new(@$versor));
#FIXME Scale the layer height profile when $axis == Z?
#FIXME Scale the layer height ranges $axis == Z?
# object was already aligned to Z = 0, so no need to realign it # object was already aligned to Z = 0, so no need to realign it
$self->make_thumbnail($obj_idx); $self->make_thumbnail($obj_idx);
} else { } else {
@ -1031,6 +1033,7 @@ sub changescale {
$scale /= 100; # turn percent into factor $scale /= 100; # turn percent into factor
my $variation = $scale / $model_instance->scaling_factor; my $variation = $scale / $model_instance->scaling_factor;
#FIXME Scale the layer height profile?
foreach my $range (@{ $model_object->layer_height_ranges }) { foreach my $range (@{ $model_object->layer_height_ranges }) {
$range->[0] *= $variation; $range->[0] *= $variation;
$range->[1] *= $variation; $range->[1] *= $variation;