Renamed "filament packing density" to "extrusion multiplier". Same values. #4

This commit is contained in:
Alessandro Ranellucci 2011-11-25 11:15:20 +01:00
parent 3c0ea0b57f
commit 25c85aada5
5 changed files with 11 additions and 9 deletions

View File

@ -43,7 +43,7 @@ our $g0 = 0;
# filament options # filament options
our $filament_diameter = 3; # mm our $filament_diameter = 3; # mm
our $filament_packing_density = 1; our $extrusion_multiplier = 1;
our $temperature = 200; our $temperature = 200;
# speed options # speed options

View File

@ -36,9 +36,10 @@ our $Options = {
label => 'Diameter (mm)', label => 'Diameter (mm)',
type => 'f', type => 'f',
}, },
'filament_packing_density' => { 'extrusion_multiplier' => {
label => 'Packing density', label => 'Extrusion multiplier',
type => 'f', type => 'f',
aliases => [qw(filament_packing_density)],
}, },
'temperature' => { 'temperature' => {
label => 'Temperature (°C)', label => 'Temperature (°C)',

View File

@ -103,7 +103,7 @@ sub extrude {
* (($Slic3r::nozzle_diameter**2) / ($Slic3r::filament_diameter ** 2)) * (($Slic3r::nozzle_diameter**2) / ($Slic3r::filament_diameter ** 2))
* $Slic3r::flow_speed_ratio * $Slic3r::flow_speed_ratio
* $self->flow_ratio * $self->flow_ratio
* $Slic3r::filament_packing_density * $Slic3r::extrusion_multiplier
* $path->depth_layers; * $path->depth_layers;
# extrude arc or line # extrude arc or line

View File

@ -21,7 +21,7 @@ sub new {
}, },
filament => { filament => {
title => 'Filament', title => 'Filament',
options => [qw(filament_diameter filament_packing_density temperature)], options => [qw(filament_diameter extrusion_multiplier temperature)],
}, },
speed => { speed => {
title => 'Speed', title => 'Speed',

View File

@ -34,7 +34,7 @@ GetOptions(
# filament options # filament options
'filament-diameter=f' => \$Slic3r::filament_diameter, 'filament-diameter=f' => \$Slic3r::filament_diameter,
'filament-packing-density=f' => \$Slic3r::filament_packing_density, 'extrusion-multiplier=f' => \$Slic3r::extrusion_multiplier,
'temperature=i' => \$Slic3r::temperature, 'temperature=i' => \$Slic3r::temperature,
# speed options # speed options
@ -145,9 +145,10 @@ Usage: slic3r.pl [ OPTIONS ] file.stl
Filament options: Filament options:
--filament-diameter Diameter in mm of your raw filament (default: $Slic3r::filament_diameter) --filament-diameter Diameter in mm of your raw filament (default: $Slic3r::filament_diameter)
--filament-packing-density --extrusion-multiplier
Ratio of the extruded volume over volume pushed Change this to alter the amount of plastic extruded. There should be very little
into the extruder (default: $Slic3r::filament_packing_density) need to change this value, which is only useful to compensate for
filament packing (default: $Slic3r::extrusion_multiplier)
--temperature Extrusion temperature, set 0 to disable (default: $Slic3r::temperature) --temperature Extrusion temperature, set 0 to disable (default: $Slic3r::temperature)
Speed options: Speed options: