Cylinder.to_vertices_and_faces

Cylinder.to_vertices_and_faces(u=10)[source]

Returns a list of vertices and faces.

Parameters

u (int, optional) ā€“ Number of faces in the ā€œuā€ direction. Default is 10.

Returns

(vertices, faces) ā€“ A list of vertex locations and a list of faces, with each face defined as a list of indices into the list of vertices.