2013-06-15 10:10:57 +00:00
|
|
|
use Test::More tests => 1;
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
|
|
|
BEGIN {
|
|
|
|
use FindBin;
|
|
|
|
use lib "$FindBin::Bin/../lib";
|
|
|
|
}
|
|
|
|
|
|
|
|
use List::Util qw(first);
|
|
|
|
use Slic3r;
|
|
|
|
use Slic3r::Test;
|
|
|
|
|
|
|
|
{
|
|
|
|
my $print = Slic3r::Test::init_print('20mm_cube', rotation => 45);
|
2013-09-11 09:55:08 +00:00
|
|
|
ok !(first { $_ < 0 } map @$_, map @{$_->vertices}, grep $_, map @{$_->meshes}, @{$print->objects}),
|
2013-06-15 10:10:57 +00:00
|
|
|
"object is still in positive coordinate space even after rotation";
|
|
|
|
}
|
|
|
|
|
|
|
|
__END__
|