New --support-material-pattern and --support-material-angle options

This commit is contained in:
Alessandro Ranellucci 2012-06-23 22:43:23 +02:00
parent e72bd56b9d
commit bf1aba3d08
8 changed files with 50 additions and 21 deletions
lib/Slic3r

View file

@ -16,8 +16,8 @@ our $Options = {
cli => 'notes=s',
type => 's',
multiline => 1,
width => 220,
height => 130,
width => 400,
height => 100,
serialize => sub { join '\n', split /\R/, $_[0] },
deserialize => sub { join "\n", split /\\n/, $_[0] },
},
@ -284,8 +284,20 @@ our $Options = {
cli => 'support-material!',
type => 'bool',
},
'support_material_pattern' => {
label => 'Pattern',
cli => 'support-material-pattern=s',
type => 'select',
values => [qw(rectilinear honeycomb)],
labels => [qw(rectilinear honeycomb)],
},
'support_material_angle' => {
label => 'Angle (°)',
cli => 'support-material-angle=i',
type => 'i',
},
'support_material_tool' => {
label => 'Tool used to extrude support material',
label => 'Extruder',
cli => 'support-material-tool=i',
type => 'select',
values => [0,1],