mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 04:08:02 -06:00
Ported from the playground branch. Various documentation and optimization.
This commit is contained in:
parent
a5b7f14dfa
commit
620c6c7378
38 changed files with 586 additions and 92 deletions
|
@ -885,11 +885,37 @@ PrintConfigDef::PrintConfigDef()
|
|||
def->enum_values.push_back("random");
|
||||
def->enum_values.push_back("nearest");
|
||||
def->enum_values.push_back("aligned");
|
||||
// def->enum_values.push_back("preferred");
|
||||
def->enum_labels.push_back("Random");
|
||||
def->enum_labels.push_back("Nearest");
|
||||
def->enum_labels.push_back("Aligned");
|
||||
// def->enum_labels.push_back("Preferred Direction");
|
||||
def->default_value = new ConfigOptionEnum<SeamPosition>(spAligned);
|
||||
|
||||
#if 0
|
||||
def = this->add("seam_preferred_direction", coFloat);
|
||||
// def->gui_type = "slider";
|
||||
def->label = "Direction";
|
||||
def->sidetext = "°";
|
||||
def->full_label = "Preferred direction of the seam";
|
||||
def->tooltip = "Seam preferred direction";
|
||||
def->cli = "seam-preferred-direction=f";
|
||||
def->min = 0;
|
||||
def->max = 360;
|
||||
def->default_value = new ConfigOptionFloat(0);
|
||||
|
||||
def = this->add("seam_preferred_direction_jitter", coFloat);
|
||||
// def->gui_type = "slider";
|
||||
def->label = "Jitter";
|
||||
def->sidetext = "°";
|
||||
def->full_label = "Seam preferred direction jitter";
|
||||
def->tooltip = "Preferred direction of the seam - jitter";
|
||||
def->cli = "seam-preferred-direction-jitter=f";
|
||||
def->min = 0;
|
||||
def->max = 360;
|
||||
def->default_value = new ConfigOptionFloat(30);
|
||||
#endif
|
||||
|
||||
def = this->add("serial_port", coString);
|
||||
def->gui_type = "select_open";
|
||||
def->label = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue