Changed default settings for DLP projector and changed time options from integer to decimal

This commit is contained in:
Alessandro Ranellucci 2015-11-19 15:04:50 +01:00
parent 73b6400129
commit 624c5e78db

View file

@ -14,12 +14,12 @@ sub new {
display => 0, display => 0,
show_bed => 1, show_bed => 1,
zoom => 100, zoom => 100,
exposure_time => 4, exposure_time => 2,
bottom_exposure_time => 10, bottom_exposure_time => 7,
settle_time => 4, settle_time => 1.5,
bottom_layers => 3, bottom_layers => 3,
z_lift => 15, z_lift => 5,
z_lift_speed => 50, z_lift_speed => 8,
offset => [0,0], offset => [0,0],
}); });
@ -209,21 +209,21 @@ sub new {
); );
$line->append_option(Slic3r::GUI::OptionsGroup::Option->new( $line->append_option(Slic3r::GUI::OptionsGroup::Option->new(
opt_id => 'bottom_exposure_time', opt_id => 'bottom_exposure_time',
type => 'i', type => 'f',
label => 'Bottom exposure', label => 'Bottom exposure',
tooltip => '', tooltip => '',
default => $self->config2->{bottom_exposure_time}, default => $self->config2->{bottom_exposure_time},
)); ));
$line->append_option(Slic3r::GUI::OptionsGroup::Option->new( $line->append_option(Slic3r::GUI::OptionsGroup::Option->new(
opt_id => 'exposure_time', opt_id => 'exposure_time',
type => 'i', type => 'f',
label => 'Exposure', label => 'Exposure',
tooltip => '', tooltip => '',
default => $self->config2->{exposure_time}, default => $self->config2->{exposure_time},
)); ));
$line->append_option(Slic3r::GUI::OptionsGroup::Option->new( $line->append_option(Slic3r::GUI::OptionsGroup::Option->new(
opt_id => 'settle_time', opt_id => 'settle_time',
type => 'i', type => 'f',
label => 'Settle', label => 'Settle',
tooltip => '', tooltip => '',
default => $self->config2->{settle_time}, default => $self->config2->{settle_time},