mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Expose all multi-extruder settings to the GUI
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user