mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
ENH: CLI: refine logic
1. return error when there is object partly inside the plate; 2. add the status callback for progress indicating 3. add the version in help 4. fix the return state of validation from 1 to -51 Change-Id: I716057bd5b28a4beb2871614b94708a0860af1a2
This commit is contained in:
parent
8278be8d26
commit
55f55e3ad9
2 changed files with 209 additions and 6 deletions
|
@ -4342,6 +4342,12 @@ CLIActionsConfigDef::CLIActionsConfigDef()
|
|||
def->tooltip = L("Export settings to a file.");
|
||||
def->cli_params = "settings.json";
|
||||
def->set_default_value(new ConfigOptionString("output.json"));
|
||||
|
||||
def = this->add("pipe", coString);
|
||||
def->label = L("Send progress to pipe");
|
||||
def->tooltip = L("Send progress to pipe.");
|
||||
def->cli_params = "pipename";
|
||||
def->set_default_value(new ConfigOptionString("cli_pipe"));
|
||||
}
|
||||
|
||||
//BBS: remove unused command currently
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue