BaseVolMesh.from_obj

classmethod BaseVolMesh.from_obj(filepath, precision=None)[source]

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

Parameters
  • filepath (str) – The path to the file.

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

Returns

Volesh – A volmesh object.