mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 13:34:05 -06:00
Don't try to align rectilinear infill if solid, otherwise there will be a gap at one side
This commit is contained in:
parent
51de3ce14f
commit
948b43fe0d
4 changed files with 73 additions and 50 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue