Mesh.to_vertices_and_faces
- Mesh.to_vertices_and_faces()[source]
Return the vertices and faces of a mesh.
- Returns
list[list[float]] – The vertices as a list of XYZ coordinates.
list[list[int]] – The faces as a list of lists of vertex indices.
Return the vertices and faces of a mesh.
list[list[float]] – The vertices as a list of XYZ coordinates.
list[list[int]] – The faces as a list of lists of vertex indices.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev