mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
file format customization
This commit is contained in:
parent
1ef2b509e5
commit
d0c9bb0398
2 changed files with 6 additions and 3 deletions
|
@ -1940,8 +1940,8 @@ void PrintConfigDef::init_fff_params()
|
||||||
def->label = L("Filename format");
|
def->label = L("Filename format");
|
||||||
def->tooltip = L("User can self-define the project file name when export");
|
def->tooltip = L("User can self-define the project file name when export");
|
||||||
def->full_width = true;
|
def->full_width = true;
|
||||||
def->mode = comDevelop;
|
def->mode = comAdvanced;
|
||||||
def->set_default_value(new ConfigOptionString("[input_filename_base].gcode"));
|
def->set_default_value(new ConfigOptionString("{input_filename_base}_{filament_type[0]}_{print_time}.gcode"));
|
||||||
|
|
||||||
def = this->add("detect_overhang_wall", coBool);
|
def = this->add("detect_overhang_wall", coBool);
|
||||||
def->label = L("Detect overhang wall");
|
def->label = L("Detect overhang wall");
|
||||||
|
|
|
@ -1952,7 +1952,10 @@ void TabPrint::build()
|
||||||
optgroup->append_single_option_line("reduce_infill_retraction");
|
optgroup->append_single_option_line("reduce_infill_retraction");
|
||||||
optgroup->append_single_option_line("gcode_add_line_number");
|
optgroup->append_single_option_line("gcode_add_line_number");
|
||||||
Option option = optgroup->get_option("filename_format");
|
Option option = optgroup->get_option("filename_format");
|
||||||
option.opt.full_width = true;
|
// option.opt.full_width = true;
|
||||||
|
option.opt.is_code = true;
|
||||||
|
option.opt.multiline = true;
|
||||||
|
// option.opt.height = 5;
|
||||||
optgroup->append_single_option_line(option);
|
optgroup->append_single_option_line(option);
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue