
Codeable Objects is a library for Processing that enables novice coders, designers and artists to rapidly design, customize and construct artifacts using geometric computation and digital fabrication. The programming methods provided by the library allow the user to program a variety of structures and designs with simple code and geometry. When the user compiles their code, the software outputs tool paths based on their specifications, which can be used in conjunction with digital fabrication tools to build their object.
The first case study for the Codeable Objects library was conducted with a set of methods that facilitated the creation of a laser cut lamp. To test the library, I held a workshop at the MIT Media Lab. Over the course of a day, participants used the library to design, and construct lamps of their own. All of the lamps displayed in the images were created by people in the workshop.
Download the library here
Get the source on Github: github.com/pixelmaid/Codeable_Objects
View the tutorial: Make Projects
How it Works:
To begin the process, the user writes code using a programing library that contains multiple pre-defined functions for describing the shape of the lamp.

When the code is compiled, the Processing sketch shows a 3d wireframe model of the object body (in this case a lamp). A parabola defines the lamp curve, calculated using the 3 widths set by the user. These widths define 3 intersection points of the parabola.

While defining the shape of the lamp, the user can switch to a different screen that allows them to preview the 2D paths that will be used to cut the lamp on the laser cutter. The library automatically defines which components of the parts will have to be cut first and colors them accordingly.

The user can also switch to a 3rd view where they can preview the decorative patterns they create for the lamp shade. These patterns are generated using Voronoi diagrams. Using Processing and the Codeable Objects library, the user can generate points that will be used to define the pattern. Different orderings of points will produce different diagram patterns. All patterns are automatically fitted to the shape of the shade by the library

A few simple pattern options generated by code for circle, spiral, sine wave, and polar rose point coordinates:

Once the user is satisfied with their design, they can press a key to save out their files to vectors in a pdf, which is then cut on the laser cutter.

Finally, using simple crafting techniques, the user can assemble their finished piece.

Note: This project is still under development. Please feel free to use and experiment with the library, and report any issues you encounter.

Codeable Objects was developed at the MIT Media Lab in the High Low Tech research group under the advisory of Dr. Leah Buechley
Codeable Objects by Jennifer Jacobs is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at hero-worship.com/portfolio/codeable-objects.