mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
Add Post-processing (#159)
It is now possible to call external post-process scripts
This commit is contained in:
parent
a3e5531e28
commit
540aa13e25
7 changed files with 26 additions and 6 deletions
|
@ -2168,7 +2168,20 @@ void PrintConfigDef::init_fff_params()
|
|||
def->min = 0;
|
||||
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 they can access the Slic3r config settings by reading environment variables.");
|
||||
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