-
Notifications
You must be signed in to change notification settings - Fork 6
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
Extend CutSolver to accept multiple stock lengths/number of stock #52
Comments
It should be technically possible, but I'm not working on it at the moment. I'm marking it as a possible extension, I'm more than happy to look at a pull requests for it though. |
@erikhagemeijer have a look at the output example in my branch feature/multi-stocks : https://github.com/ModischFabrications/CutSolver/blob/feature/multi-stocks/tests/res/out/testresult_multi.json This is what you would expect from the API, right? I might change a few things, but that's the rough sketch I have in mind |
Hello Robin,
I've read your mail and example and I am pleased with it! Sorry I forgot to reply that to you...
The information you provide is rich and easy to process.
A bit hesitant to ask, but maybe not so difficult to implement as you start working on the agreed specs: there are 2 kinds of rest pieces, the one you throw away and one you can store for later use. A rest piece with a minimum length will be stocked, if it is shorter it will be garbage. So next to the max_length there can be a min_length. If this means a lot of extra work this can be something for a future addition.
With kind regards,
Erik Hagemeijer.
… Op 2 apr 2024, om 23:21 heeft Robin Modisch ***@***.***> het volgende geschreven:
@erikhagemeijer <https://github.com/erikhagemeijer> have a look at the output example in my branch feature/multi-stocks : https://github.com/ModischFabrications/CutSolver/blob/c35e8a6d6616975cad345add740db4c43002910a/tests/res/out/testresult_multi.json
This is what you would expect from the API, right? I might change a few things, but that's the rough sketch I have in mind
—
Reply to this email directly, view it on GitHub <#52 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGZ4T2ACFY27UPDQZVSHUATY3MON7AVCNFSM57PHKSIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBTGMYTEMBYGUYA>.
You are receiving this because you were mentioned.
|
Perfect, I will continue work on the implementation then. I will add your request to #68 , could be a nice addition there. |
Hello,
Is it possible to extend CutSolver to be able to accept multiple number/length tuples for stock and a default length, so I can use this solution to optimize the use of available stock?
The text was updated successfully, but these errors were encountered: