Mesh.to_obj

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

Write the mesh to an OBJ file.

Parameters:
filepathstr

Full path of the file.

precision: str, optional

The precision of the geometric map that is used to connect the lines.

unweldbool, optional

If True, all faces have their own unique vertices. If False (default), vertices are shared between faces if this is also the case in the mesh.

Returns:
None

Warning

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