Bugfix: wrong spacing was calculated

This commit is contained in:
Alessandro Ranellucci 2012-07-02 17:09:09 +02:00
parent 641c2a241b
commit c1c8997b4e
3 changed files with 5 additions and 5 deletions

View file

@ -9,11 +9,11 @@ has 'extrusion_multiplier' => (is => 'rw', required => 1);
has 'temperature' => (is => 'rw', required => 1);
has 'first_layer_temperature' => (is => 'rw', required => 1);
has 'e_per_mmc' => (is => 'rw');
has 'e_per_mm3' => (is => 'rw');
sub BUILD {
my $self = shift;
$self->e_per_mmc(
$self->e_per_mm3(
$Slic3r::scaling_factor
* $self->extrusion_multiplier
* (4 / (($self->filament_diameter ** 2) * PI))