Ported GCodeWriter to XS (faster G-code export!)

This commit is contained in:
Alessandro Ranellucci 2014-11-09 19:02:45 +01:00
parent b69caff93c
commit ee3fb7caa2
10 changed files with 646 additions and 433 deletions

View file

@ -633,7 +633,7 @@ sub write_gcode {
if ($layer->id == 0 && $finished_objects > 0) {
printf $fh $gcodegen->writer->set_bed_temperature($self->config->first_layer_bed_temperature),
if $self->config->first_layer_bed_temperature;
$print_first_layer_temperature->();
$print_first_layer_temperature->(0);
}
print $fh $buffer->append(
$layer_gcode->process_layer($layer, [$copy]),