mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
Expose all multi-extruder settings to the GUI
This commit is contained in:
parent
793301d319
commit
2548d5b993
4 changed files with 35 additions and 18 deletions
|
@ -454,6 +454,13 @@ sub build {
|
|||
},
|
||||
]);
|
||||
|
||||
$self->add_options_page('Multiple Extruders', 'funnel.png', optgroups => [
|
||||
{
|
||||
title => 'Extruders',
|
||||
options => [qw(perimeter_extruder infill_extruder support_material_extruder)],
|
||||
},
|
||||
]);
|
||||
|
||||
$self->add_options_page('Advanced', 'wrench.png', optgroups => [
|
||||
{
|
||||
title => 'Extrusion width',
|
||||
|
@ -643,6 +650,17 @@ sub on_preset_loaded {
|
|||
}
|
||||
}
|
||||
|
||||
sub load_external_config {
|
||||
my $self = shift;
|
||||
$self->SUPER::load_external_config(@_);
|
||||
|
||||
Slic3r::GUI::warning_catcher($self)->(
|
||||
"Your configuration was imported. However, Slic3r is currently only able to import settings "
|
||||
. "for the first defined filament. We recommend you don't use exported configuration files "
|
||||
. "for multi-extruder setups and rely on the built-in preset management system instead.")
|
||||
if @{ $self->{config}->nozzle_diameter } > 1;
|
||||
}
|
||||
|
||||
package Slic3r::GUI::Tab::Page;
|
||||
use Wx qw(:misc :panel :sizer);
|
||||
use base 'Wx::ScrolledWindow';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue