Python code to produce STL geometry files from plain text, LaTeX code, and 2D numpy arrays (matrices)