Add a (failing) test for slicing at the same height of a horizontal surface attached to a volume. In this case, the loop isn't completed. #1672

Conflicts:

	xs/t/01_trianglemesh.t
This commit is contained in:
Alessandro Ranellucci 2014-01-13 00:06:16 +01:00
parent fd6b78f7f2
commit a712284afb
2 changed files with 11 additions and 0 deletions

View file

@ -18,6 +18,7 @@ $ARGV[0] or usage(1);
if (-e $ARGV[0]) {
my $model = Slic3r::Format::STL->read_file($ARGV[0]);
$model->objects->[0]->add_instance(offset => [0,0]);
my $mesh = $model->mesh;
$mesh->repair;
printf "VERTICES = %s\n", join ',', map "[$_->[0],$_->[1],$_->[2]]", @{$mesh->vertices};