Add extrusion multiplier to gcode comments. #222

This commit is contained in:
Alessandro Ranellucci 2012-02-25 19:24:46 +01:00
parent 9f5e48bd2c
commit f4fde54bf3

View File

@ -577,7 +577,7 @@ sub export_gcode {
print $fh "\n" if $Slic3r::notes; print $fh "\n" if $Slic3r::notes;
for (qw(layer_height perimeters solid_layers fill_density nozzle_diameter filament_diameter for (qw(layer_height perimeters solid_layers fill_density nozzle_diameter filament_diameter
perimeter_speed infill_speed travel_speed extrusion_width_ratio scale)) { extrusion_multiplier perimeter_speed infill_speed travel_speed extrusion_width_ratio scale)) {
printf $fh "; %s = %s\n", $_, Slic3r::Config->get($_); printf $fh "; %s = %s\n", $_, Slic3r::Config->get($_);
} }
printf $fh "; single wall width = %.2fmm\n", $Slic3r::flow_width; printf $fh "; single wall width = %.2fmm\n", $Slic3r::flow_width;