-
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
Feature: named parts #60
Feature: named parts #60
Conversation
I just realized that the output is not rigtht (for whatever reason, the tests seem to check for the right data 🤔) |
False alarm 🤦🏽 I had a stock length of 13000 in my example which resulted in just one element in the resulting array. |
Thanks for contributing 👍🏻 |
I realized a issue yesterday. I have not refactored the FFD solver yet and if a user adds to many parts it will not work. |
@ModischFabrications I refactored the FFD solver as well, all tests pass and my test setup works like a charm! |
One last question, in the comment above the ffd solver is a TODO comment about the execution time being aweful. what size of test data did you use? |
Not sure, it's been a while. There is a benchmarking-test somewhere in there, but I haven't set up the tests on my end again. |
@Bouni tests failed, it seems that you include py 3.11 in your dependencies but chose a py 3.12 docker image. Can you fix it, so that the CI runs through successfully? Everything else seems fine at first glance, I will merge und update the service once both PRs are done |
I'll do that tomorrow. I think it fails because of a python 3.9 in the ci. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this could be it, CI pipenv is rather picky with it's dependencies.
Good call, everything works now. Blocked by ModischFabrications/CutSolverFrontend#63 |
I guess we might shoul update the python version to 3.12 as that's the current stabel release, what do you think? |
I don't see the need, but I'm open to it. Feel free to update if you prefer. |
You're right I think we just leave it at 3.11 and update it maybe at a later point |
7459d77
into
ModischFabrications:master
FYI: CutSolver (Backend) was promoted to v1.0.0 and got it's releases: https://hub.docker.com/r/modischfabrications/cutsolver/tags Thanks for your support! |
This PR adds the ability to pass names along with the lengths which are included in the results as well.
Here's example data:
The resulting data looks like this:
This will allow the Frontend to show part names along with the dimensions which makes it much easier to find parts in the cutlist.
Caution
This is a breaking change and the Frontend must be updated as well. I'll submit a PR for that soon