-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
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
Unable to access bin_algo #24
Comments
Most probably is an import problem, could you provide a simple code snippet where it fails? Thank you |
Yes, Secnot |
I should not have closed this!! |
It ran without problems. I removed all the SORT_NONE, SORT_AREA definitions, then imported the full package with:
If it doesn't work for you probably it isn't installed correctly, try using virtualenv and pip3 it should work flawlessly.
|
Yes! My import was rather limited --- I should have seen this. Keep up the good work. It would be interesting to know more about how to use rectpack to make guillotine cuts. |
The guillotine algorithm implementation doesn't track the start and end of each cut. You can deduce them using the packing result, or patch the algorithm to store the cut each time a rectangle is placed. |
I have download and installed this package but found that I could not change bin_algo and sort_algo. I did get sort_algo to work (able to change it) by moving the lamba functions to the main program; but have been uable to access/change bin_algo.
The text was updated successfully, but these errors were encountered: