mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-18 02:35:55 +08:00
Remove "support_points_minimal_distance"
This commit is contained in:
parent
8fe57e5a11
commit
be7b62af36
@ -604,7 +604,6 @@ static std::vector<std::string> s_Preset_sla_print_options {
|
|||||||
"branchingsupport_object_elevation",
|
"branchingsupport_object_elevation",
|
||||||
|
|
||||||
"support_points_density_relative",
|
"support_points_density_relative",
|
||||||
"support_points_minimal_distance",
|
|
||||||
"slice_closing_radius",
|
"slice_closing_radius",
|
||||||
"slicing_mode",
|
"slicing_mode",
|
||||||
"pad_enable",
|
"pad_enable",
|
||||||
|
@ -4564,14 +4564,6 @@ void PrintConfigDef::init_sla_params()
|
|||||||
def->min = 0;
|
def->min = 0;
|
||||||
def->set_default_value(new ConfigOptionInt(100));
|
def->set_default_value(new ConfigOptionInt(100));
|
||||||
|
|
||||||
def = this->add("support_points_minimal_distance", coFloat);
|
|
||||||
def->label = L("Minimal distance of the support points");
|
|
||||||
def->category = L("Supports");
|
|
||||||
def->tooltip = L("No support points will be placed closer than this threshold.");
|
|
||||||
def->sidetext = L("mm");
|
|
||||||
def->min = 0;
|
|
||||||
def->set_default_value(new ConfigOptionFloat(1.));
|
|
||||||
|
|
||||||
def = this->add("pad_enable", coBool);
|
def = this->add("pad_enable", coBool);
|
||||||
def->label = L("Use pad");
|
def->label = L("Use pad");
|
||||||
def->category = L("Pad");
|
def->category = L("Pad");
|
||||||
@ -4994,7 +4986,8 @@ static std::set<std::string> PrintConfigDef_ignore = {
|
|||||||
"infill_only_where_needed",
|
"infill_only_where_needed",
|
||||||
"gcode_binary", // Introduced in 2.7.0-alpha1, removed in 2.7.1 (replaced by binary_gcode).
|
"gcode_binary", // Introduced in 2.7.0-alpha1, removed in 2.7.1 (replaced by binary_gcode).
|
||||||
"wiping_volumes_extruders", // Removed in 2.7.3-alpha1.
|
"wiping_volumes_extruders", // Removed in 2.7.3-alpha1.
|
||||||
"wipe_tower_x", "wipe_tower_y", "wipe_tower_rotation_angle" // Removed in 2.9.0
|
"wipe_tower_x", "wipe_tower_y", "wipe_tower_rotation_angle", // Removed in 2.9.0
|
||||||
|
"support_points_minimal_distance", // End of the using in 2.9.1 (change algorithm for the support generator)
|
||||||
};
|
};
|
||||||
|
|
||||||
void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &value)
|
void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &value)
|
||||||
|
@ -1143,11 +1143,8 @@ PRINT_CONFIG_CLASS_DEFINE(
|
|||||||
// and the model object's bounding box bottom. Units in mm.
|
// and the model object's bounding box bottom. Units in mm.
|
||||||
((ConfigOptionFloat, branchingsupport_object_elevation))/*= 5.0*/
|
((ConfigOptionFloat, branchingsupport_object_elevation))/*= 5.0*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/////// Following options influence automatic support points placement:
|
/////// Following options influence automatic support points placement:
|
||||||
((ConfigOptionInt, support_points_density_relative))
|
((ConfigOptionInt, support_points_density_relative))
|
||||||
((ConfigOptionFloat, support_points_minimal_distance))
|
|
||||||
|
|
||||||
// Now for the base pool (pad) /////////////////////////////////////////////
|
// Now for the base pool (pad) /////////////////////////////////////////////
|
||||||
|
|
||||||
|
@ -1015,7 +1015,6 @@ bool SLAPrintObject::invalidate_state_by_config_options(const std::vector<t_conf
|
|||||||
} else if (
|
} else if (
|
||||||
opt_key == "support_points_density_relative"
|
opt_key == "support_points_density_relative"
|
||||||
|| opt_key == "support_enforcers_only"
|
|| opt_key == "support_enforcers_only"
|
||||||
|| opt_key == "support_points_minimal_distance"
|
|
||||||
) {
|
) {
|
||||||
steps.emplace_back(slaposSupportPoints);
|
steps.emplace_back(slaposSupportPoints);
|
||||||
} else if (
|
} else if (
|
||||||
|
@ -478,7 +478,6 @@ void ConfigManipulation::toggle_print_sla_options(DynamicPrintConfig* config)
|
|||||||
toggle_field("branchingsupport_max_weight_on_model", supports_en && is_branching_tree);
|
toggle_field("branchingsupport_max_weight_on_model", supports_en && is_branching_tree);
|
||||||
|
|
||||||
toggle_field("support_points_density_relative", supports_en);
|
toggle_field("support_points_density_relative", supports_en);
|
||||||
toggle_field("support_points_minimal_distance", supports_en);
|
|
||||||
|
|
||||||
bool pad_en = config->opt_bool("pad_enable");
|
bool pad_en = config->opt_bool("pad_enable");
|
||||||
|
|
||||||
|
@ -5953,7 +5953,6 @@ void TabSLAPrint::build()
|
|||||||
|
|
||||||
optgroup = page->new_optgroup(L("Automatic generation"));
|
optgroup = page->new_optgroup(L("Automatic generation"));
|
||||||
optgroup->append_single_option_line("support_points_density_relative");
|
optgroup->append_single_option_line("support_points_density_relative");
|
||||||
optgroup->append_single_option_line("support_points_minimal_distance");
|
|
||||||
|
|
||||||
page = add_options_page(L("Pad"), "pad");
|
page = add_options_page(L("Pad"), "pad");
|
||||||
optgroup = page->new_optgroup(L("Pad"));
|
optgroup = page->new_optgroup(L("Pad"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user