mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
ENH: add post_process back
Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I05fc655080f3888255297d689552de84a81ed849
This commit is contained in:
parent
8c39fbaf22
commit
e2d6ed99d1
7 changed files with 25 additions and 6 deletions
|
@ -2028,6 +2028,19 @@ void PrintConfigDef::init_fff_params()
|
|||
def->max = 1000;
|
||||
def->set_default_value(new ConfigOptionInt(2));
|
||||
|
||||
def = this->add("post_process", coStrings);
|
||||
def->label = L("Post-processing Scripts");
|
||||
def->tooltip = L("If you want to process the output G-code through custom scripts, "
|
||||
"just list their absolute paths here. Separate multiple scripts with a semicolon. "
|
||||
"Scripts will be passed the absolute path to the G-code file as the first argument, "
|
||||
"and variables of settings also can be read");
|
||||
def->gui_flags = "serialized";
|
||||
def->multiline = true;
|
||||
def->full_width = true;
|
||||
def->height = 6;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionStrings());
|
||||
|
||||
def = this->add("printer_model", coString);
|
||||
//def->label = L("Printer type");
|
||||
//def->tooltip = L("Type of the printer");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue