Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2014-12-16 03:12:37 +0300
committerAlessandro Ranellucci <aar@cpan.org>2014-12-16 03:12:56 +0300
commitfcfb3b98bc0c13157f557999d753d70de8374d3a (patch)
tree6da4f4bc9e88560dbaf2a78a03aef9766e40d98f /utils
parenta82f95e9034c5bf59c2c40e24a57a6ee30692601 (diff)
3D object positioning
Diffstat (limited to 'utils')
-rw-r--r--utils/view-mesh.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/view-mesh.pl b/utils/view-mesh.pl
index 58f641a92..25fbf3638 100644
--- a/utils/view-mesh.pl
+++ b/utils/view-mesh.pl
@@ -36,8 +36,8 @@ my %opt = ();
$app->{canvas}->enable_picking(1);
$app->{canvas}->enable_moving($opt{enable_moving});
$app->{canvas}->load_object($model->objects->[0]);
- $app->{canvas}->set_bounding_box($model->objects->[0]->bounding_box);
$app->{canvas}->set_auto_bed_shape;
+ $app->{canvas}->zoom_to_volumes;
$app->{canvas}->SetCuttingPlane($opt{cut}) if defined $opt{cut};
$app->MainLoop;
}