Skip to content
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

Allow items with a length equal to stock length #64

Closed
Bouni opened this issue Feb 22, 2024 · 2 comments
Closed

Allow items with a length equal to stock length #64

Bouni opened this issue Feb 22, 2024 · 2 comments

Comments

@Bouni
Copy link
Contributor

Bouni commented Feb 22, 2024

At the moment when I have a stock length of lets say 1500, an item of 1500 leads to an error because of the cut width.

I think it should be easy to check if an item is equal to the stock length (or rather stock length - cut_width) and allow that special case.

@ModischFabrications
Copy link
Owner

This will probably work without additional effort when the solver algorithms are fixed.

@ModischFabrications
Copy link
Owner

FFD handles it correctly, bruteforce doesn't (probably because of #63 ). Would still be useful to catch it earlier and save computation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants