Network3gs.from_obj

classmethod Network3gs.from_obj(filepath, precision=None)

Construct a network from the data contained in an OBJ file.

Parameters
  • filepath (path 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.Network – A network object.