Adrian Herbez Rotating Header Image

Binary rings (via OpenSCAD)

So a while ago, I started in on a project to create a tool for generating wearable ring models with text encoded in binary based on the ASCII values of each character. I put the project aside a while back, but recently I discovered OpenSCAD, a fantastic tool for programmatically defining 3d models.

OpenSCAD totally rocks, but is a little strange in that variables aren’t, strictly speaking variable, since you can’t change their value. As a result, instead of writing openSCAD directly, I created a Python script that takes a string as a command line argument and generates the OpenSCAD code to make a ring with that phrase around it. The above image encodes ‘OpenSCAD rocks my world’.

The next steps are to make the script take a ring size and thickness, and then I’ll likely be setting up shop on Shapeways to sell these.

Leave a Reply