OpenSCAD is one of the most powerful 3d modeling applications around. Its beauty is in its simplicity; if you need a box, you can just write the code for a box. If you need some bit of plastic to keep your 3D printer running, you can just write the code for that bit of plastic. Like all programming languages, OpenSCAD is only really powerful if you have a huge back-catalog of various components ready for reuse. That’s where [Mark]’s library for hinged boxes comes in handy. Every type of box you would ever want to create, from boxes with covers, magnet closures, or cases for your glasses is easily accessible with just a few lines of code.
The work presented here is an OpenSCAD script to generate two-piece hinged boxes, with rounded corners, a lid, interlocking rims, and optional snap fit, magnet, or screw closures. As you would expect from OpenSCAD, everything in this script is parametric. You can change any measurement or simply delete entire sections of the box.
The included examples consist of a small mini-Altoids tin-sized ‘Bee Box’ with a snap-fit lid. All of the relevant dimensions of the snap-fit lid are variables. Other examples include an eyeglass case and a box for small parts storage that interlock. If you have a few rolls of filament, a lot of time on your hands, and want to organize your workbench, you could do worse than checking out a few of these OpenSCAD boxes.
A good speaker enclosure is not just about building a box out of plywood and covering it with carpet, although playing with 1F capacitors is pretty cool. No, for a good speaker enclosure you need the right internal volume, the right size bass port, the right speaker, and it should definitely, certainly, not be a moon. [Rich] figured out he could do all of this with a 3D printer, resulting in the NOMOON: The NOMOON Orbital Music-Making Opensource, Openscad-generated Nihilator.
This work is a continuation of earlier work that designed parameterized speakers in the shape of Borg cubes. Now [Rich] is on to Borg scout ships, and this version has everything you would expect for speaker design.
The NOMOON is available on the Thingiverse Customizer with variables for the internal diameter, the volume of the enclosure in liters, wall thickness, speaker hole, bass port, and wire holes. Of course a customized design is also possible with a stock OpenSCAD installation.
[Rich] has printed a few of these not moons and even with a speaker with terrible bass response, he has a pretty good-sounding setup as far as Youtube videos go. You can check that out below.
Continue reading “Parametric Spherical Speakers Are Not A Moon”
This week, we’re starting off with OpenSCAD, a 3D modelling program that’s more like programming than drawing. A lot of useful 3D printable objects – including the parts for a lot of RepRaps – are designed in OpenSCAD, so hopefully by the end of this you’ll be able to design your own parts.
This isn’t meant to be a complete tutorial for OpenSCAD; I’m just demoing SCAD enough to build a simple part. Next week I’ll most likely be designing a part with AutoCAD, but if you have an idea of what software tools I should use as a tutorial to make a part, leave a note in the comments. Check out the 3D Printering guide to making a part with OpenSCAD below.
Continue reading “3D Printering: Making A Thing With OpenSCAD”