diff --git a/pyproject.toml b/pyproject.toml index a2d88e2..eec796a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "3d_bin_packer" -version = "0.0.3" +version = "0.0.4" authors = [ { name="Vijay Singh Kushwaha", email="vijaysinghkushwaha3737@gmail.com" }, ] diff --git a/src/bin_packer/packer.py b/src/bin_packer/packer.py index 5c97b05..fdd6576 100644 --- a/src/bin_packer/packer.py +++ b/src/bin_packer/packer.py @@ -100,7 +100,7 @@ def pack_to_bin(self, bin_: Bin, items: List[Item]) -> List[Item]: fitted = False # Try different axes for positioning - for axis in [ Axis.height, Axis.width, Axis.depth, ]: + for axis in [ Axis.height, Axis.depth, Axis.width]: if fitted: break