Well, here's a video of a machine that can do it:
http://www.youtube.com/watch?v=X86mo6BSQlg
And here is a description of AMF, which can include materials, colors, and units:
http://3daddfab.com/blog/index.php?/...place-STL.html
There are a few other extensions also.