-
Notifications
You must be signed in to change notification settings - Fork 361
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
Generator for Lego Brick Sorter #606
Conversation
You should use a "S" type edges for the top to properly stack the sieves. Indenting the |
The "S" for the edges on the top may be correct if I want the sieves to be stackable, but I also want them to be nestable. Therefor going to down to the bottom, each sieve should have smaller dimensions, so they stack onto each other but also stack inside each other for storing. Maybe just using "h" with a increased distance to the bottom will get the job done? As an example:
Then they should stack away like:
So I need just the absolute dimensions from the most outer sieve to store all of them nested inside each other. I think using "S" for the top edges will not do the job, but using it for the bottom edges will not do it either. Offtopic: |
Yeah, then the "S" type edge doesn't make sense. You can select the "S" type top_edge in |
Hmm, this is still a Draft. Is this on purpose? Otherwise we might be able to get this merged. Although a pictures might be nice. |
It is not forgotten. We will get a Laser Cutter at my university, but it is currently stuck in a logistics hell. ASAP this thing is usable, I will test cut this PR and add images. If you like, merge it. I have never tested it in any form, but would like to test cut it before merge. |
Still not forgotten, still need to get a Laser Machine to try it out, my university is waiting for it. |
@fidoriel I saw your pull request when I was taking photos for some boxes without images. I have been testing things with my machines and doing some tweaks/maintenance so needing things to cut. I was intrigued by your brick sorted so I made a smaller version. I hope you do not mind me downloading your generator to try. I was a bit perplexed when I put it together I was a little tired and I came back to your post and then it made sense that I stacked it upside down. Once I figured that out it looks much better. I did drop some bricks through and it worked pretty well. I love this box and the idea, it is a super cool thing. I am going to have to get a big box of bricks to play with this more. Any excuse to buy Lego? Here are some images I took. If you would like to use these images as the sample while you wait to get laser cutter time. You can use the one that is attached or let me know and I can take a better one in my lightbox. I can put some Lego in it for some action shots. Well, I am not a great photographer but I can try. Boxes laid out The ones I took when I was stacking for storage rather than use. I have some feedback but this is all nice to have(The current box is great already). Although these things could be done later by you or someone else making improvements:
Thank you for designing this cool generator. It is so neat. Cannot wait for it to be live. |
Thank you for testing and the great feedback. Thanks for hinting ad the wiggle, I quickly added this. Thought about doing it, but it slipped through. Also formatted the text and changed the heading. Generating everything at once is out of scope for me, sorry. Also, it does say "Inner Width" but most outer width is correct. This is reasoned in the base class. @florianfesti how to change that most efficient? 100mm outer box fits exactly with dimension in the svg. @florianfesti the lip for stacking is also given by the base class. My idea is to go back to the "s" edge, this will help. Is there a better way to increase the lip? If you have a better idea, I will revert the commit. |
Oh you are too quick getting some stuff updated. It is such a great idea. Glad to see you are still working on it. The idea about generating all at once is very much a nice to have. You can't do everything. 😀 |
You can pass |
See https://github.com/florianfesti/boxes/blob/master/boxes/generators/abox.py#L40 for an example on how to adjust the sizes. |
OK, this looks pretty much finished. If you can press the "Ready for review" button below we can get this merged. I'd add a few of @littleroblet 's pictures to the commit. Although if @littleroblet could provide one or two with a bit more neutral background that'd be even better. But we can do with what we got so far. |
I am planning to cut this in the next two weeks and will provide images out of a white photobox. The lasercutter is now in out shop, sorry for the delay :) |
Now I was able to cut, take photos and fix some bugs. |
@florianfesti sorry I have been away and busy with work and not had much time to spend on this. Looks like @fidoriel has taken some images so I wont bother. @fidoriel there is some documentation on how to provide images https://florianfesti.github.io/boxes/html/CONTRIBUTING.html#provide-photos-for-generators Florian and I updated this documentation to be a bit clearer recently. Let me know if you have any issues. If you are really stuck attach the images here so @florianfesti can add them when he merges. |
Technically you don't, but the gen_thumbnails.sh script generates them for everything as it doesn't know what pictures are used for what. Not 100% sure what you mean by "auto add". I just added d65f984 so the images get added to the commit automatically by gen_thumbnails.sh. When it comes to adding images to the description it is intentionally to not add anything but the "main" image automatically. This allows putting the other images into the description text where they can be used to explain assembly or highlight specific features. See https://github.com/florianfesti/boxes/blob/master/boxes/generators/console2.py / https://www.festi.info/boxes.py/Console2?language=en for an example of that. |
Thx. Added images and tested and fixed everything. |
@florianfesti Test for Shadowbox fails. It seems that the box does not have a example svg. 0f30cbd did not add this. Same issue on my other PR: #645 |
Don't worry about that. Those test are pretty new. I have not 100% decided if I really want them to fail for new generators. I'll have a look at that on the week end. |
d2cdb60
to
a4ea573
Compare
For sorting lego bricks by size (or similar small items)
OK, finally... |
Squashed and merged. Thanks for your work! |
Hey,
this is my approach to a generator hat produces files for a Lego Brick Sorter. It generates 5 Sieves and a Bottom which catches the small leftovers. All 5 layers can be nested, so that the smallest fits into the second smallest and so on. The height of the levels also adapt so the stacked system will be as high as the outer most level. They also are stackable so that if in use they do not slip around.
I did not have time to do a testcut neither to do a test print on paper. Images and fixes will follow maybe not that soon but they will ;)