allow for squared corner plates?
I've got some items that would work better on squared-corner plates, instead of rounded.
In poking through the code I can just brute-force change line 599 from cylinder to cube, but that doesn't address the inset portion. Which is perhaps just as easily brute-force removed with comments from line 604 to 616! Doing the same for the inset doesn't work, as it doesn't properly translate the cube such that the inset dimensions are correct. I'm no openscad expert, so I'm out of my depth on figuring out what your code is doing.
It'd be fantastic if there were parameters for rounded vs square corners, and inset or not.
Also being able to change the base shelf extension depth would be handy.
Or, rather, my point about the extension depth has to do with the where the inset was being placed. When I changed it to a cube, it didn't offset the inset from the hooks at the same distance. No doubt because my hacks at the code don't do it properly. This also reveals that if I'm using specific measurements, they're for the INSET part of the shelf, not the shelf as a whole?
It's openscad, so now my head hurts and I gotta climb back up outta this rabbit hole. I'd welcome comments.
Thanks for sharing your ideas! I think I understand what you're aiming for, but I'd love a bit more detail to make sure we're on the right track. Here are some ideas and questions that might help us find the best solution.
Based on your comments, it sounds like you’re looking for these options:
-
Square Corners for Rectangular Plates For
skadis_plate(), we could add a parameter to adjust the corner radius, allowing you to set it to zero for square corners or a custom value for rounded corners. This would give you flexibility in choosing the corner style. -
Inset Depth for Both Plate Types If you’re aiming for a deeper inset, we could introduce a depth parameter to control the inset depth for both
skadis_plate()andskadis_round_plate(). This way, you’d have flexibility in setting how deep the inset sits. -
Alignment with Hooks If we add a depth parameter, we may need to reposition the object to ensure it aligns correctly with the hooks. I can guide you through this adjustment if needed.
Alternatively, the skadis_box() module might suit your needs, as it’s designed for deeper, box-like structures. Although it has a minimum radius by default, it can be modified for completely square corners, potentially saving you some customizations.
Let me know if any of these options sound like a good fit, and I’d be glad to help further!