Introduction: Using Processing to Create a Flat Pack Lamp Design
Flat pack design is pretty important these days, anything from IKEA, with the exception of meatballs, is flatpack. The use of flatpack design means 3d products can be cut from a 2d sheet of material, thus lowering the manufacturing and material costs. Processing is a program built with a similar interface to the Arduino IDE, but uses Java.
Step 1: Download Processing and the Libraries From the Internet.
you can go to the processing website, just navigate through until you find the file required. Here is the link on google drive for the libraries file. https://drive.google.com/folderview?id=0B1ovRDUYZy...
Step 2: Add the Libraries Folder to the Processing Files.
Super easy, this bit. Locate where the program was installed, and create a folder called libraries. drag and drop the codeableObjects folder into the libraries one that you just created. Setup is done now!
Step 3: Creating a Design (step 1)
First, open the application. You'll need to go into open, and then examples, and choose a template. For simplicity, I chose circle. Circle is a nice design, I quite like circle, but whatever floats your boat, in this case. When you open the example, some code will come up. You can change variables in this code to suit your personal preferences. For example, in the second picture, you can see the highlighted line contains the radius value, which can be changed. Once again, play around with these until you find something that floats your boat, or sinks your sub.
Step 4: Creating a Design (part 2)
You can now press run, and this interface should come up. It's all very simple, really. At the bottom left, you have various options and views, you will need these, but not initially. The bit we want to focus on is at the right, these are the values that you can change. You can vary these to suit your likes, and the values are all in mm. you can now switch to the pattern view, in the bottom left, and change the pattern density. Once you're happy with everything, you can move onto the next step.
Step 5: Saving
You're nearly there!!!
You can now click the save button in the bottom left, and this will close the interface. Now, as shown in the image above, you'll need to go to file, save as, and choose a suitable name and destination for your files. I did desktop, so i can find them nice and easily. They are saved in a PDF format, and will need some editing and converting to be a suitable .DXF file for a laser cutter, or however else you want to manufacture the product.