mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-12 18:31:59 +02:00
Align rectilinear and line infill across layers (new implementation). #712
This commit is contained in:
1 parent
c723c07f8c
commit
430c825918
7 files changed
+57
-51
No files matched your search
@@ -679,10 +679,10 @@ sub bounding_box {
|
||||
}
|
||||
|
||||
sub bounding_box_center {
|
||||
my @bounding_box = bounding_box(@_);
|
||||
my ($bounding_box) = @_;
|
||||
return Slic3r::Point->new(
|
||||
($bounding_box[X2] + $bounding_box[X1]) / 2,
|
||||
($bounding_box[Y2] + $bounding_box[Y1]) / 2,
|
||||
($bounding_box->[X2] + $bounding_box->[X1]) / 2,
|
||||
($bounding_box->[Y2] + $bounding_box->[Y1]) / 2,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user