-
Notifications
You must be signed in to change notification settings - Fork 359
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
Hobby case generator #713
base: master
Are you sure you want to change the base?
Hobby case generator #713
Conversation
Sorry, for not writing earlier. This looks very interesting. Although it is a bit more complicated than it probably needs to be. I just pushed a commit that moves the fingerHoles into callbacks (see https://florianfesti.github.io/boxes/html/api_parts.html#the-callback-parameter) for details. This gets rid of the brittle placement. The whole segmented_edge business it technically not needed. You can use a |
Thanks for feedback.
I've got two questions:
EDIT: Is there a parameter that controls the distance between the elements? |
I didn't mean |
Generally squashing the PR into neat commits with good commit messages is preferred. So a new generator just one commit is fine. How exactly is this "hacktoberfest-accepted" label supposed to work? Are we talking about a GitHub or a Git label? I am happy to apply whatever is needed. The parameters still need a description text. The class docstring and I wonder if Do you plan to add removable shelves? |
Oh, I see what you mean, if I narrow the finger holes area in the back plate it should be fine. I crated those segments because I was worried that there would not be enough material on the sides.
Ok, I'll squash it once the code is fully polished.
You can add the label on the panel on the right on this PR screen.
Sure, I'll fill them together with parameters cleanup.
Not exactly, as each column can be of different width. Then you might need different amount of different sizes. Rails probably need the same treatment.
Haven't thought of removable shelves, but rather some kind of drawers that can slide on rails or shelves themselves. But that might be an option for v2 |
I've got some issues with placing the holes on back plate it always feels like I need to ass some magic numbers to have debug hole lines to match with the base plate and other places. |
Yeah, you are not using a callback there. Move the fingerHoles into a separate function and pass this |
I've pushed the changes, but still you can see some misalignments in debug mode. |
Hey, I've been working on hobby case generator (inpired by FrontierWargaming portable paint stations)
I'm not fully fluent in python and had some issues with positioning the finger holes so I'm open to any suggestions.
I'll add the pictures once I get the fixed shelves burned (I screwed base plate and top/bottom by thickness of the material)
I see the potential for several upgrades in the future, but want to close the v1 and learn what could be simplified with the generator as it is.