We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code below only works in the last line, right?
Should you write this when using multiple conditions for sort self.items.sort(key=lambda item: (item.level item.loadbear)), reverse=False) https://github.com/jerry800416/3D-bin-packing/blob/43793860f0a75f1553e6cbf95d43bb3862725e51/py3dbp/main.py#LL497C7-L501C68 `
self.items.sort(key=lambda item: (item.level item.loadbear)), reverse=False)
self.items.sort(key=lambda item: item.loadbear, reverse=True) self.items.sort(key=lambda item: item.level, reverse=False)
`
The text was updated successfully, but these errors were encountered:
@woshisj Thank you very much, this problem will be fixed in the next version.
Sorry, something went wrong.
No branches or pull requests
The code below only works in the last line, right?
Should you write this when using multiple conditions for sort
self.items.sort(key=lambda item: (item.level item.loadbear)), reverse=False)
https://github.com/jerry800416/3D-bin-packing/blob/43793860f0a75f1553e6cbf95d43bb3862725e51/py3dbp/main.py#LL497C7-L501C68
`
`
The text was updated successfully, but these errors were encountered: