Handlers for reading/writing from/into OBJ format Surfaces are defined in this module.
Bases: builtins.object
This class reads geometry from a simple wavefront obj file. self.vertices, self.tex_coords, self.normals are lists of vectors represented as tuples self.faces is a list of faces. A face is a list of vertex info. Vertex info is a tuple vertex_index, tex_index, normal_index.
Bases: builtins.object
:param vertices:, :param normals: are lists of vectors or ndarrays of shape (n,3) :param faces: A face is a list of 3 vertex indices. Normal indices not supported. Texture uv’s not supported. This method does not yet validate the input, so send valid data.