Basic svg export ported from perl to the point where actual svg is assembled. Empty PNG files are genereted for each sliced layer.

This commit is contained in:
tamasmeszaros 2018-05-15 18:01:47 +02:00
parent 5fb81bacd5
commit d9ff63c022
6 changed files with 216 additions and 4 deletions

View file

@ -121,4 +121,14 @@ sub export_svg {
$self->_after_export;
}
sub export_png {
my ($self) = @_;
$self->_before_export;
$self->_print->export_png(output_file => $self->output_file);
$self->_after_export;
}
1;