mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
GUI text boxes for start/end GCODE. #12
This commit is contained in:
parent
b2f0f85d96
commit
60f6ce363e
3 changed files with 23 additions and 2 deletions
|
@ -107,12 +107,18 @@ our $Options = {
|
|||
'start_gcode' => {
|
||||
label => 'Start GCODE',
|
||||
type => 's',
|
||||
multiline => 1,
|
||||
width => 350,
|
||||
height => 150,
|
||||
serialize => sub { join '\n', split /\R+/, $_[0] },
|
||||
deserialize => sub { join "\n", split /\\n/, $_[0] },
|
||||
},
|
||||
'end_gcode' => {
|
||||
label => 'End GCODE',
|
||||
type => 's',
|
||||
multiline => 1,
|
||||
width => 350,
|
||||
height => 150,
|
||||
serialize => sub { join '\n', split /\R+/, $_[0] },
|
||||
deserialize => sub { join "\n", split /\\n/, $_[0] },
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue