Scripting Export Mesh
From TexGen
Jump to navigationJump to searchExport a mesh
In the Scripting Guide section you learnt how to create TexGen models from Python scripts. In this tutorial I will explain how to get a mesh of the textile and save it to an arbitrary file format. This is a fairly common task but unfortunately one that must often be repeated due to the fact that there is very little standardisation on the file format for meshes. Each software package uses its own mesh file format and so we must learn to read and write to these different formats. Fortunately the Python language is ideal for performing these tasks with relative ease.