mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +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:
@@ -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