-
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
New generator: CoinBankSafe #647
Conversation
01043ee
to
8f8e974
Compare
This looks really neat already. I'd suggest adding the number from 1 to 8 to the dials and add a second square hole to the number dials that is 45° rotated. That way they can be added in each position during assembly. When it comes to the code there are a few things that can be achieved easier when using more advanced features of the library. But that is something we can also look at later on. Using |
Thanks! I will update the designs to include etching the numbers 1-8. As for the 45-degree square holes, I think I would either cut out twice as many of the pieces, or making a parameter to ask how many of the discs should be cut with a 45-degree square hole, because I'd worry that especially at 3mm having a star shaped hole would not be very strong. Though 🤔 perhaps with the glue it wouldn't matter, I'll need to test it out. I looked briefly into using Discs, but I did not see an easy way for it to give me a square hole. I think extending |
|
For larger things - like adding numbers - you can use a function or method instead of a lambda expression. |
I haven't really explored the callback functionality yet, but I will do so and update this PR when I have some time this weekend or next week. Thanks for the help / pointers! |
I've added the numbers and made an extra hole at 45 degrees on the D-discs. I still need to experiment with parts, in particular to improve selection grouping in the end result. |
2b4c2b9
to
e954928
Compare
OK; I move the code to use callbacks. This allows using the standard pieces at more locations. I was able to get rid of circleSquareHole completely, even if the callbacks are a bit hacky now. |
Overall this looks pretty good now. Anything else you want to add? Otherwise I'd squash the patches and merge it into master. |
Oh that's a ton better, thank you. |
@florianfesti i think it is now ready for squash and merge :) Thanks again for all of your help. |
A piggy-bank designed to look like a safe.
4ae17a6
to
6475e9c
Compare
OK, ran the picture through tinypng to save a few bytes. Time to merge! Thanks for your work! |
At some point we need to add a one dial, 3 number lock like a proper safe. |
A piggy-bank designed to look like a bank safe.
Modeled after https://3axis.co/laser-cut-wooden-safe-box-6mm-mdf-cdr-file/075yqnko/