mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-29 19:53:44 -06:00
Add support for notes field in configuration profiles. #130
This commit is contained in:
parent
4dd33c6b05
commit
121895d3fc
5 changed files with 28 additions and 1 deletions
|
|
@ -7,6 +7,18 @@ use constant PI => 4 * atan2(1, 1);
|
|||
|
||||
our $Options = {
|
||||
|
||||
# miscellaneous options
|
||||
'notes' => {
|
||||
label => 'Configuraton notes',
|
||||
cli => 'notes=s',
|
||||
type => 's',
|
||||
multiline => 1,
|
||||
width => 350,
|
||||
height => 300,
|
||||
serialize => sub { join '\n', split /\R/, $_[0] },
|
||||
deserialize => sub { join "\n", split /\\n/, $_[0] },
|
||||
},
|
||||
|
||||
# output options
|
||||
'output_filename_format' => {
|
||||
label => 'Output filename format',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue