Skip to content

Commit

Permalink
Minor spelling & grammatical fixes (#4444)
Browse files Browse the repository at this point in the history
* Minor spelling & grammatical fixes

* Correct counterbole to counterbore

---------

Co-authored-by: SoftFever <[email protected]>
  • Loading branch information
cochcoder and SoftFever authored Mar 13, 2024
1 parent b0246cf commit 334f7cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/libslic3r/PrintConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,12 +422,12 @@ static const t_config_enum_values s_keys_map_GCodeThumbnailsFormat = {
};
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(GCodeThumbnailsFormat)

static const t_config_enum_values s_keys_map_CounterboleHoleBridgingOption{
static const t_config_enum_values s_keys_map_CounterboreHoleBridgingOption{
{ "none", chbNone },
{ "partiallybridge", chbBridges },
{ "sacrificiallayer", chbFilled },
};
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(CounterboleHoleBridgingOption)
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(CounterboreHoleBridgingOption)

static void assign_printer_technology_to_unknown(t_optiondef_map &options, PrinterTechnology printer_technology)
{
Expand Down Expand Up @@ -978,23 +978,23 @@ void PrintConfigDef::init_fff_params()
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));

def = this->add("counterbole_hole_bridging", coEnum);
def->label = L("Bridge counterbole holes");
def = this->add("counterbore_hole_bridging", coEnum);
def->label = L("Bridge counterbore holes");
def->category = L("Quality");
def->tooltip = L(
"This option creates bridges for counterbore holes, allowing them to be printed without support. Available modes include:\n"
"1. None: No bridge is created.\n"
"2. Partially Bridged: Only a part of the unsupported area will be bridged.\n"
"3. Sacrificial Layer: A full sacrificial bridge layer is created.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<CounterboleHoleBridgingOption>::get_enum_values();
def->enum_keys_map = &ConfigOptionEnum<CounterboreHoleBridgingOption>::get_enum_values();
def->enum_values.emplace_back("none");
def->enum_values.emplace_back("partiallybridge");
def->enum_values.emplace_back("sacrificiallayer");
def->enum_labels.emplace_back(L("None"));
def->enum_labels.emplace_back(L("Partially bridged"));
def->enum_labels.emplace_back(L("Sacrificial layer"));
def->set_default_value(new ConfigOptionEnum<CounterboleHoleBridgingOption>(chbNone));
def->set_default_value(new ConfigOptionEnum<CounterboreHoleBridgingOption>(chbNone));

def = this->add("overhang_reverse_threshold", coFloatOrPercent);
def->label = L("Reverse threshold");
Expand Down

0 comments on commit 334f7cf

Please sign in to comment.