Refactor the AMF parser so that it popolates a Model object directly. Also read constellations

This commit is contained in:
Alessandro Ranellucci 2012-08-29 18:23:34 +02:00
parent 23f6842bd4
commit f29d455319
4 changed files with 59 additions and 35 deletions

View file

@ -3,7 +3,7 @@ use Moo;
use Slic3r::Geometry qw(X Y Z);
has 'materials' => (is => 'ro', default => sub { [] });
has 'materials' => (is => 'ro', default => sub { {} });
has 'objects' => (is => 'ro', default => sub { [] });
sub add_object {