I've heard tell that the MakerBot is controlled using g-code block sequences, so I've started to learn more about g-code in the hope of fabricating some designs algorithmically. I've found the following useful g-code documentation online:

Does the MakerBot firmware run a version of EMC's g-code interpreter, or did you write your own? What subset of the g-code functionality is applicable? Can you provide a pointer to the source code for the g-code interpreter that MakerBot uses?

We wrote an interpreter called ReplicatorG, located at www.replicat.org. It implements a large majority of the GCodes referenced on those pages (those were our guides when implementing them actually!) We are not using EMC's interpreter because we want Makerbots to be powered from whatever computer you have on whatever OS you're using.