From 5c30afbc0f2a1fd37ac19b3d012c6c7d573737ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Dvo=C5=99=C3=A1k?= Date: Sun, 26 May 2024 14:48:33 +0200 Subject: [PATCH] Update pack.py --- src/build123d/pack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build123d/pack.py b/src/build123d/pack.py index a18a54bc..47893c4a 100644 --- a/src/build123d/pack.py +++ b/src/build123d/pack.py @@ -119,7 +119,7 @@ def grow_down(w, h): return [(t[1], t[2]) for t in sorted(translations, key=lambda t: t[0])] -def pack(objects: Collection[Shape], padding: float, align_z: bool = True) -> Collection[Shape]: +def pack(objects: Collection[Shape], padding: float, align_z: bool = False) -> Collection[Shape]: """Pack objects in a squarish area in Plane.XY.""" bounding_boxes = {o: o.bounding_box().size + (padding, padding) for o in objects} translations = _pack2d(