VolMesh.from_obj

classmethod VolMesh.from_obj(filepath, precision=None)

Construct a volmesh object from the data described in an OBJ file.

Parameters
  • filepath (path string, file-like object or URL string) – A path, a file-like object or a URL pointing to a file.

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

Returns

Volesh – A volmesh object.