BaseNetwork.from_obj

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

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

Parameters
  • filepath (str) – Path to the OBJ file.

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

Returns

Network – A network object.

Examples

>>>