mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
Added Notes Tab to Printer Settings #210
This commit is contained in:
@@ -841,6 +841,15 @@ PrintConfigDef::PrintConfigDef()
|
||||
def->full_width = true;
|
||||
def->height = 60;
|
||||
|
||||
def = this->add("printer_notes", coString);
|
||||
def->label = "Printer notes";
|
||||
def->tooltip = "You can put your notes regarding the printer here.";
|
||||
def->cli = "printer-notes=s";
|
||||
def->multiline = true;
|
||||
def->full_width = true;
|
||||
def->height = 130;
|
||||
def->default_value = new ConfigOptionString("");
|
||||
|
||||
def = this->add("print_settings_id", coString);
|
||||
def->default_value = new ConfigOptionString("");
|
||||
|
||||
|
||||
@@ -422,6 +422,7 @@ class PrintConfig : public GCodeConfig
|
||||
ConfigOptionString output_filename_format;
|
||||
ConfigOptionFloat perimeter_acceleration;
|
||||
ConfigOptionStrings post_process;
|
||||
ConfigOptionString printer_notes;
|
||||
ConfigOptionFloat resolution;
|
||||
ConfigOptionFloats retract_before_travel;
|
||||
ConfigOptionBools retract_layer_change;
|
||||
@@ -480,6 +481,7 @@ class PrintConfig : public GCodeConfig
|
||||
OPT_PTR(output_filename_format);
|
||||
OPT_PTR(perimeter_acceleration);
|
||||
OPT_PTR(post_process);
|
||||
OPT_PTR(printer_notes);
|
||||
OPT_PTR(resolution);
|
||||
OPT_PTR(retract_before_travel);
|
||||
OPT_PTR(retract_layer_change);
|
||||
|
||||
Reference in New Issue
Block a user