mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
This commit is contained in:
parent
f1922ce7b3
commit
36596bf569
1 changed files with 2 additions and 3 deletions
|
@ -32,9 +32,8 @@ sub fill_surface {
|
||||||
$flow_spacing = unscale $line_spacing;
|
$flow_spacing = unscale $line_spacing;
|
||||||
} else {
|
} else {
|
||||||
# extend bounding box so that our pattern will be aligned with other layers
|
# extend bounding box so that our pattern will be aligned with other layers
|
||||||
# $bounding_box->[X1] and [Y1] represent the displacement between new bounding box offset and old one
|
$bounding_box->extents->[X][MIN] -= $bounding_box->x_min % $line_spacing;
|
||||||
$bounding_box->extents->[X][MIN] -= $bounding_box->x_min;
|
$bounding_box->extents->[Y][MIN] -= $bounding_box->y_min % $line_spacing;
|
||||||
$bounding_box->extents->[Y][MIN] -= $bounding_box->y_min;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# generate the basic pattern
|
# generate the basic pattern
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue