mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
ENH: add params for filament retract when extruder change
jira: STUDIO-11965 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Id175e9dbce419d43cf45d6116ed4fa4fd556f606 (cherry picked from commit c7964441719f521d1a20dc9f084a7598bd01a9a5)
This commit is contained in:
@@ -4461,6 +4461,20 @@ void PrintConfigDef::init_fff_params()
|
||||
def->max = 18;
|
||||
def->set_default_value(new ConfigOptionFloats {18});
|
||||
|
||||
def = this->add("long_retractions_when_ec", coBools);
|
||||
def->label = L("Long retraction when extruder change");
|
||||
def->mode = comAdvanced;
|
||||
def->nullable = true;
|
||||
def->set_default_value(new ConfigOptionBoolsNullable {false});
|
||||
|
||||
def = this->add("retraction_distances_when_ec", coFloats);
|
||||
def->label = L("Retraction distance when extruder change");
|
||||
def->mode = comAdvanced;
|
||||
def->nullable = true;
|
||||
def->min = 0;
|
||||
def->max = 10;
|
||||
def->set_default_value(new ConfigOptionFloatsNullable{10});
|
||||
|
||||
def = this->add("retract_length_toolchange", coFloats);
|
||||
def->label = L("Length");
|
||||
//def->full_label = L("Retraction Length (Toolchange)");
|
||||
@@ -7454,6 +7468,8 @@ std::set<std::string> filament_options_with_variant = {
|
||||
"filament_retract_before_wipe",
|
||||
"filament_long_retractions_when_cut",
|
||||
"filament_retraction_distances_when_cut",
|
||||
"long_retractions_when_ec",
|
||||
"retraction_distances_when_ec",
|
||||
"nozzle_temperature_initial_layer",
|
||||
"nozzle_temperature",
|
||||
"filament_flush_volumetric_speed",
|
||||
|
||||
Reference in New Issue
Block a user