ENH: add map for logic ext to physical ext

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0d250de87b3c3d6c9ceb4efd3099c82104e5fc1b
(cherry picked from commit b45d2f53801abc209cb98670c0960efc21ab120e)
This commit is contained in:
xun.zhang
2024-11-01 09:42:47 +08:00
committed by Noisyfox
parent ba957d1580
commit f382ee98db
3 changed files with 8 additions and 1 deletions

View File

@@ -908,7 +908,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", "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",

View File

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

View File

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