mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Display bed shape in 3D plater
This commit is contained in:
@@ -33,6 +33,8 @@ my %opt = ();
|
||||
|
||||
my $app = Slic3r::ViewMesh->new;
|
||||
$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}->SetCuttingPlane($opt{cut}) if defined $opt{cut};
|
||||
$app->MainLoop;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user