Update Box geometry for parallel build

这个提交包含在:
nmannall
2025-02-07 16:12:11 +00:00
父节点 e4364266bd
当前提交 4730428929

查看文件

@@ -91,7 +91,13 @@ class Box(RotatableMixin, GeometryUserObject):
averagebox = grid.averagevolumeobjects
uip = self._create_uip(grid)
p3, p4 = uip.check_box_points(p1, p2, self.__str__())
grid_contains_box, p3, p4 = uip.check_box_points(p1, p2, self.__str__())
# Exit early if none of the box is in this grid as there is
# nothing else to do.
if not grid_contains_box:
return
# Find nearest point on grid without translation
p5 = uip.round_to_grid_static_point(p1)
p6 = uip.round_to_grid_static_point(p2)