diff --git a/src/libslic3r/Preset.cpp b/src/libslic3r/Preset.cpp index 413b7dab1..5c5db838a 100644 --- a/src/libslic3r/Preset.cpp +++ b/src/libslic3r/Preset.cpp @@ -960,7 +960,7 @@ static std::vector s_Preset_printer_options { "printhost_cafile","printhost_port","printhost_authorization_type", "printhost_user", "printhost_password", "printhost_ssl_ignore_revoke", "use_relative_e_distances", "extruder_type","use_firmware_retraction", - "grab_length","machine_switch_extruder_time","hotend_cooling_rate","hotend_heating_rate","enable_pre_heating" + "grab_length","machine_switch_extruder_time","hotend_cooling_rate","hotend_heating_rate","enable_pre_heating", "physical_extruder_map" }; static std::vector s_Preset_sla_print_options { diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index fa971b954..6e06664bc 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -1611,6 +1611,12 @@ void PrintConfigDef::init_fff_params() def->mode = comDevelop; def->set_default_value(new ConfigOptionInts{1}); + def = this->add("physical_extruder_map",coInts); + def->label = "Map the logical extruder to physical extruder"; + def->tooltip = "Map the logical extruder to physical extruder"; + def->mode = comDevelop; + def->set_default_value(new ConfigOptionInts{0}); + def = this->add("unprintable_filament_map", coIntsGroups); def->label = L("Unprintable filament map to extruder"); def->tooltip = L("Unprintable filament map to extruder"); diff --git a/src/libslic3r/PrintConfig.hpp b/src/libslic3r/PrintConfig.hpp index 15ae1e3ec..0d41caa2f 100644 --- a/src/libslic3r/PrintConfig.hpp +++ b/src/libslic3r/PrintConfig.hpp @@ -1000,6 +1000,7 @@ PRINT_CONFIG_CLASS_DEFINE( ((ConfigOptionFloat, machine_unload_filament_time)) ((ConfigOptionFloat, machine_switch_extruder_time)) ((ConfigOptionBool, enable_pre_heating)) + ((ConfigOptionInts, physical_extruder_map)) ((ConfigOptionFloat, hotend_cooling_rate)) ((ConfigOptionFloat, hotend_heating_rate)) ((ConfigOptionFloats, filament_minimal_purge_on_wipe_tower))