mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
deprecate overhang_speed_classic option and enable slowdown_for_curled_perimeters by default
This commit is contained in:
parent
394cf6c981
commit
36550f1fc5
2 changed files with 8 additions and 3 deletions
|
@ -1040,6 +1040,7 @@ void PrintConfigDef::init_fff_params()
|
||||||
def->mode = comAdvanced;
|
def->mode = comAdvanced;
|
||||||
def->set_default_value(new ConfigOptionFloatOrPercent(50, true));
|
def->set_default_value(new ConfigOptionFloatOrPercent(50, true));
|
||||||
|
|
||||||
|
// Orca: deprecated
|
||||||
def = this->add("overhang_speed_classic", coBool);
|
def = this->add("overhang_speed_classic", coBool);
|
||||||
def->label = L("Classic mode");
|
def->label = L("Classic mode");
|
||||||
def->category = L("Speed");
|
def->category = L("Speed");
|
||||||
|
@ -1068,7 +1069,7 @@ void PrintConfigDef::init_fff_params()
|
||||||
"applied even if the overhanging perimeter is part of a bridge. For example, when the perimeters are 100% overhanging"
|
"applied even if the overhanging perimeter is part of a bridge. For example, when the perimeters are 100% overhanging"
|
||||||
", with no wall supporting them from underneath, the 100% overhang speed will be applied.");
|
", with no wall supporting them from underneath, the 100% overhang speed will be applied.");
|
||||||
def->mode = comAdvanced;
|
def->mode = comAdvanced;
|
||||||
def->set_default_value(new ConfigOptionBool{ false });
|
def->set_default_value(new ConfigOptionBool{ true });
|
||||||
|
|
||||||
def = this->add("overhang_1_4_speed", coFloatOrPercent);
|
def = this->add("overhang_1_4_speed", coFloatOrPercent);
|
||||||
def->label = "(10%, 25%)";
|
def->label = "(10%, 25%)";
|
||||||
|
@ -6203,6 +6204,8 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va
|
||||||
}
|
}
|
||||||
else if (opt_key == "draft_shield" && value == "limited") {
|
else if (opt_key == "draft_shield" && value == "limited") {
|
||||||
value = "disabled";
|
value = "disabled";
|
||||||
|
} else if (opt_key == "overhang_speed_classic") {
|
||||||
|
value = "0";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ignore the following obsolete configuration keys:
|
// Ignore the following obsolete configuration keys:
|
||||||
|
@ -6220,7 +6223,8 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va
|
||||||
"z_hop_type", "z_lift_type", "bed_temperature_difference","long_retraction_when_cut",
|
"z_hop_type", "z_lift_type", "bed_temperature_difference","long_retraction_when_cut",
|
||||||
"retraction_distance_when_cut",
|
"retraction_distance_when_cut",
|
||||||
"extruder_type",
|
"extruder_type",
|
||||||
"internal_bridge_support_thickness","extruder_clearance_max_radius", "top_area_threshold", "reduce_wall_solid_infill","filament_load_time","filament_unload_time"
|
"internal_bridge_support_thickness","extruder_clearance_max_radius", "top_area_threshold", "reduce_wall_solid_infill","filament_load_time","filament_unload_time",
|
||||||
|
"smooth_coefficient", "overhang_totally_speed"
|
||||||
};
|
};
|
||||||
|
|
||||||
if (ignore.find(opt_key) != ignore.end()) {
|
if (ignore.find(opt_key) != ignore.end()) {
|
||||||
|
|
|
@ -2164,7 +2164,8 @@ void TabPrint::build()
|
||||||
optgroup->append_single_option_line("support_interface_speed");
|
optgroup->append_single_option_line("support_interface_speed");
|
||||||
optgroup = page->new_optgroup(L("Overhang speed"), L"param_overhang_speed", 15);
|
optgroup = page->new_optgroup(L("Overhang speed"), L"param_overhang_speed", 15);
|
||||||
optgroup->append_single_option_line("enable_overhang_speed", "slow-down-for-overhang");
|
optgroup->append_single_option_line("enable_overhang_speed", "slow-down-for-overhang");
|
||||||
optgroup->append_single_option_line("overhang_speed_classic", "slow-down-for-overhang");
|
// Orca: DEPRECATED
|
||||||
|
// optgroup->append_single_option_line("overhang_speed_classic", "slow-down-for-overhang");
|
||||||
optgroup->append_single_option_line("slowdown_for_curled_perimeters");
|
optgroup->append_single_option_line("slowdown_for_curled_perimeters");
|
||||||
Line line = { L("Overhang speed"), L("This is the speed for various overhang degrees. Overhang degrees are expressed as a percentage of line width. 0 speed means no slowing down for the overhang degree range and wall speed is used") };
|
Line line = { L("Overhang speed"), L("This is the speed for various overhang degrees. Overhang degrees are expressed as a percentage of line width. 0 speed means no slowing down for the overhang degree range and wall speed is used") };
|
||||||
line.label_path = "slow-down-for-overhang";
|
line.label_path = "slow-down-for-overhang";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue