Mesh.to_obj

Mesh.to_obj(filepath, precision=None, unweld=False, **kwargs)[source]

Write the mesh to an OBJ file.

Parameters
  • filepath (str) – Full path of the file.

  • precision (str, optional) – The precision of the geometric map that is used to connect the lines.

  • unweld (bool, optional) – If true, all faces have their own unique vertices. If false, vertices are shared between faces if this is also the case in the mesh. Default is False.

Warning

This function only writes geometric data about the vertices and the faces to the file.