The file format is not binary so it should not be a problem to write a program that makes random shapes. Does anyone know the file specifications :cry: I can't find easy to read explainations online
What I would do is take an STL file and open it in notepad. That will give you good idea of how to program an STL generator.