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