Some fixes to the cooling logic and new test suite for cooling

This commit is contained in:
Alessandro Ranellucci 2013-05-31 12:18:33 +02:00
parent da76496988
commit 5c7dd2cf78
4 changed files with 110 additions and 7 deletions

View file

@ -794,7 +794,12 @@ sub write_gcode {
if $Slic3r::Config->first_layer_bed_temperature;
$print_first_layer_temperature->();
}
print $fh $buffer->append($layer_gcode->process_layer($layer, [$copy]), $layer);
print $fh $buffer->append(
$layer_gcode->process_layer($layer, [$copy]),
$layer->object."",
$layer->id,
$layer->print_z,
);
}
print $fh $buffer->flush;
$finished_objects++;
@ -807,7 +812,12 @@ sub write_gcode {
);
my @layers = sort { $a->print_z <=> $b->print_z } map @{$_->layers}, @{$self->objects};
foreach my $layer (@layers) {
print $fh $buffer->append($layer_gcode->process_layer($layer, $layer->object->copies), $layer);
print $fh $buffer->append(
$layer_gcode->process_layer($layer, $layer->object->copies),
$layer->object."",
$layer->id,
$layer->print_z,
);
}
print $fh $buffer->flush;
}