Add material_type config option for SLA materials, use in Wizard

This commit is contained in:
Vojtech Kral 2019-08-02 16:15:27 +02:00
parent 235b659cf9
commit 270008a3fd
6 changed files with 71 additions and 41 deletions
src/libslic3r

View file

@ -2401,6 +2401,18 @@ void PrintConfigDef::init_sla_params()
// SLA Material settings.
def = this->add("material_type", coString);
def->label = L("SLA material type");
def->tooltip = L("SLA material type");
def->gui_type = "f_enum_open"; // TODO: ???
def->gui_flags = "show_value";
def->enum_values.push_back("Tough");
def->enum_values.push_back("Flexible");
def->enum_values.push_back("Casting");
def->enum_values.push_back("Dental");
def->enum_values.push_back("Heat-resistant");
def->set_default_value(new ConfigOptionString("Tough"));
def = this->add("initial_layer_height", coFloat);
def->label = L("Initial layer height");
def->tooltip = L("Initial layer height");