mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
Toolpaths preview
This commit is contained in:
parent
d8b1eff62f
commit
907de1011f
9 changed files with 532 additions and 4 deletions
|
@ -1286,6 +1286,19 @@ sub object_settings_dialog {
|
|||
}
|
||||
}
|
||||
|
||||
sub toolpaths_preview {
|
||||
my ($self) = @_;
|
||||
|
||||
# TODO: we should check whether steps are done in $print rather then checking the thread
|
||||
if ($self->{process_thread}) {
|
||||
Slic3r::GUI::show_error($self, "Unable to show preview while toolpaths are being generated.");
|
||||
return;
|
||||
}
|
||||
|
||||
my $dlg = Slic3r::GUI::Plater::2DToolpaths::Dialog->new($self, $self->{print});
|
||||
$dlg->ShowModal;
|
||||
}
|
||||
|
||||
sub object_list_changed {
|
||||
my $self = shift;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue