mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 22:14:00 -06:00
Display bed shape in 3D plater
This commit is contained in:
parent
aa723db39b
commit
983cf09ee5
6 changed files with 135 additions and 70 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue