XS interface completed, including new Line class

This commit is contained in:
Alessandro Ranellucci committed 2013-07-15 22:57:22 +02:00
1 parent 9af2a1c007
commit ab6b3d41a7
33 files changed
+435 -257

No files matched your search

+1 -1
View File
@@ -763,7 +763,7 @@ sub write_gcode {
my @islands = ();
foreach my $obj_idx (0 .. $#{$self->objects}) {
my $convex_hull = convex_hull([
map @{$_->contour->arrayref_pp}, map @{$_->slices}, @{$self->objects->[$obj_idx]->layers},
map @{$_->contour->pp}, map @{$_->slices}, @{$self->objects->[$obj_idx]->layers},
]);
# discard layers only containing thin walls (offset would fail on an empty polygon)
if (@$convex_hull) {