mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
Paths to resources / icons / images are set.
This commit is contained in:
parent
9a5796794e
commit
6b2a4ffe03
6 changed files with 55 additions and 31 deletions
|
@ -2612,6 +2612,14 @@ CLIConfigDef::CLIConfigDef()
|
|||
def->cli = "cut";
|
||||
def->default_value = new ConfigOptionFloat(0);
|
||||
|
||||
def = this->add("datadir", coString);
|
||||
def->label = L("User data directory");
|
||||
def->tooltip = L("Load and store settings at the given directory. "
|
||||
"This is useful for maintaining different profiles or including "
|
||||
"configurations from a network storage.");
|
||||
def->cli = "datadir";
|
||||
def->default_value = new ConfigOptionString();
|
||||
|
||||
def = this->add("export_3mf", coBool);
|
||||
def->label = L("Export 3MF");
|
||||
def->tooltip = L("Slice the model and export slices as 3MF.");
|
||||
|
@ -2632,9 +2640,10 @@ CLIConfigDef::CLIConfigDef()
|
|||
|
||||
def = this->add("gui", coBool);
|
||||
def->label = L("Use GUI");
|
||||
def->tooltip = L("Start the Slic3r GUI.");
|
||||
def->tooltip = L("Forces the GUI launch instead of command line slicing "
|
||||
"(if you supply a model file, it will be loaded into the plater)");
|
||||
def->cli = "gui";
|
||||
def->default_value = new ConfigOptionBool(false);
|
||||
def->default_value = new ConfigOptionBool(true);
|
||||
|
||||
def = this->add("info", coBool);
|
||||
def->label = L("Output Model Info");
|
||||
|
@ -2647,6 +2656,12 @@ CLIConfigDef::CLIConfigDef()
|
|||
def->tooltip = L("Load configuration from the specified file. It can be used more than once to load options from multiple files.");
|
||||
def->cli = "load";
|
||||
def->default_value = new ConfigOptionStrings();
|
||||
|
||||
def = this->add("no_gui", coBool);
|
||||
def->label = L("Do not use GUI");
|
||||
def->tooltip = L("Forces the command line slicing instead of gui. This takes precedence over --gui if both are present.");
|
||||
def->cli = "no-gui";
|
||||
def->default_value = new ConfigOptionBool(false);
|
||||
|
||||
def = this->add("output", coString);
|
||||
def->label = L("Output File");
|
||||
|
|
|
@ -982,11 +982,13 @@ class CLIConfig : public virtual ConfigBase, public StaticConfig
|
|||
{
|
||||
public:
|
||||
ConfigOptionFloat cut;
|
||||
ConfigOptionString datadir;
|
||||
ConfigOptionBool export_3mf;
|
||||
ConfigOptionBool gui;
|
||||
ConfigOptionBool info;
|
||||
ConfigOptionBool help;
|
||||
ConfigOptionStrings load;
|
||||
ConfigOptionBool no_gui;
|
||||
ConfigOptionString output;
|
||||
ConfigOptionFloat rotate;
|
||||
ConfigOptionFloat rotate_x;
|
||||
|
@ -1008,11 +1010,13 @@ public:
|
|||
ConfigOption* optptr(const t_config_option_key &opt_key, bool create = false) override
|
||||
{
|
||||
OPT_PTR(cut);
|
||||
OPT_PTR(datadir);
|
||||
OPT_PTR(export_3mf);
|
||||
OPT_PTR(gui);
|
||||
OPT_PTR(help);
|
||||
OPT_PTR(info);
|
||||
OPT_PTR(load);
|
||||
OPT_PTR(no_gui);
|
||||
OPT_PTR(output);
|
||||
OPT_PTR(rotate);
|
||||
OPT_PTR(rotate_x);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue