mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 22:02:10 +00:00
Fix: The fix of the adaptive layer height logic for supports (#10697)
Fix: Fixing the logic of the adaptive layer height for supports Removing `tree_support_adaptive_layer_height` because its logic duplicates `independent_support_layer_height`
This commit is contained in:
@@ -933,7 +933,7 @@ static std::vector<std::string> s_Preset_print_options {
|
||||
"set_other_flow_ratios", "first_layer_flow_ratio", "outer_wall_flow_ratio", "inner_wall_flow_ratio", "overhang_flow_ratio", "sparse_infill_flow_ratio", "internal_solid_infill_flow_ratio", "gap_fill_flow_ratio", "support_flow_ratio", "support_interface_flow_ratio",
|
||||
"role_based_wipe_speed", "wipe_speed", "accel_to_decel_enable", "accel_to_decel_factor", "wipe_on_loops", "wipe_before_external_loop",
|
||||
"bridge_density","internal_bridge_density", "precise_outer_wall", "bridge_acceleration",
|
||||
"sparse_infill_acceleration", "internal_solid_infill_acceleration", "tree_support_adaptive_layer_height", "tree_support_auto_brim",
|
||||
"sparse_infill_acceleration", "internal_solid_infill_acceleration", "tree_support_auto_brim",
|
||||
"tree_support_brim_width", "gcode_comments", "gcode_label_objects",
|
||||
"initial_layer_travel_speed", "exclude_object", "slow_down_layers", "infill_anchor", "infill_anchor_max","initial_layer_min_bead_width",
|
||||
"make_overhang_printable", "make_overhang_printable_angle", "make_overhang_printable_hole_size" ,"notes",
|
||||
|
||||
@@ -5762,12 +5762,6 @@ void PrintConfigDef::init_fff_params()
|
||||
def->max_literal = 35;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionPercent(30));
|
||||
|
||||
def = this->add("tree_support_adaptive_layer_height", coBool);
|
||||
def->label = L("Adaptive layer height");
|
||||
def->category = L("Quality");
|
||||
def->tooltip = L("Enabling this option means the height of tree support layer except the first will be automatically calculated.");
|
||||
def->set_default_value(new ConfigOptionBool(1));
|
||||
|
||||
def = this->add("tree_support_auto_brim", coBool);
|
||||
def->label = L("Auto brim width");
|
||||
|
||||
@@ -957,7 +957,6 @@ PRINT_CONFIG_CLASS_DEFINE(
|
||||
((ConfigOptionFloat, tree_support_branch_diameter_angle))
|
||||
((ConfigOptionFloat, tree_support_angle_slow))
|
||||
((ConfigOptionInt, tree_support_wall_count))
|
||||
((ConfigOptionBool, tree_support_adaptive_layer_height))
|
||||
((ConfigOptionBool, tree_support_auto_brim))
|
||||
((ConfigOptionFloat, tree_support_brim_width))
|
||||
((ConfigOptionBool, detect_narrow_internal_solid_infill))
|
||||
|
||||
@@ -1138,7 +1138,7 @@ bool PrintObject::invalidate_state_by_config_options(
|
||||
|| opt_key == "support_object_first_layer_gap"
|
||||
|| opt_key == "support_base_pattern_spacing"
|
||||
|| opt_key == "support_expansion"
|
||||
//|| opt_key == "independent_support_layer_height" // BBS
|
||||
|| opt_key == "independent_support_layer_height" // Orca
|
||||
|| opt_key == "support_threshold_angle"
|
||||
|| opt_key == "support_threshold_overlap"
|
||||
|| opt_key == "support_ironing"
|
||||
@@ -1151,7 +1151,6 @@ bool PrintObject::invalidate_state_by_config_options(
|
||||
|| opt_key == "bridge_no_support"
|
||||
|| opt_key == "max_bridge_length"
|
||||
|| opt_key == "initial_layer_line_width"
|
||||
|| opt_key == "tree_support_adaptive_layer_height"
|
||||
|| opt_key == "tree_support_auto_brim"
|
||||
|| opt_key == "tree_support_brim_width"
|
||||
|| opt_key == "tree_support_top_rate"
|
||||
|
||||
Reference in New Issue
Block a user