mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
Adds rotate on stl import (#3116)
* Adds rotate on stl import * Fixed comma placement * update location of rotate variables --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
dc840ea451
commit
41f0e4d1ce
6 changed files with 26 additions and 5 deletions
|
@ -468,6 +468,15 @@ void PrintConfigDef::init_common_params()
|
|||
def->mode = comSimple;
|
||||
def->set_default_value(new ConfigOptionFloat(100.0));
|
||||
|
||||
def = this->add("preferred_orientation", coFloat);
|
||||
def->label = L("Preferred orientation");
|
||||
def->tooltip = L("Automatically orient stls on the Z-axis upon initial import");
|
||||
def->sidetext = L("°");
|
||||
def->max = 360;
|
||||
def->min = -360;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloat(0.0));
|
||||
|
||||
// Options used by physical printers
|
||||
|
||||
def = this->add("preset_names", coStrings);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue