Skip to content

Commit

Permalink
Bump version to 0.0.4 and adjust axis order in Packer class for impro…
Browse files Browse the repository at this point in the history
…ved fitting logic
  • Loading branch information
h3110Fr13nd committed Dec 25, 2024
1 parent 3148042 commit 1ee8a7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]" },
]
Expand Down
2 changes: 1 addition & 1 deletion src/bin_packer/packer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1ee8a7f

Please sign in to comment.