Exporting Meshes to Files
Exporting Mesh to a File
To export a mesh to a file, enter
model.mesh(<tag>).export(<filename>);
where <filename> is a string. The file can be any of the following formats.
Table 4-10: Valid File Formats
.nas, .bdf, .nastran, .dat
1 Use model.mesh(<tag>).export().set("stlformat",<format>) to specify the STL file format ("binary" or "text")
2 Use model.mesh(<tag>).export().set("plyformat",<format>) to specify the PLY file format ("binary" or "text")