-
Notifications
You must be signed in to change notification settings - Fork 376
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
Add settings for Bedbolts #36
Comments
Hi! Well done with the project. Your presentation has a "Box2.py with bedbolts". I could not find such a file in the repo. So can I produce files for a box with bedbolts, or do I have to wait for this issue to close? |
Box2 got renamed to UniversalBox - which already has a settings page like a cockpit of a 747. So that's probably not the right place to start with this feature. If you want to toy around with bed bolts you can remove the following line from boxes/generators/closedbox.py: The issue with this ticket is that I only use ply wood for my boxes which works just fine without bed bolts. And I really don't know what settings one would want/need to make them useful. If you are able to provide some input adding the code may be not that difficult. |
I did comment out that line in
Is this the right call? |
You should at least see some bed bolt slots. I "fixed" the closed box to have them at all the right places - not just somewhere random. |
Yes. |
I think I have the wrong setup. If I rename
then the call
still produces a file, instead of an error. @florianfesti can you tell me your setup? |
You need to rename the class as the generators are presented by class name not by file name. Otoh I am kinda surprised it won't trigger the line as I'd expect that the class would at least be parsed... |
oh, may be delete the .pyc and or .pyo files. If they have messed up (aka future) dates they can prevent the .py files from being read. |
I renamed the class as well:
and I get the same result. I only have one
Deleting that file made no difference. I tried the same modifications in the sub-directory
|
Hmm, looks like it imports the files from somewhere else. May be you installation in the the main Python instance. You can do import boxes.generators.closedbox in the Python shell and then |
I was unable to do
So I modify that file, now it works and I can see the bed bolts! Is this handling of the installation specific to macOS? Thanks for your help Florian! |
No. This is probably a coincident that I have not run into this problem.
to make sure the sources are found even when not being installed. But I always call |
I'll make another suggestion: to verify that the installed module |
I was able to adapt the |
While the library supports "bed bolts" (slots for nuts and screws holding walls together at joints) the generators don't.
The text was updated successfully, but these errors were encountered: