mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 13:36:31 +01:00
Don't try to align rectilinear infill if solid, otherwise there will be a gap at one side
This commit is contained in:
1 parent
51de3ce14f
commit
948b43fe0d
4 files changed
+73
-50
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user