mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Plater: single object STL export and reloading
Based on Plater.pm`export_object_stl() and reload_from_disk()
This commit is contained in:
parent
8fc723b746
commit
0c7c9d5754
3 changed files with 50 additions and 12 deletions
|
@ -1876,7 +1876,7 @@ sub export_stl {
|
|||
$self->statusbar->SetStatusText(L("STL file exported to ").$output_file);
|
||||
}
|
||||
|
||||
# XXX: not done
|
||||
# XXX: VK: done
|
||||
sub reload_from_disk {
|
||||
my ($self) = @_;
|
||||
|
||||
|
@ -1908,7 +1908,7 @@ sub reload_from_disk {
|
|||
$self->remove($obj_idx);
|
||||
}
|
||||
|
||||
# XXX: VK: done
|
||||
# XXX: VK: integrated into Plater::export_stl()
|
||||
sub export_object_stl {
|
||||
my ($self) = @_;
|
||||
my ($obj_idx, $object) = $self->selected_object;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue