1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-31 11:15:52 +00:00

Don't try to align rectilinear infill if solid, otherwise there will be a gap at one side

This commit is contained in:
Alessandro Ranellucci
2013-07-29 11:05:04 +02:00
parent 51de3ce14f
commit 948b43fe0d
4 changed files with 73 additions and 50 deletions
+8
View File
@@ -173,6 +173,14 @@ sub translate {
$self;
}
sub align_to_origin {
my $self = shift;
my $bb = $self->bounding_box;
$self->translate(-$bb->x_min, -$bb->y_min);
$self;
}
sub rotate {
my $self = shift;
$_->rotate(@_) for @$self;