Set a sane default for support pillar diameter (1mm).

This commit is contained in:
Joseph Lenox 2018-02-24 23:39:57 -06:00
parent 245aac1172
commit 3849e1a0aa

View File

@ -14,6 +14,7 @@ sub new {
# Set some defaults # Set some defaults
$self->config->set('infill_extrusion_width', 0.5) if $self->config->infill_extrusion_width == 0; $self->config->set('infill_extrusion_width', 0.5) if $self->config->infill_extrusion_width == 0;
$self->config->set('support_material_extrusion_width', 1) if $self->config->support_material_extrusion_width == 0;
$self->config->set('perimeter_extrusion_width', 1) if $self->config->perimeter_extrusion_width == 0; $self->config->set('perimeter_extrusion_width', 1) if $self->config->perimeter_extrusion_width == 0;
my $sizer = Wx::BoxSizer->new(wxVERTICAL); my $sizer = Wx::BoxSizer->new(wxVERTICAL);
@ -76,7 +77,7 @@ sub new {
$line->label('Pillars diameter'); $line->label('Pillars diameter');
my $opt = $line->get_options->[0]; my $opt = $line->get_options->[0];
$opt->sidetext('mm'); $opt->sidetext('mm');
$opt->tooltip('Diameter of the cylindrical support pillars.'); $opt->tooltip('Diameter of the cylindrical support pillars. 0.4mm and higher is supported.');
$optgroup->append_line($line); $optgroup->append_line($line);
} }
} }