mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-27 02:31:10 -06:00
Added "Color" parameter for SLA material
This commit is contained in:
parent
ddef93e78b
commit
2fcab52f86
5 changed files with 60 additions and 20 deletions
|
|
@ -534,6 +534,7 @@ static std::vector<std::string> s_Preset_sla_print_options {
|
|||
};
|
||||
|
||||
static std::vector<std::string> s_Preset_sla_material_options {
|
||||
"material_colour",
|
||||
"material_type",
|
||||
"initial_layer_height",
|
||||
"bottle_cost",
|
||||
|
|
|
|||
|
|
@ -3163,6 +3163,13 @@ void PrintConfigDef::init_sla_params()
|
|||
|
||||
|
||||
// SLA Material settings.
|
||||
|
||||
def = this->add("material_colour", coStrings);
|
||||
def->label = L("Color");
|
||||
def->tooltip = L("This is only used in the Slic3r interface as a visual help.");
|
||||
def->gui_type = ConfigOptionDef::GUIType::color;
|
||||
def->set_default_value(new ConfigOptionStrings{ "#29B2B2" });
|
||||
|
||||
def = this->add("material_type", coString);
|
||||
def->label = L("SLA material type");
|
||||
def->tooltip = L("SLA material type");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue