InteractionGraph.from_obj

classmethod InteractionGraph.from_obj(filepath, precision=None)

Construct a graph from the data contained 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.Graph

A graph object.