More tracing of the slicing process.

This commit is contained in:
bubnikv 2017-03-03 12:53:05 +01:00
parent 062a6628e5
commit 4d00aa1800
8 changed files with 60 additions and 9 deletions

View file

@ -42,7 +42,7 @@ sub size {
sub process {
my ($self) = @_;
$self->status_cb->(20, "Generating perimeters");
Slic3r::trace(3, "Staring the slicing process.");
$_->make_perimeters for @{$self->objects};
$self->status_cb->(70, "Infilling layers");
@ -67,6 +67,7 @@ sub process {
eval "use Slic3r::Test::SectionCut";
Slic3r::Test::SectionCut->new(print => $self)->export_svg("section_cut.svg");
}
Slic3r::trace(3, "Slicing process finished.")
}
sub export_gcode {

View file

@ -126,6 +126,8 @@ sub make_perimeters {
# prerequisites
$self->slice;
$self->print->status_cb->(20, "Generating perimeters");
$self->_make_perimeters;
}