mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
ENH: CLI: add option repetitions for future use
Change-Id: I97bdc04b542f9725a047348450c2c677d8807427 (cherry picked from commit d5a20f689cade6cc5b28bbec70931c6d122ef6f4)
This commit is contained in:
parent
699cc2cf44
commit
7c76cf99b9
2 changed files with 23 additions and 3 deletions
|
@ -1462,7 +1462,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->max = 100;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionPercent(50));
|
||||
|
||||
|
||||
def = this->add("default_jerk", coFloat);
|
||||
def->label = L("Default");
|
||||
def->tooltip = L("Default jerk");
|
||||
|
@ -1622,7 +1622,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->tooltip = L("Filter out gaps smaller than the threshold specified. This setting won't affact top/bottom layers");
|
||||
def->mode = comDevelop;
|
||||
def->set_default_value(new ConfigOptionFloat(0));
|
||||
|
||||
|
||||
def = this->add("gap_infill_speed", coFloat);
|
||||
def->label = L("Gap infill");
|
||||
def->category = L("Speed");
|
||||
|
@ -5043,6 +5043,12 @@ CLITransformConfigDef::CLITransformConfigDef()
|
|||
//def->cli = "arrange|a";
|
||||
def->set_default_value(new ConfigOptionInt(0));
|
||||
|
||||
def = this->add("repetitions", coInt);
|
||||
def->label = L("Repetions count");
|
||||
def->tooltip = L("Repetions count of the whole model");
|
||||
def->cli_params = "count";
|
||||
def->set_default_value(new ConfigOptionInt(1));
|
||||
|
||||
/*def = this->add("ensure_on_bed", coBool);
|
||||
def->label = L("Ensure on bed");
|
||||
def->tooltip = L("Lift the object above the bed when it is partially below. Enabled by default, use --no-ensure-on-bed to disable.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue