Exporting Meshes to Files
Exporting Mesh to a File
To export a mesh to a file, enter
model.component(<ctag>).mesh(<tag>).export(<filename>);
where <filename> is a string or a file location URI used to identify a file version in a Model Manager database. The file can be any of the following 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")