VolMesh.from_obj

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

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

Parameters:
filepathpath string | file-like object | 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:
compas.datastructures.VolMesh

A volmesh object.