mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Bugfix: wrong spacing was calculated
This commit is contained in:
parent
641c2a241b
commit
c1c8997b4e
3 changed files with 5 additions and 5 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue