Many people had attempted to 3D print icing on cakes. How about doingÂ it in a different way.
This project is a collaboration with Ines Ariza (the birthday girl). We took inspiration from traditional movable type printing and stencil spray printing used in various outdoor context. WeÂ designed a cake decoration machine that sprays edible food dye onto a cake.
Why not paste extrusion.
The goal is to put edible text on a cake. We looked atÂ the paste extrusion method many people had attempted (such as + Lab and Claystruder) but weÂ think that the resolution is rather low. We did some tests with biscuits and manually extruded icing but we didn’t like the result.
We also want to fit as much text as possible on aÂ 25cm diameter cake, so everyone who comes to the party can write a message there. Paste extrusion also require a rather stiff and flatÂ base platform for the paste to be extruded and stop sharp, which is not easy on a soft cake.
Stencil and spray paint
We testedÂ a food colouring spray can from AmeriColor. It is food colouring dissolved in alcohol held in aÂ aerosol can, propelled by compressed air. We thought a self contained spraying system would be the easiest and cheapest to implement. I have designed a 3D printed mountÂ forÂ a servo motor to trigger the spray can. An off-centered bearing rotated by the servo motor would press against a cam on top of the sprayÂ nozzle. That creates a short burst of spray.
Sadly, the burst of spray is not consistent. The inkÂ can be sometimes too lightÂ to read andÂ sometimes too wet that it drowns the stencil (creating a blob of weeping ink). I believe this is an inherent problem with spray cans (that is probably why spray can instructions always say spray from a far away distance and start the spray pointed away from the object).
We realize thatÂ we need to spray an extremely preciseÂ amount of inkÂ onto the stencil for it to look good. This encouraged us to move to a airbrush system with a electricÂ compressor. A dual-action air brush allows a separateÂ control betweenÂ air flow and ink flow, we found that the ink amountÂ is much more controllable when we keep the air constantly flowing and trigger only the ink flow. This completely eliminated uncontrollable ink splashes from the spray cans. (theÂ splashes were caused by ink collected at the nozzle after a spray, the next spray will propel a blob of ink towards the object)
Ines designed the typefaceÂ on the rotary stencil. A strip of transparency film (I think it is used for projector),Â laser cut with 32 letters and symbols,Â isÂ glued to a 3D printed wheel-shaped housing. Each letter is mono-spaced and fits within a 10.8mm xÂ 15mmÂ window. SheÂ also designed an easily-replaceable paper mask to shield the unaffected area from spraying mist. This paper mask is produced by a laser cutter and then folded into a 3D shape.
The machine is made from Makeblock robotic parts. Their modular beam system andÂ easy to attach parts allow me to quickly make machine prototypes and correct mistakes early on. This machine has 4 axis and one digital output to control the ink. The kinematicsÂ starts from a bridge-likeÂ Z axis platform, two motors with leadscrew provide high lifting force for theÂ other axis. X axis sits on the bridge and traverse the two side of the machine, it is also actuated by a leadscrew. The airbrush assembly and the stencil assembly both sits on the X stage. Â The airbrush trigger is pulled backÂ by a servo motor with some 3D printed mountings, this control the ink flow. The stencil wheel is mounted directly on a stepper motor (B axis).Â The cake sits separately on a turntable (A axis) , powered by a stepper motor and a reduction gear.
I used Arduino Due running Tinyg2 to control the 4 axis movements.Â Industrial stepper motorÂ drivers are used. Everything runs on 12V.
KallirroiÂ Retzepi designed a petty front-end for the machine: aÂ webpage where party participants seeÂ from their phones and sendÂ birthday greetings. The messages are stored on a mySQL database online, fetched by a smallÂ software running on a laptop,Â re-coded into the 32 letter positions and ultimately transformed into G-Code for controllingÂ the machine. The software manages flow control between the computer and Tinyg2 by listening to the status report from Tinyg2.
Ines prepared 3 cakes and we started the first cake with blue colour ink. Messages waiting to be printed spool inside the software. We tuned the machine speed such that it takes ~90 minutes to print a full cake. The machine continues itsÂ performanceÂ throughoutÂ the party.Â ChaewonÂ Ahn gave us the suggestion of printing with rainbowÂ colour by changing the colouring in the airbrush cup, we did that with the second cake and it looked amazing.