mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
z lift type
This commit is contained in:
parent
d0fab5a5bd
commit
be75bfaacb
13 changed files with 46 additions and 12 deletions
|
@ -105,6 +105,15 @@ static t_config_enum_values s_keys_map_GCodeFlavor {
|
|||
};
|
||||
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(GCodeFlavor)
|
||||
|
||||
|
||||
static t_config_enum_values s_keys_map_LiftType {
|
||||
{ "NormalLift", int(LiftType::NormalLift) },
|
||||
{ "LazyLift", int(LiftType::LazyLift) },
|
||||
{ "SpiralLift", int(LiftType::SpiralLift) }
|
||||
};
|
||||
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(LiftType)
|
||||
|
||||
|
||||
static t_config_enum_values s_keys_map_FuzzySkinType {
|
||||
{ "none", int(FuzzySkinType::None) },
|
||||
{ "external", int(FuzzySkinType::External) },
|
||||
|
@ -2794,6 +2803,19 @@ void PrintConfigDef::init_fff_params()
|
|||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionBools { false });
|
||||
|
||||
def = this->add("z_lift_type", coEnum);
|
||||
def->label = L("z lift type");
|
||||
def->tooltip = L("z lift type");
|
||||
def->enum_keys_map = &ConfigOptionEnum<LiftType>::get_enum_values();
|
||||
def->enum_values.push_back("NormalLift");
|
||||
def->enum_values.push_back("SpiralLift");
|
||||
// def->enum_values.push_back("LazyLift");
|
||||
def->enum_labels.push_back(L("NormalLift"));
|
||||
def->enum_labels.push_back(L("SpiralLift"));
|
||||
// def->enum_labels.push_back(L("LazyLift"));
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionEnum<LiftType>(LiftType::SpiralLift));
|
||||
|
||||
def = this->add("wipe_distance", coFloats);
|
||||
def->label = L("Wipe Distance");
|
||||
def->tooltip = L("Discribe how long the nozzle will move along the last path when retracting");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue