ENH: add map for logic ext to physical ext

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0d250de87b3c3d6c9ceb4efd3099c82104e5fc1b
This commit is contained in:
xun.zhang 2024-11-01 09:42:47 +08:00 committed by lane.wei
parent 83681128e0
commit b45d2f5380
3 changed files with 8 additions and 1 deletions

View File

@ -960,7 +960,7 @@ static std::vector<std::string> 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<std::string> s_Preset_sla_print_options {

View File

@ -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");

View File

@ -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))