mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 02:19:06 +08:00
Don't place objects near the boarder in grid arrange
CURA-11189
This commit is contained in:
parent
f035c42f85
commit
053aaad16f
@ -118,8 +118,9 @@ class GridArrange(Arranger):
|
|||||||
|
|
||||||
def _findOptimalGridOffset(self):
|
def _findOptimalGridOffset(self):
|
||||||
if len(self._fixed_nodes) == 0:
|
if len(self._fixed_nodes) == 0:
|
||||||
self._offset_x = 0
|
edge_disallowed_size = self._build_volume.getEdgeDisallowedSize()
|
||||||
self._offset_y = 0
|
self._offset_x = edge_disallowed_size
|
||||||
|
self._offset_y = edge_disallowed_size
|
||||||
return
|
return
|
||||||
|
|
||||||
if len(self._fixed_nodes) == 1:
|
if len(self._fixed_nodes) == 1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user