mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-09 18:27:00 +00:00
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:
@@ -908,7 +908,7 @@ static std::vector<std::string> s_Preset_printer_options {
|
|||||||
"printhost_cafile","printhost_port","printhost_authorization_type",
|
"printhost_cafile","printhost_port","printhost_authorization_type",
|
||||||
"printhost_user", "printhost_password", "printhost_ssl_ignore_revoke", "thumbnails", "thumbnails_format",
|
"printhost_user", "printhost_password", "printhost_ssl_ignore_revoke", "thumbnails", "thumbnails_format",
|
||||||
"use_firmware_retraction", "use_relative_e_distances", "printer_notes",
|
"use_firmware_retraction", "use_relative_e_distances", "printer_notes",
|
||||||
"grab_length",
|
"grab_length", "physical_extruder_map",
|
||||||
"cooling_tube_retraction",
|
"cooling_tube_retraction",
|
||||||
"cooling_tube_length", "high_current_on_filament_swap", "parking_pos_retraction", "extra_loading_move", "purge_in_prime_tower", "enable_filament_ramming",
|
"cooling_tube_length", "high_current_on_filament_swap", "parking_pos_retraction", "extra_loading_move", "purge_in_prime_tower", "enable_filament_ramming",
|
||||||
"z_offset",
|
"z_offset",
|
||||||
|
|||||||
@@ -2123,6 +2123,12 @@ void PrintConfigDef::init_fff_params()
|
|||||||
def->mode = comDevelop;
|
def->mode = comDevelop;
|
||||||
def->set_default_value(new ConfigOptionInts{1});
|
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 = this->add("unprintable_filament_map", coIntsGroups);
|
||||||
def->label = L("Unprintable filament map to extruder");
|
def->label = L("Unprintable filament map to extruder");
|
||||||
def->tooltip = L("Unprintable filament map to extruder");
|
def->tooltip = L("Unprintable filament map to extruder");
|
||||||
|
|||||||
@@ -1217,6 +1217,7 @@ PRINT_CONFIG_CLASS_DEFINE(
|
|||||||
((ConfigOptionIntsGroups, unprintable_filament_map))
|
((ConfigOptionIntsGroups, unprintable_filament_map))
|
||||||
//((ConfigOptionInts, filament_extruder_id))
|
//((ConfigOptionInts, filament_extruder_id))
|
||||||
((ConfigOptionStrings, filament_extruder_variant))
|
((ConfigOptionStrings, filament_extruder_variant))
|
||||||
|
((ConfigOptionInts, physical_extruder_map))
|
||||||
// BBS
|
// BBS
|
||||||
((ConfigOptionBool, scan_first_layer))
|
((ConfigOptionBool, scan_first_layer))
|
||||||
((ConfigOptionPoints, thumbnail_size))
|
((ConfigOptionPoints, thumbnail_size))
|
||||||
|
|||||||
Reference in New Issue
Block a user