mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
ENH: support force cooling for outer wall only
For PA-cf material, forcing cooling for all outer wall and using lower fan speed for infill and inner wall can get more high strength. Add this cooling strategy. When set overhang fan threshold to be 0%, then bridge and all outer wall will be force to cool with the overhang fan speed. Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Ideed1ac8690f1eeb68aad760678db76bb4dae8ec
This commit is contained in:
parent
5aee1505a6
commit
47302b0cf9
6 changed files with 57 additions and 23 deletions
|
@ -259,12 +259,14 @@ static const t_config_enum_values s_keys_map_ForwardCompatibilitySubstitutionRul
|
|||
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(ForwardCompatibilitySubstitutionRule)
|
||||
|
||||
static const t_config_enum_values s_keys_map_OverhangFanThreshold = {
|
||||
{ "0%", Overhang_threshold_none },
|
||||
{ "5%", Overhang_threshold_1_4 },
|
||||
{ "25%", Overhang_threshold_2_4 },
|
||||
{ "50%", Overhang_threshold_3_4 },
|
||||
{ "75%", Overhang_threshold_4_4 },
|
||||
{ "95%", Overhang_threshold_bridge }
|
||||
};
|
||||
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(OverhangFanThreshold)
|
||||
|
||||
// BBS
|
||||
static const t_config_enum_values s_keys_map_BedType = {
|
||||
|
@ -628,15 +630,18 @@ void PrintConfigDef::init_fff_params()
|
|||
def = this->add("overhang_fan_threshold", coEnums);
|
||||
def->label = L("Cooling overhang threshold");
|
||||
def->tooltip = L("Force cooling fan to be specific speed when overhang degree of printed part exceeds this value. "
|
||||
"Expressed as percentage which indicides how much width of the line without support from lower layer");
|
||||
"Expressed as percentage which indicides how much width of the line without support from lower layer. "
|
||||
"0% means forcing cooling for all outer wall no matter how much overhang degree");
|
||||
def->sidetext = L("");
|
||||
def->enum_keys_map = &s_keys_map_OverhangFanThreshold;
|
||||
def->enum_keys_map = &ConfigOptionEnum<OverhangFanThreshold>::get_enum_values();
|
||||
def->mode = comAdvanced;
|
||||
def->enum_values.emplace_back("0%");
|
||||
def->enum_values.emplace_back("5%");
|
||||
def->enum_values.emplace_back("25%");
|
||||
def->enum_values.emplace_back("50%");
|
||||
def->enum_values.emplace_back("75%");
|
||||
def->enum_values.emplace_back("95%");
|
||||
def->enum_labels.emplace_back("0%");
|
||||
def->enum_labels.emplace_back("10%");
|
||||
def->enum_labels.emplace_back("25%");
|
||||
def->enum_labels.emplace_back("50%");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue