diff --git a/src/libslic3r/Preset.cpp b/src/libslic3r/Preset.cpp index 596a9ee963..dae30bc163 100644 --- a/src/libslic3r/Preset.cpp +++ b/src/libslic3r/Preset.cpp @@ -908,7 +908,7 @@ static std::vector s_Preset_printer_options { "printhost_cafile","printhost_port","printhost_authorization_type", "printhost_user", "printhost_password", "printhost_ssl_ignore_revoke", "thumbnails", "thumbnails_format", "use_firmware_retraction", "use_relative_e_distances", "printer_notes", - "grab_length", + "grab_length", "physical_extruder_map", "cooling_tube_retraction", "cooling_tube_length", "high_current_on_filament_swap", "parking_pos_retraction", "extra_loading_move", "purge_in_prime_tower", "enable_filament_ramming", "z_offset", diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index c8c194cbeb..500515851f 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -2123,6 +2123,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 bc92e53cb8..24027ad099 100644 --- a/src/libslic3r/PrintConfig.hpp +++ b/src/libslic3r/PrintConfig.hpp @@ -1217,6 +1217,7 @@ PRINT_CONFIG_CLASS_DEFINE( ((ConfigOptionIntsGroups, unprintable_filament_map)) //((ConfigOptionInts, filament_extruder_id)) ((ConfigOptionStrings, filament_extruder_variant)) + ((ConfigOptionInts, physical_extruder_map)) // BBS ((ConfigOptionBool, scan_first_layer)) ((ConfigOptionPoints, thumbnail_size))