alnvdl
Joined 8 years ago
Joined 8 years ago
But yes, the real designers using the CAD needed to take board thickness into account when designing the internal structure. In other words, this tool is generating a list of my requirements (what I want it to look from the outside + the labels describing what I want each part to be), and then there's the separate work of designing the actual, reality-constrained furniture.
But as another commenter highlighted: that meant a learning curve not only for me, but for my wife as well. And then there was the challenge of sharing it with everyone else via email, IM, etc. Having it open in the browser means it's easy to share, and fast and easy to load and show to people anywhere (which is handy during construction).
And it would look very weird, but I suspect it may be possible to assemble the cabinets with these odd shaped doors or drawers...
The scale is there just to make things look nice in the browser and/or in print format, and it can slightly corrupt the numbers as you noticed, especially when it's a small or odd scale (try setting it to 1 and watch it break horribly). I guess a few ways to get rid of the scale would be to introduce variable font sizes, make text not be counted for sizing the boxes, or automatically finding the "right" scale number with code. But like I said in the post:
> I guess making it more “serious” would have been possible, but in this case I just wanted to get my furniture designed fast, and keeping the code simple and small helped in that.
See: https://github.com/alnvdl/squareplanner/blob/01bdcb050ce58a4...
I also got these designs printed to follow during the construction, so I just picked scale numbers arbitrarily in a way that made them look good in the browser and fit in the paper size. So "portability" and pleasing visuals were more important than accuracy.
And of course, I could cheat like that because in my particular case any imprecisions got flagged by the real 3D CAD used by the furniture company to formalize the project :)
https://alnvdl.github.io/2023/11/18/a-cloud-based-vs-code-wo...
LinkedIn: https://www.linkedin.com/in/alnvdl
Blog: https://alnvdl.github.io/about.html
GitHub: https://github.com/alnvdl
GitHub work profile (mostly private): https://github.com/alnvdl-work
If you want to contact me, please do so through my LinkedIn profile.