This is the source code for a little LEGO printer that I made.  I am allowing it to be open-source, along with the build files.