How I do it: OpenSCAD

OpenSCAD Header

As I said in my previous post on SketchUp, I really enjoy reading about how other users setup and use their software. I usually find a plugin or setting that I never knew existed which helps me work more efficiently. I don’t know if my OpenSCAD setup has anything in it that’s out of the ordinary, but maybe something I use will help someone else out.

Continue reading “How I do it: OpenSCAD”

Card Case Customizer

I’ve been really enjoying learning OpenSCAD for the past few months. In fact I wish I hadn’t put it off as long as I did, because once you get going it’s a pretty straight forward but powerful language to learn.

Since I’ve always thought that it’s impossible to learn a language without an application I’ve decided to re-model all the 3D objects that I carry with me daily as OpenSCAD Customizer compatible models. The first of which is the business card holder that phooky designed.

I printed out this business card case back in May of 2011 and it’s been looking and working great ever since. Because it’s held up so nicely I didn’t make many changes to the base design of the box. Instead I added customizable features to it that enhance the form without harming the function. Included in this model is the ability to change the number of cards the container will hold, as well as the type of cards (business or collectable). I also added the ability to emboss custom text on the front or an image using Benjamin’s great “Stencil-o-Matic“.

Here’s a link to my Card Case Customizer on Thingiverse

Now that I’ve finished the boxes I think I’ll move on to making my Coin-Op Money Clip more Customizer friendly. I’ll also be posting my current OpenSCAD editor setup and plugins in the near future. Stay tuned.

Designing with parameters

OpenSCAD is a program that generates 3D models with code rather than traditional 3D modeling methods. I’ve heard people talk about it’s virtues since I picked up my Makerbot but it always seemed like far too much work for something that I could crank out in SketchUp in 20 minutes. The main selling point of OpenSCAD is the fact that you can create parametrically designed models. That is to say, you can change parameters in your code and a new 3D model will pop out of OpenScad, no redesigning required. While I could understand the benefits of this method of design I never found a use for it and never got around to learning it.

Recently Makerbot’s Thingiverse launched their Customizer application. This web app lets you make changes to these OpenSCAD parameters as easily as picking a value from a drop-down box. Essentially giving anyone capable of using a web form the ability to design a model to fit their needs. This is around the time I thought that I had better get around to learning to use OpenScad.

So here it is, my first model designed in OpenSCAD. I found something that would really benefit from being a parametrically designed model: Wall Plates. I’ve created a OpenSCAD model that allows you to pick from a list of 18 types of connector/outlet style which then generates a 3D model correctly oriented and modeled to be immediately 3D printed.

I took measurements available online and from manufacturers to get the openings as close to standard as possible. In theory you could hop on Thingiverse, create a model, print it, and have a totally customized wall plate in under and hour.

So what options did I include in this file? Well I’ve allowed the user to pick any width from 1 to 5 “plates” wide. These were measured off the standard electrical box sizes and should match screw holes in your existing boxes. The list of available plug and outlet styles is listed below:

1. Blank Port
2. Toggle Switch (Takes up entire plate)
3. Duplex Outlet (Takes up entire plate)
4. Rocker/Designer Plate (Takes up entire plate)
5. Keystone Jack
6. VGA Port
7. HDMI Port
8. DVI-I Port
9. Displayport
10. Cat5e/Cat6 Port
11. USB-A Port
12. USB-B Port
13. Firewire IEEE 1394 Port
14. DB-09 Port
15. PS2 Port
16. F-Type/Coaxial Port
17. S-Video Port
18. Stereo Headphone Jack

With the exception of #2-4 all of the plug types are modular and be placed on the top, bottom, or centered on a generated wall plate. All of the ports (excluding the outlets and keystone jacks) are designed to accommodate DataPro.net’s panel-mount cables. While I hold no particular alliance to the site they did provide very useful diagrams for their cables. Additionally I based the keystone jack off of “Mounting plate for keystone jack” designed by Joe Sadusk. I imagine tweaks may need to be made to make all of these connectors fit perfectly but I think my original set of designs should be pretty close to the real thing.

I asked a Mathlete friend of mine if he could calculate the possible number of plug and plate combinations and well, the number is big, real big. He estimates that you can generate a total of 850,789,801,599 possible permutations. Making this possibly one the most customizable object currently on Thingiverse. If you’d like to check his math here’s some nerdy details.

Customized wall plates are nothing new, but ordering them online takes time and can be costly depending on your required configuration.

 

You can checkout my plate generator on Makerbot’s Thingiverse here. Just click “Open in Customizer” to start making your own customized wall plate!